Jump to content

Guide to compile with ecplise


Recommended Posts

First :

 

Download Eclipse :

 

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-jee-galileo-SR1-win32.zip

 

Download Java JDK:

 

http://java.sun.com/javase/downloads/widget/jdk_javafx.jsp

 

After having downloaded and installed the java proceed with the integration of the Eclipse plugin SubVercion for which we will follow the Next Steps.

 

1- Open eclipse

 

eclipse1i.jpg

 

eclipse6o.jpg

 

eclipse7.jpg

 

eclipse2o.jpg

 

Put on this field this text:

 

Name: Subclipse 1.6.x (Eclipse 3.2+)

Location:  http://subclipse.tigris.org/update_1.6.x

 

eclipse3.jpg

 

Select all options.

 

eclipse5.jpg

 

eclipse8.jpg

 

eclipse9.jpg

 

2- now that the installation is over, proceed to select the tab svm, which is necessary to go to the toolbar, windows, show view, other ...

 

svn123.jpg

 

open menu.

 

eclipse10.jpg

 

OK, now look at the bottom of another toolbar where will the svn repositories

 

eclipse11.jpg

 

Click the tab svn repository, and then right-click the blank space under it.

 

eclipse12.jpg

 

click en New, Repository Location.

 

This URL is the SVN of the packs. Example:

 

http://svn.l2jfree.com/svn/l2j-free/

http://svn.assembla.com/svn/L2Emu/

http://svn.assembla.com/svn/L2jOfficial/

http://www.l2jserver.com/svn/
http://www.l2jdp.com/svn/

http://my-svn.assembla.com/svn/l2j-jenova/

http://svn2.assembla.com/svn/l2j-umbrella/

http://svn.assembla.com/svn/L2J-Archid/trunk/

 

eclipse13.jpg

 

In this case is an example l2j, so will the url of the svn l2j and give ok.

 

At the bottom of the tab will come out that has been added svn.

 

eclipse14.jpg

 

Here we can display the svn and navigating the ftp like a hard drive or

 

+ + + + + + Explanation

 

Branches: Here you will find the archives of the old and stable serverpacks

 

Tags: here you will find the files serverpacks stable (if l2j not use this but use Branches)

 

Trunk: Here are the files Serverpacks being developed and will be developed over time

 

+++------------+++++

 

After the svn browse and find the files you need, you must download for them right click on the folder and click checkout.

 

eclipse15.jpg

 

finished unloading at the table left of the eclipse will appear the folder for the files you have downloaded.

 

eclipse16.jpg

 

If you want to make a modification java, or implement some sort of patch is time to do it. After making the changes that want to be compiling the Serverpack.

 

for the compilation is necessary to open the carptea of svn, locate the file build, DERCHO clicking and then click Run As - Ant Build 1, if she does not leave 1NT, they can compile with 2 ant build.

 

eclipse17.jpg

 

when finished will leave the following information compiled.

 

[javac] Note: C:\Users\Marco\workspace\L2_GameServer_It\java\net\sf\l2j\gameserver\GeoEngine.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

 

compilacion.jpg

 

to complete, compilation despus of the last message tells you where it has been the serverpack.

 

Building zip: C:\Users\Marco\workspace\L2_GameServer_It\build\l2j-server.zip

 

that's all, the guide is somewhat lengthy but is a necessary skill. is somewhat generic so it can be used to compile any of the projects (l2jfree, l2j, l2jemu, etc)

 

 

Link to comment
Share on other sites

  • 4 weeks later...
Guest
This topic is now closed to further replies.


×
×
  • Create New...