Visual Setup for Stendhal in Eclipse: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Tigertoes No edit summary |
imported>Tigertoes No edit summary |
||
| Line 1: | Line 1: | ||
<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> |
|||
<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 |
||
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.</FONT></P> |
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.</FONT></P> |
||
<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>http://img87.imageshack.us/img87/29/vissetup01fr3.png</P> |
||
< |
<P align=center>http://img87.imageshack.us/img87/5299/vissetup02cd7.png</P> |
||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/3144/vissetup03qn0.png</P> |
||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/6818/vissetup04ew8.png</P> |
||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/4233/vissetup05ac9.png</P> |
||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/9099/vissetup06pa6.png</P> |
||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/120/vissetup07yg3.png</P> |
||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/2362/vissetup08pg0.png</P> |
||
<P align=center> |
<P align=center>http://img153.imageshack.us/img153/2316/vissetup08acp9.png</P> |
||
<P align=center> |
|||
| ⚫ | |||
<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> |
<P align=center>http://img87.imageshack.us/img87/1979/vissetup09bd5.png</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> |
<P align=center>http://img87.imageshack.us/img87/8536/vissetup10mm4.png</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> |
||
<P align=center>< |
<P align=center>http://img87.imageshack.us/img87/1783/vissetup11tj0.png</P> |
||
| ⚫ | |||
<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> |
<P align=center>http://img87.imageshack.us/img87/5358/vissetup12jd2.png</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> |
<P align=center>http://img87.imageshack.us/img87/5068/vissetup13xi3.png</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> |
<P align=center>http://img87.imageshack.us/img87/7098/vissetup14aq5.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 |
||
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> |
<P align=center>http://img87.imageshack.us/img87/8162/vissetup15io9.png</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 49: | Line 42: | ||
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> |
<P align=center>http://img87.imageshack.us/img87/654/vissetup16aj7.png</P> |
||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/5623/vissetup17fh6.png</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> |
<P align=center>http://img87.imageshack.us/img87/9346/vissetup18pj2.png</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> |
<P align=center>http://img87.imageshack.us/img87/3479/vissetup19aj6.png</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 |
||
there are errors, the following might display. If you know they do not affect |
there are errors, the following might display. If you know they do not affect |
||
| Line 63: | Line 55: | ||
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> |
<P align=center>http://img87.imageshack.us/img87/8951/vissetup20yu6.png</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> |
<P align=center>http://img87.imageshack.us/img87/8042/vissetup21ql4.png</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> |
<P align=center>http://img87.imageshack.us/img87/2260/vissetup22vc9.png</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> |
<P align=center>http://img87.imageshack.us/img87/8991/vissetup23bv0.png</P> |
||
| ⚫ | |||
</P> |
|||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/5185/vissetup25cc7.png</P> |
||
| ⚫ | |||
</P> |
|||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/4593/vissetup27ix0.png</P> |
||
| ⚫ | |||
</P> |
|||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/3632/vissetup29wc8.png</P> |
||
<P align=center> |
<P align=center>http://img87.imageshack.us/img87/7530/vissetup30ok1.png</P> |
||
| ⚫ | |||
<P align=center> </P> |
|||
<P align=center><IMG src="http://img87.imageshack.us/img87/3632/vissetup29wc8.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> |
||