Visual Setup for Stendhal in Eclipse: Difference between revisions
imported>Tigertoes No edit summary |
imported>Tigertoes No edit summary |
||
| Line 1: | Line 1: | ||
| ⚫ | |||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> |
|||
| ⚫ | |||
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> |
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> |
||
</HEAD> |
|||
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD> |
|||
<BODY bgColor=#ccccff> |
<BODY bgColor=#ccccff> |
||
<P align=center><FONT face="Arial, Helvetica, sans-serif">This setup is done on |
<P align=center><FONT face="Arial, Helvetica, sans-serif">This setup is done on |
||
| Line 8: | Line 7: | ||
<P align=center><FONT face="Arial, Helvetica, sans-serif">First of all, from the |
<P align=center><FONT face="Arial, Helvetica, sans-serif">First of all, from the |
||
view Package Explorer in Eclipse...</FONT></P> |
view Package Explorer in Eclipse...</FONT></P> |
||
<P align=center> |
<P align=center> |
||
src="http://img87.imageshack.us/img87/29/vissetup01fr3 |
<IMG src="http://img87.imageshack.us/img87/29/vissetup01fr3.png" border="0"></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/5299/vissetup02cd7.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/ |
<P align=center><IMG src="http://img87.imageshack.us/img87/3144/vissetup03qn0.png" border="0"></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/6818/vissetup04ew8.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/ |
<P align=center><IMG src="http://img87.imageshack.us/img87/4233/vissetup05ac9.png" border="0"></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/9099/vissetup06pa6.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/ |
<P align=center><IMG src="http://img87.imageshack.us/img87/120/vissetup07yg3.png" border="0"></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/2362/vissetup08pg0.png" border="0"></P> |
||
| ⚫ | |||
src="http:// |
<img src="http://img153.imageshack.us/img153/2316/vissetup08acp9.png"></P> |
||
<P align=center> </P> |
|||
| ⚫ | |||
src="http://img87.imageshack.us/img87/9099/vissetup06pa6.png" border="0"></P> |
|||
<P align=center><IMG |
|||
src="http://img87.imageshack.us/img87/120/vissetup07yg3.png" border="0"></P> |
|||
<P align=center><IMG |
|||
src="http://img87.imageshack.us/img87/2362/vissetup08pg0.png" border="0"></P> |
|||
<P align=center><img src="http://img153.imageshack.us/img153/2316/vissetup08acp9.png"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">At this point, you |
<P align=center><FONT face="Arial, Helvetica, sans-serif">At this point, you |
||
will be downloading files from CVS. Once code has been downloaded, you must |
will be downloading files from CVS. Once code has been downloaded, you must |
||
create your classpath. Right click on project directory and select |
create your classpath. Right click on project directory and select |
||
Properties.</FONT></P> |
Properties.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/1979/vissetup09bd5.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/1979/vissetup09bd5.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">Remove any directories |
<P align=center><FONT face="Arial, Helvetica, sans-serif">Remove any directories |
||
that show up in the Source tab.</FONT></P> |
that show up in the Source tab.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/8536/vissetup10mm4.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/8536/vissetup10mm4.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">Then click Add |
<P align=center><FONT face="Arial, Helvetica, sans-serif">Then click Add |
||
Folder.</FONT></P> |
Folder.</FONT></P> |
||
| Line 42: | Line 32: | ||
<P align=center><FONT face="Arial, Helvetica, sans-serif">Select src and tests |
<P align=center><FONT face="Arial, Helvetica, sans-serif">Select src and tests |
||
directories and click OK.</FONT></P> |
directories and click OK.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/5358/vissetup12jd2.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/5358/vissetup12jd2.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">Next click Add JARs |
<P align=center><FONT face="Arial, Helvetica, sans-serif">Next click Add JARs |
||
button.</FONT></P> |
button.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/5068/vissetup13xi3.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/5068/vissetup13xi3.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">Click open the |
<P align=center><FONT face="Arial, Helvetica, sans-serif">Click open the |
||
directories and select all the files within the libs directory and click |
directories and select all the files within the libs directory and click |
||
OK.</FONT></P> |
OK.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/7098/vissetup14aq5.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/7098/vissetup14aq5.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">At this point, you |
<P align=center><FONT face="Arial, Helvetica, sans-serif">At this point, you |
||
have finished setting up your classpath, so click OK.</FONT></P> |
have finished setting up your classpath, so click OK.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/8162/vissetup15io9.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/8162/vissetup15io9.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">This tutorial does NOT |
<P align=center><FONT face="Arial, Helvetica, sans-serif">This tutorial does NOT |
||
cover installation of MySQL database. It is assumed that if you are going to |
cover installation of MySQL database. It is assumed that if you are going to |
||
| Line 63: | Line 49: | ||
will need to create the server.ini file. These are the steps needed for |
will need to create the server.ini file. These are the steps needed for |
||
that:</FONT></P> |
that:</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/654/vissetup16aj7.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/ |
<P align=center><IMG src="http://img87.imageshack.us/img87/5623/vissetup17fh6.png" border="0"></P> |
||
<P align=center><IMG |
|||
src="http://img87.imageshack.us/img87/5623/vissetup17fh6.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">Once you have located |
<P align=center><FONT face="Arial, Helvetica, sans-serif">Once you have located |
||
GenerateINI.java, double click it to open in code window.</FONT></P> |
GenerateINI.java, double click it to open in code window.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/9346/vissetup18pj2.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/9346/vissetup18pj2.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">Then click Run => |
<P align=center><FONT face="Arial, Helvetica, sans-serif">Then click Run => |
||
Run.</FONT></P> |
Run.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/3479/vissetup19aj6.png" border="0"> |
||
src="http://img87.imageshack.us/img87/3479/vissetup19aj6.png" border="0"> |
|||
</P> |
</P> |
||
<P align=center><FONT face="Arial, Helvetica, sans-serif">Depending on whether |
<P align=center><FONT face="Arial, Helvetica, sans-serif">Depending on whether |
||
| Line 81: | Line 63: | ||
the errors do affect you, then you will have to fix them. This tutorial will NOT |
the errors do affect you, then you will have to fix them. This tutorial will NOT |
||
try to cover that.</FONT></P> |
try to cover that.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/8951/vissetup20yu6.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/8951/vissetup20yu6.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">At this point you have |
<P align=center><FONT face="Arial, Helvetica, sans-serif">At this point you have |
||
to enter the appropriate data to attach to your running database. Your responses |
to enter the appropriate data to attach to your running database. Your responses |
||
are shown below in green.</FONT></P> |
are shown below in green.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/8042/vissetup21ql4.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/8042/vissetup21ql4.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">Once you hit enter on |
<P align=center><FONT face="Arial, Helvetica, sans-serif">Once you hit enter on |
||
the password, it will ask you to specify RSA key. Take default (press enter). |
the password, it will ask you to specify RSA key. Take default (press enter). |
||
Give it a couple minutes, and your server.ini is done.</FONT></P> |
Give it a couple minutes, and your server.ini is done.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/2260/vissetup22vc9.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/2260/vissetup22vc9.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">Now we will set up map |
<P align=center><FONT face="Arial, Helvetica, sans-serif">Now we will set up map |
||
editor to run from within Eclipse. Click the black arrow beside green bug and |
editor to run from within Eclipse. Click the black arrow beside green bug and |
||
follow through.</FONT></P> |
follow through.</FONT></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/8991/vissetup23bv0.png" border="0"> |
||
src="http://img87.imageshack.us/img87/8991/vissetup23bv0.png" border="0"> |
|||
</P> |
</P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/1216/vissetup24mv2.png" border="0"> |
||
src="http://img87.imageshack.us/img87/1216/vissetup24mv2.png" border="0"> |
|||
</P> |
</P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/5185/vissetup25cc7.png" border="0"> |
||
src="http://img87.imageshack.us/img87/5185/vissetup25cc7.png" border="0"> |
|||
</P> |
</P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/9721/vissetup26nx8.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/ |
<P align=center><IMG src="http://img87.imageshack.us/img87/4593/vissetup27ix0.png" border="0"></P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/3089/vissetup28cj5.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/4593/vissetup27ix0.png" border="0"></P> |
|||
<P align=center><IMG |
|||
src="http://img87.imageshack.us/img87/3089/vissetup28cj5.png" border="0"></P> |
|||
<P align=center> </P> |
<P align=center> </P> |
||
<P align=center><IMG |
<P align=center><IMG src="http://img87.imageshack.us/img87/3632/vissetup29wc8.png" border="0"></P> |
||
src="http://img87.imageshack.us/img87/ |
<P align=center><IMG src="http://img87.imageshack.us/img87/7530/vissetup30ok1.png" border="0"></P> |
||
<P align=center><IMG |
|||
src="http://img87.imageshack.us/img87/7530/vissetup30ok1.png" border="0"></P> |
|||
<P align=center><FONT face="Arial, Helvetica, sans-serif">At this point, map |
<P align=center><FONT face="Arial, Helvetica, sans-serif">At this point, map |
||
editor (tiled) should start.</FONT></P></BODY></HTML> |
editor (tiled) should start.</FONT></P></BODY></HTML> |
||
Revision as of 14:46, 8 April 2008
<HTML><HEAD><TITLE>Visual Setup for Stendhal in Eclipse IDE - Map Editor (tiled) and server.ini Setup Included</TITLE> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> </HEAD> <BODY bgColor=#ccccff>
This setup is done on Windows XP Professional - no guarantees for any other system. Also, it is assumed this will be the first attempt at setting up Stendhal in your Eclipse environment.
First of all, from the view Package Explorer in Eclipse...
<IMG src="http://img87.imageshack.us/img87/29/vissetup01fr3.png" border="0">
<IMG src="http://img87.imageshack.us/img87/5299/vissetup02cd7.png" border="0">
<IMG src="http://img87.imageshack.us/img87/3144/vissetup03qn0.png" border="0">
<IMG src="http://img87.imageshack.us/img87/6818/vissetup04ew8.png" border="0">
<IMG src="http://img87.imageshack.us/img87/4233/vissetup05ac9.png" border="0">
<IMG src="http://img87.imageshack.us/img87/9099/vissetup06pa6.png" border="0">
<IMG src="http://img87.imageshack.us/img87/120/vissetup07yg3.png" border="0">
<IMG src="http://img87.imageshack.us/img87/2362/vissetup08pg0.png" border="0">
<img src="http://img153.imageshack.us/img153/2316/vissetup08acp9.png">
At this point, you will be downloading files from CVS. Once code has been downloaded, you must create your classpath. Right click on project directory and select Properties.
<IMG src="http://img87.imageshack.us/img87/1979/vissetup09bd5.png" border="0">
Remove any directories that show up in the Source tab.
<IMG src="http://img87.imageshack.us/img87/8536/vissetup10mm4.png" border="0">
Then click Add Folder.
<IMG src="http://img87.imageshack.us/img87/1783/vissetup11tj0.png" border="0">
Select src and tests directories and click OK.
<IMG src="http://img87.imageshack.us/img87/5358/vissetup12jd2.png" border="0">
Next click Add JARs button.
<IMG src="http://img87.imageshack.us/img87/5068/vissetup13xi3.png" border="0">
Click open the directories and select all the files within the libs directory and click OK.
<IMG src="http://img87.imageshack.us/img87/7098/vissetup14aq5.png" border="0">
At this point, you have finished setting up your classpath, so click OK.
<IMG src="http://img87.imageshack.us/img87/8162/vissetup15io9.png" border="0">
This tutorial does NOT cover installation of MySQL database. It is assumed that if you are going to install server from within Eclipse, you will install MySQL and set up the required database. If you are going to run the server from within Eclipse, you will need to create the server.ini file. These are the steps needed for that:
<IMG src="http://img87.imageshack.us/img87/654/vissetup16aj7.png" border="0">
<IMG src="http://img87.imageshack.us/img87/5623/vissetup17fh6.png" border="0">
Once you have located GenerateINI.java, double click it to open in code window.
<IMG src="http://img87.imageshack.us/img87/9346/vissetup18pj2.png" border="0">
Then click Run => Run.
<IMG src="http://img87.imageshack.us/img87/3479/vissetup19aj6.png" border="0">
Depending on whether there are errors, the following might display. If you know they do not affect what you are running, ie: if errors are in tests directory, click Proceed. If the errors do affect you, then you will have to fix them. This tutorial will NOT try to cover that.
<IMG src="http://img87.imageshack.us/img87/8951/vissetup20yu6.png" border="0">
At this point you have to enter the appropriate data to attach to your running database. Your responses are shown below in green.
<IMG src="http://img87.imageshack.us/img87/8042/vissetup21ql4.png" border="0">
Once you hit enter on the password, it will ask you to specify RSA key. Take default (press enter). Give it a couple minutes, and your server.ini is done.
<IMG src="http://img87.imageshack.us/img87/2260/vissetup22vc9.png" border="0">
Now we will set up map editor to run from within Eclipse. Click the black arrow beside green bug and follow through.
<IMG src="http://img87.imageshack.us/img87/8991/vissetup23bv0.png" border="0">
<IMG src="http://img87.imageshack.us/img87/1216/vissetup24mv2.png" border="0">
<IMG src="http://img87.imageshack.us/img87/5185/vissetup25cc7.png" border="0">
<IMG src="http://img87.imageshack.us/img87/9721/vissetup26nx8.png" border="0">
<IMG src="http://img87.imageshack.us/img87/4593/vissetup27ix0.png" border="0">
<IMG src="http://img87.imageshack.us/img87/3089/vissetup28cj5.png" border="0">
<IMG src="http://img87.imageshack.us/img87/3632/vissetup29wc8.png" border="0">
<IMG src="http://img87.imageshack.us/img87/7530/vissetup30ok1.png" border="0">
At this point, map editor (tiled) should start.
</BODY></HTML>