wiki:Eclipse
Last modified 3 weeks ago Last modified on Apr 27, 2012 12:08:48 AM

How to get L2J Server with Eclipse

Necessary software to download and install

Note for Subversion: If you are using Windows download:


Set JAVA_HOME

http://wso2.org/project/wsas/java/2.0/docs/setting-java-home.html


Install Subclipse in Eclipse

Install instructions can be found here: http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA

We recomend to enable this option.
Window -> Preferences-> Team -> SVN -> Console


When Subclipse has been installed, press on:
Window -> Show View -> Other and select SVN Repository.



Anywhere in the white space of the SVN Repository window, Right click
Choose New -> Repository Location



Put this in the Url field
http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA
Then press Finish



Right click in the GameServer Repository
and select Checkout.


After Checkout is done... click in the Navigator window
Expand the directory tree to find the build.xml of the GameServer
Right click on build.xml -> Run As -> 1 Ant Build
Now it will compile the GameServer to a ZIP File.


Now pay close attention to the next window because it will display where it compiled a much needed zip file which is your main server files. Go to that location and extract the files in l2j-server.zip to your l2j-server folder and overwrite any old files if you have a previous version.


Now to Install L2J continue here -> Installing L2J, Running the Server


To Update Source Code from now on, after initial Checkout:

In the Navigator window:

Right click on L2_Gameserver.
Select Team.
Select Synchronize With Repository.
A Sychronize pane will open with a list of updates.
Right click on L2_Gameserver.
Click Update.
Compile and install again.

Attachments

Download all attachments as: .zip