StendhalNetBeans: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Timothyb89
No edit summary
imported>Timothyb89
No edit summary
Line 38: Line 38:
You way want to skip this step if you are using Windows as it usually doesn't have CVS installed.
You way want to skip this step if you are using Windows as it usually doesn't have CVS installed.


'''<u><font size=4>Step 1: Open a terminal</font></u>'''<br>
<u><font size=4>Step 1: Open a terminal</font></u><br>
There's so many ways to do this, so I'll try to use a generic way.
There's so many ways to do this, so I'll try to use a generic way.


Line 47: Line 47:
Press the key combination WinKey and R. In the dialog that opens, type cmd and hit the enter key.
Press the key combination WinKey and R. In the dialog that opens, type cmd and hit the enter key.


'''<u><font size=4>Step 2</font></u>'''<br>
<u><font size=4>Step 2: Checkout Stendhal from CVS</font></u><br>
'''Developers'''<br>
You know how to do this. Make a new directory, set CVS_RSH to ssh, and checkout using ext instead of pserver.

'''Everyone else:'''<br>
Run these commands:
mkdir stendhal_temp
cd stendhal_temp
cvs -d:pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne login (password is empty; press return)
cvs -z3 -d:pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne co -P stendhal

----

== Step 3: Copy Stendhal Files into NetBeans Project ==
Y file and folder into your NetBeans project folder (probably ~/Stendhal or My Documents/Stendhal).
First off: Open the stendhal folder found in the stendhal_temp folder we made earlier (if you didn't get CVS,
use the directory you extracted your files to).<br>
From there, copy EVERY file and folder into your NetBeans project folder (probably ~/Stendhal or My Documents/Stendhal).<br>
'''You should replace the entire src folder and build.xml'''
----

== Step 4: Finish configuring NetBeans ==

<u><font size=4>Add Libraries</font></u><br>
NetBeans will complain if we don't do this, so its best we get it done.<p>

From the 'Project' pane, right click on the 'Libraries' entry and choose 'Add Jar'. <br>
In the browse dialog, browse to the libs folder found in the project folder. Choose a jar and click OK.<br>
Repeat for all of the other jars.<p>

Now NetBeans should be ready to work with Stendhal. The ant buildfile has been modified to work with NetBeans so you can:<br>
*Run the client (with the normal run- not the server as that would require too much configuration)<br>
*Build the client and server (with the normal NetBeans build)