Visual Setup for Stendhal in Eclipse: Difference between revisions

Content deleted Content added
imported>Tigertoes
No edit summary
imported>Tigertoes
No edit summary
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
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
view Package Explorer in Eclipse...</FONT></P>
<P align=center>http://img87.imageshack.us/img87/29/vissetup01fr3.png</P>
<IMGP srcalign="center>http://img87.imageshack.us/img87/295299/vissetup01fr3vissetup02cd7.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/52993144/vissetup02cd7vissetup03qn0.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/31446818/vissetup03qn0vissetup04ew8.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/68184233/vissetup04ew8vissetup05ac9.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/42339099/vissetup05ac9vissetup06pa6.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/9099120/vissetup06pa6vissetup07yg3.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/1202362/vissetup07yg3vissetup08pg0.png" border="0"></P>
<P align=center><IMG src="http://img87img153.imageshack.us/img87img153/23622316/vissetup08pg0vissetup08acp9.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
will be downloading files from CVS. Once code has been downloaded, you must
create your classpath. Right click on project directory and select
Properties.</FONT></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/1979/vissetup09bd5.png" border="0"></P>
<P align=center><FONT face="Arial, Helvetica, sans-serif">Remove any directories
that show up in the Source tab.</FONT></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/8536/vissetup10mm4.png" border="0"></P>
<P align=center><FONT face="Arial, Helvetica, sans-serif">Then click Add
Folder.</FONT></P>
<P align=center>http://img87.imageshack.us/img87/1783/vissetup11tj0.png<IMG /P>
src="http://img87.imageshack.us/img87/1783/vissetup11tj0.png" border="0"></P>
<P align=center><FONT face="Arial, Helvetica, sans-serif">Select src and tests
directories and click OK.</FONT></P>
<P align=center><IMG 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
button.</FONT></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/5068/vissetup13xi3.png" border="0"></P>
<P align=center><FONT face="Arial, Helvetica, sans-serif">Click open the
directories and select all the files within the libs directory and click
OK.</FONT></P>
<P align=center><IMG 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
have finished setting up your classpath, so click OK.</FONT></P>
<P align=center><IMG 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
cover installation of MySQL database. It is assumed that if you are going to
Line 49 ⟶ 42:
will need to create the server.ini file. These are the steps needed for
that:</FONT></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/654/vissetup16aj7.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
GenerateINI.java, double click it to open in code window.</FONT></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/9346/vissetup18pj2.png" border="0"></P>
<P align=center><FONT face="Arial, Helvetica, sans-serif">Then click Run =&gt;
Run.</FONT></P>
<P align=center><IMG 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
there are errors, the following might display. If you know they do not affect
Line 63 ⟶ 55:
the errors do affect you, then you will have to fix them. This tutorial will NOT
try to cover that.</FONT></P>
<P align=center><IMG 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
to enter the appropriate data to attach to your running database. Your responses
are shown below in green.</FONT></P>
<P align=center><IMG 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
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>
<P align=center><IMG 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
editor to run from within Eclipse. Click the black arrow beside green bug and
follow through.</FONT></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/8991/vissetup23bv0.png" border="0"</P>
<imgP srcalign="center>http://img153img87.imageshack.us/img153img87/23161216/vissetup08acp9vissetup24mv2.png"></P>
</P>
<P align=center><IMG src="http://img87.imageshack.us/img87/12165185/vissetup24mv2vissetup25cc7.png" border="0"</P>
src<P align="center>http://img87.imageshack.us/img87/17839721/vissetup11tj0vissetup26nx8.png" border="0"></P>
</P>
<P align=center><IMG src="http://img87.imageshack.us/img87/51854593/vissetup25cc7vissetup27ix0.png" border="0"</P>
<P align=center><IMG src="http://img87.imageshack.us/img87/3089/vissetup28cj5.png" border="0"></P>
</P>
<P align=center><IMG src="http://img87.imageshack.us/img87/97213632/vissetup26nx8vissetup29wc8.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/45937530/vissetup27ix0vissetup30ok1.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/3089/vissetup28cj5.png" border="0"></P>
<P align=center>&nbsp;</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
editor (tiled) should start.</FONT></P></BODY></HTML>