Visual Setup for Stendhal in Eclipse: Difference between revisions
imported>Filinep Added TODO to check map editor instructions since tiled.jar was removed |
imported>Filinep Added TODO to check map editor instructions since tiled.jar was removed |
(No difference)
| |
Revision as of 11:33, 11 November 2011
TODO: Check if the map editor instructions at the bottom are still valid
Creating the Project from CVS
First of all, from the view Package Explorer in Eclipse...
Note: To use an developer account with write access, you need to select extssh instead of pserver and enter your Sourceforge username.
At this point, you will be downloading files from CVS.
Configuring the project
Once code has been downloaded, you must create your classpath. Right click on project directory and select Properties.
This step sets up the proper text encoding.
Then click on Java Build Path. Remove any directories that show up in the Source tab.
Then click Add Folder.
Select src and tests directories and click OK.
Next click Add JARs button.
Click open the directories and select all the files within the libs directory and click
OK.
At this point, you have finished setting up your classpath, so click OK.
Starting the server
Search for StendhalServer.
Then click Run =>
Run.
At this point you have to enter the appropriate data to attach to your running database. Your responses are shown below in green.
Note: In most cases you just want to hit enter twice.
To start the client, search for games.stendhal.client.update.Starter.
Map Editor
Now we will set up map editor to run from within Eclipse. Click the black arrow beside green bug and follow through.
At this point, map editor (tiled) should start.


























