NetBeans6Stendhal: Difference between revisions

Content deleted Content added
imported>Timothyb89
No edit summary
imported>Timothyb89
No edit summary
Line 72:
This could be the easiest step :)<br/>
First off, in the '''"Projects" ''' pane, expand the new Stendhal project, right click on '''Libraries ''', and choose '''Add JAR/Folder...'''.<br/>
Now, navigate to '''/path/to/Stendhal/'''source/stendhal/libs/ and, holding the '''Control''' or '''Shift''' key, '''select each jar''' and '''click OKOpen'''.
 
http://timothyb89.homelinux.org/wikipix/stend-nb6/addlibs.png
</p>
 
== Configure Project ==
<p>
The last step is to set up the project to run the code. I will go over setting up the IDE to run the client, but not the server. Though I'm not going over this, it is possible.
 
The first thing to do is right click on the new project in the '''Project''' pane, found on left of the main IDE window. From there, choose, choose '''Properties'''.<br/>
 
You should now see the project properties window. First, choose '''Libraries''' from the left, and then the '''Run''' tab in the main pane. From here, choose '''Add JAR/Folder''' and add your stendhal folder. For example, add '''/path/to/Stendhal/'''source/stendhal . <br/>
 
http://timothyb89.homelinux.org/wikipix/stend-nb6/conf1.png
</p>
----
<p>
Now choose '''Run''' in the left menu again. Choose '''New''', enter '''Client''' for the name, and fill in the following: (Any information not provided should be left empty)<br/>
* '''Main Class:''' games.stendhal.client.stendhal<br/>
* '''VM Options:''' -Xmx256m<br/>
 
Now you can simply click '''OK''' to finish.<br/>
 
http://timothyb89.homelinux.org/wikipix/stend-nb6/conf2.png
 
</p>
 
== Finish Setup ==
You should be done, so hit the run button on the main toolbar to start the client.
 
http://timothyb89.homelinux.org/wikipix/stend-nb6/runbtn.png
 
[[Category:Stendhal]]