HubsInfo Network

Setup Eclipse & SVN (for L2J server or any other L2 Java server)

0 Members and 1 Guest are viewing this topic.

Setup Eclipse & SVN (for L2J server or any other L2 Java server)
« on: November 06, 2016, 05:59:24 PM »
Just follow these steps:

1. Download and extract Eclipse!
First of all, you must download Eclipse software on its website.

Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers are both good choices.
The archive have to be directly extracted, generally on the root of your drive (C:/, D:/)


2. First launch of Eclipse
At first launch, Eclipse will ask you where your workspace will be located. Try to use a safe partition or another drive, like that all your work will be secured.




3. Installation of Subclipse
Now you must install the plugin named subclipse in order to checkout the project: in the main bar, select Help->Install New Software.



From the new window that will popup, press Add site... and write the following link: http://subclipse.tigris.org/update_1.10.x
Eclipse will ask you if you agree about the plugin rules, accept, click on Install and in the end click on the Finish button.


4. Call the SVN Repositories window
Eclipse will perhaps ask to reload, accept and wait. We have to call a window, which will be used to checkout project, and which comes with the installation of Subclispe. Click at the bar Window->Show View->Other...



In the new window, select the little SVN folder type, then select SVN Repositories and click OK.




5. Write the SVN URL in the SVN Repositories window
On the new tab, click at SVN Repositories, then  right click anywhere inside and go to New->Repository Location....



Click Finish.


6. Checkout!
Last but not least, you must check out datapack and gameserver with the same way.
Select the new location, right click on the SVN link, select Checkout...



and click in the new window Finish.



Wait Eclipse download the whole project in order to work on it, depending of your connection it can be 2-10 minutes.


7. Configure compiler path.
Your eclipse will try to search the compiler in the wrong direction if you had an old version of JRE installed.
You have to change this direction, following those simple instructions :

- Window > Preferences. A window will popup.
- Java tab > Installed JREs.





--
Ref: acis.i-live.eu/index.php?topic=78.0

 


Linux Ubuntu Guides Linux games - Lutris.net