FFs Posted September 7, 2011 Posted September 7, 2011 Hello people, here's my first guide. My guide is about how to compile with eclipse and explain how the program works. The guide is short, it looks large because there are lots of images who are good for you to know what to do and its a visual guide too. The only thing you need is patience. Well, here's my guide. Subversion Installation: Subversion Download: http://sourceforge.net/projects/win32svn/ 1) Execute the program installer and you will see something like this: 2) Click on the "Next" button and you will see that window: 3) Again we click on the "Next" button and the installer will ask you where do you want to install the program, i recommend the default folder. 4) When all be ready, click on "Install" button and the installation will start. 5) After the program was installed just press on the "Finish" button to exit the program installation and go to the next step. The Subversion is installed and ready to use. Java 7 Installation: Java 7 JDK Download: http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html Java 7 JRE Download: http://www.oracle.com/technetwork/java/javase/downloads/java-se-jre-7-download-432155.html Java for Windows x32 bits (I'm using it.): Download Java 7 for Win x32: http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-windows-i586.exe 1) Execute the installer and you will see something like this: 2) Click on the "Next >" button and we will see something like that: 3) Click on the "Next >" button and the installation will start. At the end of the installation, we will see a window like this: 4) Press on the "Finish" button and the Java 7 will be installed and ready for use. Eclipse: Download: http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.5-200906111540/eclipse-SDK-3.5-win32.zip Update: http://www.mediafire.com/?arf64yc14n11a7e Before executing the Eclipse, install the update i made. Follow the steps: 1) Go to: "eclipse/plugins/" and delete the folder called "org.apache.ant_1.7.1.v20090120-1145". 2) Uncompress the file "Update.rar" and paste the folder called "org.apache.ant_1.7.1.v20090120-1145" to the same place the deleted one were. Now, we execute the program by clicking on "eclipse.exe" and wait for the program start. When the program be executed, you will see something like this: Close the "Welcome" message by clicking on the cross. Now we go to the upper menu: "Help -> Install New Software" like the images show it: And we will see something like this: Click on the "Add" button like the image and on the window who opens click on "Name:" blank, on the blank write "Subversion" and were says "Location:" put that link: http://subclipse.tigris.org/update_1.6.x And click "OK". Mark the buttons and click on "Next >" button. Dont tuch anything and click on "Next >" Click on "I accept the terms of the license agreements" and click "Finish", wait for the updates download and ready. Now, click on the upper menu: "Window -> Preferences" And a window appear, a window like that: In the menu, we select the option "Java" and after that we select "Installed JREs" and click on the "Search" button like the image shows it: When the window appear, click on the "Search" button, search the location of the "Java" folder, who the default folder is: "My Pc - Local Disk (C:) - Program Files - Java". When we find it, we select the folder and we click on "Accept" button. And now, you will se 2 types of Java installed. The 2 types are: "jdk1.7.0" and "jre7". Click on the button of "jdk1.7.0" and click on "OK" button to finish with this step. And now, we go to the upper menu and click on "Window -> Show View -> Other..." like the images show it: A window will appear. click on "SVN" and after select "SVN Repositories" and click on the "OK" button. Now, where say's on the menu below "Problems - Javadoc - Declaration" a new option will be added, who is "SVN Repositories". Click on "SVN Repositories" and right click on the blank space and click on "New -> Repository Location" Now, were says: "URL:", on the text blank, on the right we must put the SVN of the Core and DP. SVN List: • L2JServer Freya • Revision: Last • Core: http://svn.l2jserver.com/trunk/L2J_Server/ • DP: http://svn.l2jdp.com/trunk/L2J_DataPack/ The "Core" is were all the configuration files are (.properties) and the java files who when you compile the server they be compiled on "l2jserver.jar". The "DP" (Data Pack) is were all the HTM, XML, etc. files are and where all the Scripts, Quest, Instances are. On "URL:" we put the Core link, like the image: We put the link and we click on "Finish". Wait to load and ready. After do it with the link of the DP too, you will see something like that: Now, before adding the Core and DP links, click on the first link and select the option "Checkout" Dont tuch anything and click on the "Finish" button. It will delay a few minutes because all the files of the Core and DP are been downloaded. The files are saved by default on: "C:/workspace/L2J_Server" (Core) and "C:/workspace/L2J_Datapack" (DP) When the "Checkout" finish his work, you will see something like this: Now, we have all ready to compile. Right click on "build.xml" and select the next options: "Run as -> 1 Ant Build" like the image: And you will see a proccess on the console. If the final proccess says: "BUILD SUCCESSFUL" you done all the work without errors and your pack is compiled! CONGRATULATIONS! If it says "BUILD FAILED", is because you do something worng. You have to do the same proccess with both checkouts, L2J_Server and L2J_Datapack. Now, with all compiled go to: "C:\workspace\L2J_Server\build" and you will find: "L2J_Server.rar", thats the core compiled. And in: "C:\workspace\L2J_Server\build" there's the "L2J_Datapack.rar" compiled and ready to use. Now, what we do with this 2 ".rar" files, move them to a folder, for example, a folder called "Server", select them and right click on one of them and click on "Extract Here" like you see it on the image: When all be uncompressed, you will have your pack compiled by yourself. CONGRATULATIONS! YOU HAVE BEEN COMPILED YOUR PACK SUSCCESSFULY Credits: Guide Creation: FFs PS: My English is not very good, sorry :( Quote
Masterd3v1l Posted September 9, 2011 Posted September 9, 2011 very clean and easy to understand thank you very much for this share bro keep it up Quote
FFs Posted September 9, 2011 Author Posted September 9, 2011 very clean and easy to understand thank you very much for this share bro keep it up Thanx to you for read this guide :) Quote
FighterBoss Posted September 9, 2011 Posted September 9, 2011 are you still there ? it's already explained :| Quote
FFs Posted September 9, 2011 Author Posted September 9, 2011 are you still there ? it's already explained :| I know, but some of the guides are worng or dont have lot of images who explain it better, its just my guide, if it is useless, just delete it, no problem. Quote
Masterd3v1l Posted September 11, 2011 Posted September 11, 2011 I know, but some of the guides are worng or dont have lot of images who explain it better, its just my guide, if it is useless, just delete it, no problem. //true most of the guides are outdated, like everybody forgets that eclipse changes image and updates making some options unavailebel and this guide is up to date Quote
FFs Posted September 11, 2011 Author Posted September 11, 2011 //true most of the guides are outdated, like everybody forgets that eclipse changes image and updates making some options unavailebel and this guide is up to date Thanx for the support my friend :) I'm glad you liked it :D Quote
probocis Posted October 4, 2011 Posted October 4, 2011 Great guide, used right now for freya. Thx a lot Quote
FFs Posted October 4, 2011 Author Posted October 4, 2011 Great guide, used right now for freya. Thx a lot If you need something else just tell me and i'll help u :) Quote
KruMix Posted October 6, 2011 Posted October 6, 2011 I think this guide should be stickied...right? Quote
FFs Posted October 6, 2011 Author Posted October 6, 2011 I think this guide should be stickied...right? I think so :) Its a guide updated to 05/10/11 :) and its for Freya, H5 and another projects who use Java 7 Quote
RandomDude Posted October 7, 2011 Posted October 7, 2011 Hi, i have a little problem that some of you might be able to solve for me? When im doing the update download it stops at the middle and gives me this error: An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at http://subclipse.tigris.org/update_1.6.x/plugins/com.sun.jna_3.2.7.jar. Read timed out Unable to read repository at http://subclipse.tigris.org/update_1.6.x/plugins/org.tigris.subversion.subclipse.core_1.6.18.jar. Read timed out Unable to read repository at http://subclipse.tigris.org/update_1.6.x/plugins/org.tigris.subversion.subclipse.doc_1.3.0.jar. Read timed out Unable to read repository at http://subclipse.tigris.org/update_1.6.x/plugins/org.tigris.subversion.subclipse.graph_1.0.9.jar. Read timed out Unable to read repository at http://subclipse.tigris.org/update_1.6.x/plugins/org.tigris.subversion.subclipse.tools.usage_1.0.1.jar. Connection reset Unable to read repository at http://subclipse.tigris.org/update_1.6.x/plugins/org.tigris.subversion.subclipse.ui_1.6.18.jar. Read timed out Unable to read repository at http://subclipse.tigris.org/update_1.6.x/plugins/org.tmatesoft.svnkit_1.3.5.7406.jar. Read timed out Quote
FFs Posted October 8, 2011 Author Posted October 8, 2011 Close and open the eclipse and try again. If the problem continues, try with this link to make the update: http://subclipse.tigris.org/update_1.4.x Quote
RandomDude Posted October 8, 2011 Posted October 8, 2011 Close and open the eclipse and try again. If the problem continues, try with this link to make the update: http://subclipse.tigris.org/update_1.4.x Ok, now i tryed this and it didnt work.. When i used the update link 1.4 i got this error Cannot complete the install because one or more required items could not be found. Software being installed: Subclipse Integration for Mylyn 3.x (Optional) 3.0.0 (org.tigris.subversion.subclipse.mylyn.feature.group 3.0.0) Missing requirement: Subclipse Integration for Mylyn 3.x (Optional) 3.0.0 (org.tigris.subversion.subclipse.mylyn.feature.group 3.0.0) requires 'org.eclipse.mylyn.tasks.core [3.0.0,4.0.0)' but it could not be found And it took me arround 30-60 minutes to do it :O (last time i had eclipse installed i had no problems, and it took me arround 5 minutes to install) Quote
Recommended Posts
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.