Jump to content

[!Guide!] Pos na kanete compile - l2jfree (eclipse + maven) [OUTDATED]


Recommended Posts

Posted

Lipon kalosirthate sto guide m!  :P (to deftero mou edw sto forum)

 

epidi den ida pouthena ena COMPLETE guide gia compile .. alla misa misa kai san skata !  :P ipa na kanw ton kopo na kanw ena egw.. gia ta ellinakia filous m ta chetakia fisika  ;D

 

lipon terma o prologos ! ade den tha faw oli tin mera grafontas exoume kai doulies !  :P

..........................................

 

katarxas opos panta katevazoume ta katalila ergaliakia...  (kati sas ipa tora e?! lol)

 

JDK 6 Update 3 >> http://java.sun.com/javase/downloads/index.jsp

JRE 6 Update 3 >> http://www.softpedia.com/get/Programming/SDK-DDK/Sun-Java-JRE.shtml

Eclipse Classic 3.3.1.1 >> http://www.eclipse.org/downloads/

Maven 2.0.8 >> http://maven.apache.org/download.html

3 bat files gia compile me maven se 3 clicks! >> http://rapidshare.com/files/82255816/Auto_Maven_.zip UPDATED AGAIN (08/01/2008)

..........................................

 

Lipon protou arxisw thelw na episimanw 2 pragmata..

1: gia to guide xrisimopiisa windows vista.. sta xp opos einai logiko tha exei psilodiafores.. an exete kapio prob kante post edw kai vlepoume...

2: to guide tha stirizete kata to 50%+ se ikones.. den tha grafw & polla  :P (sto sinolo oi ikones einai peripou 2mb)

 

lipon arxiname! (epitelous e?!)

 

PART 1:

 

Afou egatastisete ta java...(den xriazeste ikona gia afto!)

 

Anigoume tin eclipse ...

44830996fd0.png

tha emfanistei afto.. patame opos mas lei i ikona... (afiste to proepilegmeno min allaksete tin thesi tou workspace)

 

30362971tm5.png

Help>>software updates>>find and install ...

 

width=569 height=480http://img513.imageshack.us/img513/4748/67145809pm1.png[/img]

 

width=598 height=480http://img209.imageshack.us/img209/6577/72430977ba5.png[/img]

 

vazoume gia name: subeclipse .. kai URL: http://subclipse.tigris.org/update

 

width=488 height=480http://img222.imageshack.us/img222/6963/93878186aa6.png[/img]

 

patame finish kai meta tha vgei afto...

 

width=531 height=480http://img125.imageshack.us/img125/3660/62745452rr5.png[/img]

 

width=529 height=480http://img253.imageshack.us/img253/9968/95959900uv2.png[/img]

 

width=527 height=480http://img253.imageshack.us/img253/9627/19433670oo7.png[/img]

 

patame finish.. perimenoume mexri na katevei to subeclipse.. kai tha vgei afto..

 

width=576 height=480http://img252.imageshack.us/img252/183/65100692wg2.png[/img]

 

afou teliosei to install tha mas pei gia restart tou programatos..

 

10kw7.png

 

meta to rr tou prog sinexizoume....

 

width=640 height=478http://img225.imageshack.us/img225/9203/11ky6.png[/img]

 

12ax0.png

 

width=640 height=475http://img230.imageshack.us/img230/6587/13ed1.png[/img]

 

width=640 height=476http://img249.imageshack.us/img249/70/14ct9.png[/img]

 

edw vazoume to svn url.. (ta 2 teleftea vimata prepei na ta kanete kai gia ta 3 svn links)

 

Interlude LoginServer: svn://l2jfree.com/repo/l2j-free/branches/L2_LoginServer_IL DEAD LINK for now?

Interlude GameServer: svn://l2jfree.com/repo/l2j-free/branches/L2_GameServer_IL UPDATED

Interlude DataPack: svn://l2jfree.com/repo/l2j-free/branches/L2_DataPack_IL UPDATED

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

CT1 - The Kamael LoginServer: svn://l2jfree.com/repo/l2j-free/trunk/L2_LoginServer_CT1 UPDATED

CT1 - The Kamael GameServer: svn://l2jfree.com/repo/l2j-free/trunk/L2_GameServer_CT1

CT1 - The Kamael DataPack: svn://l2jfree.com/repo/l2j-free/trunk/L2_DataPack_CT1

 

afou ta kanete kai ta 3 tha exete kati tetio.......

width=640 height=477http://img47.imageshack.us/img47/3946/15xn5.png[/img]

 

Irthe i wra na kanoume checkout..

width=640 height=477http://img47.imageshack.us/img47/2427/16tb9.png[/img]

 

my.php?image=17ga6.png

(afto tha prepei na to kanete kai gia ta 3 svns.. (peripou 10-15 lepta tha parei gia olla))

 

width=640 height=476http://img403.imageshack.us/img403/5692/18iv1.png[/img]

 

afou "katevoun" kai ta 3 (datapack, gameserver & loginserver)

irthe i wra na kanoume built to datapack !  :D...

 

my.php?image=19jx0.png

 

width=553 height=480http://img385.imageshack.us/img385/3138/19ls1.png[/img]

apla kanoume deksi click sto built.xml kai epilegoume ant built...

 

width=640 height=475http://img249.imageshack.us/img249/9692/20pb0.png[/img]

(afou perimenoume kapou 5 lepta gia na ginei to built..)..

(to error p vlepete den epireazei tpt)

to datapack sas einai etoimo! pigente C:\users\yourusernmae\workspace\l2jfree_datapack_ct1\built\ kai tha deite to to etoimo zip arxio(!)

distixos (i eftixos) den ginete na kanoume to idio kai gia ton loginserver & ton gameserver.. (den exoun to built.xml opos vlepete) giafto

tha xrisimopiisoume to maven ...

 

lipon afou exoume kanei checkout apo prin ton loginserver kai ton gameserver.. proxorame...

 

PART 2:

 

prepei na kanoume merikes rithmisoules gia na mporesei to maven na xrisimopiithei sosta...

 

patame to windows key + pause/break ... (i deksi click sto o ipologistis mou >> idiotites..)

width=640 height=212http://img381.imageshack.us/img381/976/24vg1.png[/img]

 

.. patame rithmiseis susthmatos gia proxwrimenous.. (sta xp den xriazete tha vgei kateftheian to idioties susthmatos)

patame metavlites perivallontos..

width=640 height=480http://img526.imageshack.us/img526/2184/21sw2.png[/img]

 

vriskoume to "Path" patame epeksergasia.. kai kanoume copy paste sto telos tis "timi metavlitis" (xoris na diagrapsoume afta p exei idi) afto..

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

width=396 height=480http://img459.imageshack.us/img459/3865/23bk1.png[/img]

 

meta prepei na dimiourgisoume mia kainourgia metavliti me to onoma JAVA_HOME kai stin timi vazete tin thesi p exei egatastathei to JDK sas.. (gia emena einai C:\Program Files\Java\jdk1.6.0_03)

width=393 height=480http://img459.imageshack.us/img459/3664/22gr2.png[/img]

patame ok ok ok... kai teliosame me tis rithmiseis !..

 

PART 3:

 

ok lipon... to part 3 einai to pio efkolo part ! (oxi den kanw plaka!) edw tha xrisimopiisoume to maven !..

 

epidi (den kserw gia pio logo..) poloi diksoleuontai sto na xrisimopiisoun to maven.. eftiaksa 3 bat files (2 lepta ekana na ta ftiaksw  :P )

gia compile me maven se 3 ! (nai kala akousate 3 !) clicks !  ;D

 

den xriazete kan na sas dosw ikona..

 

apla veveothite oti o fakelos bin tou maven vriskete sto C:\maven\bin (kai oti ston bin fakelo iparxei to mvn.bat)

kai episeis veveothite oti oi fakeloi l2_loginserver_il & l2_gameserver_il vriskontai C:\users\yourusername\workspace

afou ta chekarate kai einai olla sti thesi tous.. apla trexete to Activate_Maven.bat .. gia na ksipnisete tin powaa tou maven ! (pos ksipnate ton baium kai sas xonei ksilo? e kapos etsi kai afto alla adi gia ksilo sas xonei compile  :P )

afou energopiithei trexete to  Compile_Loginserver.bat gia na compilathei o loginserver kai meta to Compile_Gameserver.bat gia na compilathei to gameserver ! (tha parei peripou 5 lepta olo afto)

afou teliosei to compile.. pigenete sto workspace sas anigete ton fakelo gameserver/logiserver pigenete sto fakelo target.. kai tha vrite ta alla 2 zip !  :o ;D :D ;)

 

AFTO ITAN !! teliosate ! kalo compiling !...  :P

 

guide 100% apo emena.....

Posted

+1 takhs

Ego kolaga stis metavlhtes systimatos giati to eixe sta agglika sto maven kai den to ixa psilokatalavi kai evgaze error.Thks parolayta.

Compile kano me eclipse :P etsi kai allios/Alla xrisimopioun to mave ston l2jfree gia compile :P :P

Posted

+1 takhs

Ego kolaga stis metavlhtes systimatos giati to eixe sta agglika sto maven kai den to ixa psilokatalavi kai evgaze error.Thks parolayta.

Compile kano me eclipse :P etsi kai allios/Alla xrisimopioun to mave ston l2jfree gia compile :P :P

nai kai me eclipse mporis.. alla prepei na katevaseis to maven plugin kai mlkies eno mporis na to kanis katefthian...

 

kai ti +1 ?!  :-\

  • 3 weeks later...
  • 4 weeks later...
  • 1 month later...
Posted

guide updatetathike me ct1 (kamael) svn links + kainourgia links gia ta ergalia (panw panw) ;)

(parepiptondos sorry p leipw apo to forum toso kairw alla den exw thlefono oute internet edw kai 3 mines! (logo kolovarematos tou Pote) e den adeksa allo kai irtha se web cafe  :P )

Posted

Ta arxeia zip einai to last version java? gt vrisko kati diafores molis elegxo tin java se kapoia arxeia se sxesi me ta alla

dld anoigo to gameserver to opoi einai apo to compilation kai...m vgazei ekdosi 2727 gia kamael panta eno otan pao sto gameserver-dist kaai kano deksi klick kai patao enimerosi me to tortoise m vgazei ekdosi 2732:S

Posted

Dn m kanei compile otan trexo to active maven m vgazei ena build error

kai meta

molis trexo

to

gameserver-CT1

m vgazei

comiling

kanei kati m@lkies

kai klinei

kai tpt dn kanei

Posted

METALLAS file ti na pw.. to part 2 to ekanes sosta ? exeis vista ? (gt sta xp ta bat mou den ta exw tsekarei) ... ti allo na pw.. ksana try..

 

parepiptontos (min doublopostarw) eginan kapies allages stin track tou l2jfree kai ekana update ta bat kai ta svn links..

 

opote ksana try mia to ollo pragma..

Posted

pff tora ekane to gameserver alla dn kanei to loginserver :( ti ginete re gmt pf:(

 

Edit:En to metaksi trelathikan sta updates....takhs ego leo gia ton kamael na perimeneis esto mia vdomada gt kathe lepto vgazei update gmt....oson afora kai o interlude m ekane update lol... to l2j free pack enow

  • 11 months later...
Guest
This topic is now closed to further replies.

×
×
  • Create New...