Stendhal on Eclipse: Difference between revisions
Content deleted Content added
imported>Kymara numbers |
imported>Kymara numbers- cheated and used html |
||
Line 1:
==First Steps==
<ol>
<pre>
file-> new -> project -> project-> from cvs
Line 30 ⟶ 31:
click finish
</pre>
▲# Make sure that the marauroa.ini (server.ini, for Stendhal version 0.63 or above) is in your stendhal project folder - '''only needed if you will be running the server'''.
▲# Right click on your project folder and select "Properties" in the context menu.
▲# Then select "Java Build Path" on the left side of the dialog box.
▲# Now remove all existing folders from source path and add the two source folders 'src' and 'tests' by clicking on the "Add Folder..." button
<pre>
source folder #1:
Line 50:
default output folder: stendhal/bin
</pre>
</ol>
▲# On the "Libraries" tab: click on the "Add JARs" button and select all the files in stendhal/lib
Eclipse should be able to compile the source code now. There should be a little yellow sign (signalling warning messages) before your project folder but not red X (error messages). The package explorer should now display the "src" folder below the root folder with a different icon, the icon is like a small grid.
| |||