Jump to content

Recommended Posts

Posted (edited)

Well since, previous similar topics have dead links or are digged on previous pages, i'm posting this guide made by Prezicator.
One more guide, never hurted anyone, since it may cover parts that other guides didn't, and people can take advantage of them.
It is written based on l2jsunrise project, and will show you how to set up Eclipse, with automated updates from SVN and build your own server.
We are using l2jsunrise's SVN url's which are not open to everyone, for more information visit their website, however you can use other project's SVN links and the process is the same.
Enough with the talking part lets start working


 
This Guide will show you how to :
 
1.Download Java Jdk & install 
2.Download Eclipse
3.Download & install Eclispe Subversion
4.Checkout Sunrise Repositories & Build project

 
1.Download Java Jdk & install
 
Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Accept licence agreement and chose your version 
After download instal`it ( it simple dont need tutorial )


image.jpg


 
2.Download Eclipse:
 
Go to : Http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/marsr
There chose your version and download 


image.jpg


You will download one archive with eclipse 
Extract where you want :)
 
3.Download & install Eclispe Subversion:
 
Open Eclipse 
Chose your workspace (where you whant) and hit OK


image.jpg


Close first page of eclipse


image.jpg


Go to Help > Install New Software


image.jpg


Hit Add


image.jpg


Write name (what you whant)
Paste link at location ( link : http://subeclipse.tigris.org/update_1.8.x )
Hit OK


image.jpg


Check both Subeclipse and SVNKit
Hit Next 
Hit Next
Accept Terms & Finish


image.jpgimage.jpgimage.jpg


Restart Eclipse!
 
4.Checkout Sunrise Repositories & Build project:
 
Eclipse is alerdy restertated so go to Window > Show View > Other 


image.jpg


Go to SVN
SVN Repositories


image.jpg


Now we will get Sunrise Core
Go to SVN Repositories Area , hit right click on blank area , hit New> Repository Location


image.jpg


Instert url for sunrise core and hit Finish


image.jpg


After repository is added is time to checkout our project 
Open sunrisecore repository
And chose what version you want to checkout 
Trunk links are for sql version
Brances links are for xml version
Right Click on your version , hit Checkout > Check out as a project in the workspace > Finish 


image.jpgimage.jpgimage.jpg


 
And all is done you have Core source on your eclipse 
 
In order to compile  Hit L2J_SunriseProject_Core > Right Click build > Run As > 1Ant Build


image.jpg


 
All Done, your core is now compiled and ready for use. You will need to do the same for data.
In order to get datapack you must follow same steps from "Now we will get Sunrise Core" but only url must be changed with datapack url 
 
Optional Step 
 
If you have problems compile datapack 
Close eclipse 
Download and install 
https://sliksvn.com/download/
restart pc
 
 
In rare cases that core build fails:
Once you have the JDK installation path:[/size]

  • Right-click the My Computer icon on your desktop and select Properties.
  • Click the Advanced tab, then click the Environment Variables button.
  • Under System Variables, click New.
  • Enter the variable name as JAVA_HOME.
  • Enter the variable value as the installation path for the Java Development Kit.
  • Click OK.
  • Click Apply Changes.

You might need to restart Windows.
 
https://confluence.atlassian.com/doc/setting-the-java_home-variable-in-windows-8895.html

Edited by `NeverMore
  • Upvote 5
Posted

Best guide I ever seen on this forum. +10
 

But I don't like this "SVN url's which are not open to everyone" Since we know we're all going to L2Jserver

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...