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
Compile from Local files
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
Feldan
- Posts: 25
- Joined: Thu Jul 28, 2005 2:54 am
Compile from Local files
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
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
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: Compile from Local files
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 !
Download nightlies
Download l2jserver svn with eclipse
I recommend the second because it's easy and give you all the codes

-
Feldan
- Posts: 25
- Joined: Thu Jul 28, 2005 2:54 am
Re: Compile from Local files
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.
-
hope
- Posts: 1160
- Joined: Thu Aug 30, 2007 5:17 pm
Re: Compile from Local files
only way to compile it is from eclipse connecting to the svn
-
Feldan
- Posts: 25
- Joined: Thu Jul 28, 2005 2:54 am
Re: Compile from Local files
Kinda what i figured after hours of messing around so i created my own svn...what a pain in the ass :/
-
Akz
- Posts: 13
- Joined: Thu Mar 26, 2009 8:39 pm
Re: Compile from Local files
Just import the source in Eclipse and compile it.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Compile from Local files
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
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
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
hope
- Posts: 1160
- Joined: Thu Aug 30, 2007 5:17 pm
Re: Compile from Local files
What I meant just said it that way as it was latejurchiks 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
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: Compile from Local files
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
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

- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Compile from Local files
he can just import it - File>Import >general>existing projects into workspace
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: Compile from Local files
For me don't work because eclipse don't see the folder as an existing project

-
Feldan
- Posts: 25
- Joined: Thu Jul 28, 2005 2:54 am
Re: Compile from Local files
Thank You Solid Snake that solved it for me 
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Compile from Local files
l2j's svn contains .project file, so smth must be missing in your end if it doesn't find it.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: Compile from Local files
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
Anyway this topic can be closed

- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Compile from Local files
actually he didn't say anything about failing to import it/missing .project file...
but yeah, problem solved - lock
but yeah, problem solved - lock
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.