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>Hendrik Brummermann
Redirected page to Stendhal on Eclipse
 
(126 intermediate revisions by 4 users not shown)
Line 1: Line 1:
#REDIRECT[[Stendhal on Eclipse]]
<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>
<IMG src="http://img87.imageshack.us/img87/29/vissetup01fr3.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/5299/vissetup02cd7.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/3144/vissetup03qn0.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/6818/vissetup04ew8.png" border="0"></P>
<P align=center><IMG src="http://img87.imageshack.us/img87/4233/vissetup05ac9.png" border="0"></P>
<P align=center><IMG 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
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><IMG
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
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:</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 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
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.</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>
<P align=center><IMG src="http://img87.imageshack.us/img87/1216/vissetup24mv2.png" border="0">
</P>
<P align=center><IMG src="http://img87.imageshack.us/img87/5185/vissetup25cc7.png" border="0">
</P>
<P align=center><IMG src="http://img87.imageshack.us/img87/9721/vissetup26nx8.png" border="0"></P>
<P align=center><IMG 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>&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>