Jump to content

Recommended Posts

Posted

SVN Guide,

 

What do you need?

- Java jdk 1.4 and or higher Java

- Eclipse 3.1 or better Eclipse

- maven 2.0.6 or better Maven

 

And now what ¿?

 

1) Install Java

2) unpack Eclipse

2.1) download and unpack maven.

 

 

3)- Run eclipse

 

4)- Press on help----> software updates---> Search new features to install, click on New Remote Site and enter:

 

Code:

Name:subeclipse

URL:http://subclipse.tigris.org/update

 

6)- press ok and finish, check subeclipse to install and press next, accept the terms, next and finish.

 

7)- now eclipse is downloading subeclipse, be patient, when it finishes press on install all and then on yes when it ask you to restart eclipse.

 

8)- now subeclipse (the svn module for eclipse) is installed. ok. close eclipse.

 

first part completed congrats biggrin.gif

-----------------------------------------------------

seconf part now we need to setup maven.

 

start.....> control panel.....> system ........>advanced.........> environment variables ....>

 

new: JAVA_HOME

value: you java installation folder (including bin)

exemple: E:\Arquivos de programas\Java\jdk1.6.0\bin

 

ok close....

 

start........... run............ cmd

 

(on cm screen) lead cmd to folder where you unpacked maven and enter bin folder

 

exemple: cd c:/maven-2.0.7/bin

 

(when cmd be on bin folder type "mvn" without the " ".

 

now you will get a message "build failure" .. all ok thats normal close cmd.

 

 

second part finished. congratz again tongue.gif

--------------------------------------------------------

open eclipse again.....

 

1)- Press on help----> software updates---> Search new features to install, click on New Remote Site and enter:

 

Code:

Name:m2plugin

URL:http://m2eclipse.codehaus.org

 

accept terms wait til update finish (this step will install maven plugin on your eclipse).

 

ok.... after finish show view--- other----- svn repository.

 

rigth click on svn repository widow:

 

new---> repository location:

 

 

2)- rigth Click on gameserver/loginserver/datapack and select "Check out"

select check out as project to start downloading the sourcecode

 

 

3)- When this finishes (be patient, this will take some time) you will see a new project with the latest svn sourcecode of l2emu project.

 

ok third part finished biggrin.gif

--------------------------------

 

 

now we need to setup eclipse for maven.

 

1) window ------> preferences ------- installed JREs ( you must point to eclipse where you installed

yor JDK and not JRE ) click "search" and select the folder where is your java installation, eclipse will automatically detect jdk after you do this. mark the "v" on the jdk ok. close.

 

2) rigth click on gameseverver/loginserver on maven option, choose "enable".

 

2) window --- preferences --- > java -- > build path ---> classpath variables

 

 

new ...........>

 

name: M2_REPO

path: your path to maven ( this is the place where maven created repository folder after that "mvn" on enable command).

 

exemple:

E:/Documents and Settings/Rayan RPG/.m2/repository

 

at this time some download will occur just wait.

 

 

third part finished.

 

--------------------

 

fourty party (last one )

 

 

now we need to create configurations for you build your gs/ls withg maven.

 

ok lets go.......... click run .....> external tools .........> open external tools dialog...

 

on m2 build ......> rigth click --- new ...

 

name: L2Emu LoginServer Eclipse

base directory : ${workspace_loc:/L2Emu_LoginServer_IL}

goals: eclipse:clean eclipse:eclipse

apply ok...

 

run......

refresh your workspace on loginserver.....

 

new m2 build again

 

name:L2Emu GameServer Eclipse

base directory : ${workspace_loc:/L2Emu_GameServer_IL}

goals: eclipse:clean eclipse:eclipse

apply ok...

 

run......

refresh your workspace on gameserver.....

 

new m2 build again

 

name: L2Emu LoginServer Build

base directory : ${workspace_loc:/L2Emu_LoginServer_IL}

goals: assembly:assembly

 

 

click "add"

name: maven.test.skip

value: true

apply ok.

 

 

new m2 build again

 

name:L2Emu GameServer Build

base directory : ${workspace_loc:/L2Emu_GameServer_IL}

goals: assembly:assembly

 

 

click "add"

name: maven.test.skip

value: true

apply ok.

 

 

now we have 4 builds:

 

ls eclipse

ls build

gs build

gs eclise

 

run ls build/ gs build/ to compile ls and gameserver,

 

where is the server? on target folder.

 

 

for datapack just rigth click on build.xml and select "run as ant build" and pack will be inm build folder.

 

All Credits to L2Emu

 

Vrika bug pano se ayton ton guide

start.....> control panel.....> system ........>advanced.........> environment variables ....>

pate sto Java_Home kai sviste to Bin..meta pate path kai valte ayto

C:\Program Files\Java\jdk1.6.0_04;C:\maven\bin

to maven valteto  ton fakelo panta ston C:\ kai metanomasteto se maven!

elpizo na doulepsei

 

Posted

Nice Guide .. alla me liges eikones 8a htan pio katanohto pistebw!

Exeis dikio File vent00za...eixa ena prob me to eclipse m sintoma tha valw eikones

  • 1 year later...
Posted

Oreo topic man .alla iparxoun kai kalitera kai me photo ..an evazes photo tha htan kalo :D

260 post k akoma na ma8eis oti dn postaroume se palia topiCs? Diabase tous kanones....!!!! last warning

 

LockeD!

Guest
This topic is now closed to further replies.


  • Posts

    • The Time Has Come!    Tomorrow, L2DoubleDamage officially launches! Get ready for epic PvP battles, legendary rewards, and tons of action-packed features!    Opening Date: February 28, 2025  Opening Time by Country:  Greece: 20:00  Brazil: 15:00  Russia (Moscow): 21:00  Argentina: 15:00  Important Note: The donation weapons, armors, and jewelry will be closed for 2 days for the donors.   Key Features:  100% PvP Full Balance – No Pay to Win!  Ultra Stable – No Wipes, Long-Term Project!  Siege Castles: Giran, Aden, Rune  Giran Siege Reward: 100€ Real Money! (Every week after: 50€)  VIP Autofarm: x2 Drop & Name Color Change  6 Grand Bosses & 6 Special Grand Bosses!  Casino – Try Your Luck & Win Big!  Daily PvP Events – Show off your skills!  Enchant Rates: Safe +6, Max +25  JOIN NOW and prepare for the ultimate PvP experience! Check out the official links below:    Website: L2DoubleDamage  Discord: Join Here  Instagram: Follow Us  YouTube: Watch the Trailer  Facebook: Like Our Page  Get ready! The adventure begins tomorrow!    🚀 JOIN NOW & Experience the Best PvP Gameplay Ever! 🚀 🌐 Website: http://www.l2doubledamage.com/ 💬 Discord: https://discord.gg/l2doubledamage 📷 Instagram: https://www.instagram.com/l2doubledamage/ 📘 Facebook: https://www.facebook.com/profile.php?id=61573159438765&sk=about_contact_and_basic_info 📺 YouTube:  
    • 🔥 L2Custom.com - FRESH START/WIPE! 🔥 🗓️ Wipe/Open Date: 2025-03-01, 18:00 GMT+2 ⚔️ Chronicle: Interlude | Rates: High 🌟 Key Features: ✅ Custom Items – Enhanced PvP Experience ✅ Full Buffer – No Hassle, Just Action ✅ Olympiad (A-Grade Only) – Every Week ✅ Castle Sieges – Every Week 🚀 Fresh Start – Dominate from Day 1! Gather your clan, forge alliances, and prove your strength on the battlefield! 🌐 Join Now: www.l2custom.com 💥 Don’t miss out on the ultimate PvP experience! 💥
    • A new template is available: Ancient-World - Responsive HTML Template    
    • We are still taking new orders! Let us talk on Telegram!
    • Hello. Looking for bot for L2 Reborn x1 Origin. Some1? L2adrenaline dont work ;/
  • Topics

×
×
  • Create New...