Page 1 of 1
Compile from Local files
Posted: Sat Sep 11, 2010 10:07 pm
by Feldan
Hello all,
I need to know how to compile the L2J source files without downloading them from the svn. I already have the latest source from a friend but am having troubles to compile them locally without checking them out from the svn. Been a very longtime since i used eclipse

Re: Compile from Local files
Posted: Sat Sep 11, 2010 10:11 pm
by SolidSnake
There are two options:
Download nightlies
Download l2jserver svn with eclipse
I recommend the second because it's easy and give you all the codes

You can tell us your eclipse problems !
Re: Compile from Local files
Posted: Sun Sep 12, 2010 12:18 am
by Feldan
I don't want nightlies and i don't want to download from the svn. I have the latest source but I need to compile it from local files not svn.
Re: Compile from Local files
Posted: Sun Sep 12, 2010 12:45 am
by hope
only way to compile it is from eclipse connecting to the svn
Re: Compile from Local files
Posted: Sun Sep 12, 2010 1:11 am
by Feldan
Kinda what i figured after hours of messing around so i created my own svn...what a pain in the ass :/
Re: Compile from Local files
Posted: Sun Sep 12, 2010 9:34 am
by Akz
Just import the source in Eclipse and compile it.
Re: Compile from Local files
Posted: Sun Sep 12, 2010 10:46 am
by jurchiks
what do you mean - compile from svn?
you can only compile the local copy, it doesn't need to be connected to the svn to do it...
just download it from svn and compile via build.xml
Re: Compile from Local files
Posted: Sun Sep 12, 2010 12:08 pm
by hope
jurchiks wrote:what do you mean - compile from svn?
you can only compile the local copy, it doesn't need to be connected to the svn to do it...
just download it from svn and compile via build.xml
What I meant just said it that way as it was late
Re: Compile from Local files
Posted: Sun Sep 12, 2010 12:38 pm
by SolidSnake
Guys stop spam, all know that:
If someone wants to download a pre-compiled server can use the nightlies
If wants to compile a server, he must download/checkout the svns with eclipse
Feldan if a friend gave you the files, do this:
Open your eclipse, click on Window -> Show View -> Package Explorer
Click right in Package Explorer's window -> New -> Java Project
Now don't 'use default location' and click on Browse, so search your l2jserver project folder
If you'll do this, you'll have your l2jserver project showed in eclipse
Change what do you want and compile it via build.xml, good luck
P.S. I hope I get your problem
Re: Compile from Local files
Posted: Sun Sep 12, 2010 1:10 pm
by jurchiks
he can just import it - File>Import >general>existing projects into workspace
Re: Compile from Local files
Posted: Sun Sep 12, 2010 1:13 pm
by SolidSnake
For me don't work because eclipse don't see the folder as an existing project
Re: Compile from Local files
Posted: Sun Sep 12, 2010 1:16 pm
by Feldan
Thank You Solid Snake that solved it for me

Re: Compile from Local files
Posted: Sun Sep 12, 2010 1:17 pm
by jurchiks
l2j's svn contains .project file, so smth must be missing in your end if it doesn't find it.
Re: Compile from Local files
Posted: Sun Sep 12, 2010 1:44 pm
by SolidSnake
In fact this is the problem jurchiks

Feldan received the files by a friend, so he didn't have the .project file
Anyway this topic can be closed
Re: Compile from Local files
Posted: Sun Sep 12, 2010 5:23 pm
by jurchiks
actually he didn't say anything about failing to import it/missing .project file...
but yeah, problem solved - lock