NetBeans6Stendhal

From Arianne
Revision as of 03:32, 10 December 2007 by imported>Timothyb89 (Initial creation)
Jump to navigation Jump to search

Why another tutorial?

I know- there's already a tutorial for NetBeans, but it was written for older versions of NetBeans (namely, version 5.5). NetBeans 6 is considerably different and allows much easier configuration. Also, I'm trying to convert some over the other devels using Eclipse :)

Dependencies

To get started, you'll need NetBeans 6.0. There are a lot of milestones, betas, and release candidates out there for 6.0 (which stopped me from staying with Eclipse :) ), but since 6.0 final is out, I can't be sure they will work. Also, I'll be using the Full download (as in, the 169 MB download). If you did not get this, you may have to install the CVS plugin. See the IDE help for info on doing so.

All other libraries either come with NetBeans or with Stendhal, so you shouldn't have to worry about them.

Step 1: Getting the sources

If you want the "stable" code, head over 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).


For those of you who have a need/want for the latest and greatest, CVS is the way to go. The IDE has built in CVS support, and should also include it in the distribution if you don't have it (not the case with Subversion).

First off, head over to the "Versioning" menu, go on to "CVS", and finally "Checkout...". You should find yourself staring at the checkout screen.

See below for filling in the details.

For developers:
CVS Root: :ext:developername@arianne.cvs.sourceforge.net:/cvsroot/arianne
Password: Your SourceForge.net password.
Everyone else:
CVS Root: :pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne Password: Empty.

Click Next.

http://timothyb89.homelinux.org/wikipix/stend-nb6/cvs-co1.png


Now we need to choose the module to check out.
Simply fill in the following:
Module: stendhal
Branch: leave empty
Local folder: Enter a path to a directory on your system in which to place the stendhal sources. For example, /home/me/Stendhal/source

http://timothyb89.homelinux.org/wikipix/stend-nb6/cvs-co2.png

Click Finish to begin checking out the code/data. The progress will be displayed in the Output pane on the bottom of the main NetBeansWindow. http://timothyb89.homelinux.org/wikipix/stend-nb6/cvs-co3.png