NetBeans6Stendhal: Difference between revisions

Content deleted Content added
imported>Timothyb89
Initial creation
imported>Timothyb89
No edit summary
Line 9:
 
== Step 1: Getting the sources ==
If you want the "stable" code, head over [http://sourceforge.net/projects/arianne SourceForge] and download the latest Stendhal source distribution. Download this and extract it somewhere, ex. $HOME/Stendhal/source. (it must be in a subdirectory if you are OCD like me and like keeping random things organized). However, I recommend you get CVS as that is what I'm writing the tutorial from.
 
----
Line 24:
<br/>
'''Everyone else:'''<br/>
CVS Root: :pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne<br/>
Password: Empty.<br/>
 
Click Next.
Line 37:
'''Module:''' stendhal<br/>
'''Branch:''' leave empty<br/>
'''Local folder:''' Enter a path to a directory on your system in which to place the stendhalStendhal sources. For example, /home/me/Stendhal/source.
</p>
http://timothyb89.homelinux.org/wikipix/stend-nb6/cvs-co2.png
 
<p>
Click '''Finish''' to begin checking out the code/data. The progress will be displayed in the Output pane on the bottom of the main NetBeansWindowNetBeans indow.
http://timothyb89.homelinux.org/wikipix/stend-nb6/cvs-co3.png w</p>
 
== Creating a project ==
<p>
To create a new project, simply go to '''File'''>'''New Project'''. From there, choose a '''Java''', and move on to '''Java Project with Existing Sources''', and click '''Next'''.
</p>
 
<p>
You should now see the "Name and Location" panel. Fill in the following details:<br/>
'''Project Name:''' Can be anything; I'm using Stendhal.<br/>
'''Project Folder:''' Should be in the directory above your sources directory. If you used $HOME/Stendhal/sources, it should be something like $HOME/Stendhal/NetBeans<br/>
 
http://timothyb89.homelinux.org/wikipix/stend-nb6/mkprj1.png
</p>
 
<p>
At this point, you should see panels for source and test folder entry.<br/>
In the Source Package Folders section, add '''/path/to/Stendhal/'''source/stendhal/src (replace the bold text with the location of your Stendhal directory).<br/>
In the Test Package Folders section, add '''/path/to/Stendhal/'''source/stendhal/tests (again, replace bold).<br/>
 
To complete the setup, click '''Finish.'''
 
http://timothyb89.homelinux.org/wikipix/stend-nb6/mkprj2.png
</p>
 
[[Category:Stendhal]]