Stendhal on Eclipse: Difference between revisions

Content deleted Content added
imported>MartinFuchs
imported>MartinFuchs
Line 44:
(This entry has higher priority than the tiled.jar in the libs folder but this code is highly outdated)
==To make it run the server in Debug mode==
* In the toolbar there is athe green"Debug" iconbutton, which looks like a little, green bug. There is a little black arrow on the right side of it.
* This will open a menu, please choose "Open Debug Dialog..."
: there is a little black arrow on the right side of it.
* Then in the dialog select "Java Application" and click on the "new" icon in the top left corner.
* This will open a menu, please choose "Debug..."
 
* Then in the dialog select "Java Application" and click on the "new" icon in the top left corner.
<pre> Name: StendhalServer
Main class: marauroa.server.marauroad
[x ] include libariessystem libries when searching for the main class (default)
[ ] include inherited mains when searching for the main class (default)
[ ] Stop in main (default)
 
on the [Arguments] tab:
Program arguments: -c marauroaserver.ini -l (optional)
VM arguments: -Xmx128M
on the [Classpath] tab:
 
button "Advanced"
on the [Classpath] tab:
button "Advanced"
(*) add folder | OK
and select the root folder </pre>| OK
 
button "Add JARs..."
select /Stendhal/libs/commons-lang.jar | OK
</pre>
 
* button [Debug]
And then the server should be started.