Page 1 of 3
The last changeset
Posted: Sun Aug 02, 2015 10:59 am
by sahar
I don't get the last changeset (project refactoring).
Are these paths still correct??
https://github.com/L2J/L2J_Server.git
https://github.com/L2J/L2J_DataPack.git
Because when I make checkout with eclipse it doesn't find any .project file.
Re: The last changeset
Posted: Sun Aug 02, 2015 11:01 am
by Zoey76
There will be a post for that, if you use Eclipse install Gradle Buildship plugin and import it as a Gradle project.
Re: The last changeset
Posted: Sun Aug 02, 2015 11:27 am
by sahar
I got it, then how do I build it?
So far if anyone is interested a guide in details:
1) Install Gradle Buildship
* Open Eclipse
* Go to Help menu -> Eclipse Marketplace
* Search for Gradle Buildship
* Install the first plugin that appears
* Restart eclipse when it asks
2) Clone project
* Clone
https://github.com/L2J/L2J_Server.git and
https://github.com/L2J/L2J_DataPack.git as you would normally do
* Go to File menu -> Import...
* Expand Gradle -> Gradle Project
* Select the directory where you cloned L2J_Server and click finish
* Once done do the same to L2J_DataPack
3) Build project
* In the line of tabs (where you see Console, Problems etc) press Gradle Tasks
* Right click the project and click Run Default Gradle Tasks
Re: The last changeset
Posted: Sun Aug 02, 2015 11:29 am
by maneco2
Calm will learn, we learn something else

Re: The last changeset
Posted: Sun Aug 02, 2015 11:56 am
by maneco2
for me this also compiling other libs

Re: The last changeset
Posted: Sun Aug 02, 2015 1:52 pm
by sahar
A guide for this should have been released BEFORE the commit was done, not after -.-'
As well as I don't like the idea of messing around with misc stuff like this at all while the project has way too many gameplay related bugs, but whatever Zoey knows better.
Re: The last changeset
Posted: Mon Aug 03, 2015 4:25 am
by Zoey76
This is a change required in order to improve the project, the guide is in the wiki and everyone can read it, it's pretty simple.
Re: The last changeset
Posted: Mon Aug 03, 2015 7:15 am
by maneco2
It is compiling the libs of Gradle with the l2j
see Sellect Gradle wrapper (recommended) is correct?
Re: The last changeset
Posted: Mon Aug 03, 2015 9:05 am
by sahar
the guide is in the wiki and everyone can read it
What? Where?
Re: The last changeset
Posted: Mon Aug 03, 2015 9:48 am
by Zoey76
maneco2 wrote:It is compiling the libs of Gradle with the l2j

It's correct, before we had the libs inside other libs, if you check zip size is about the same, 18Mb~.
Re: The last changeset
Posted: Mon Aug 03, 2015 10:02 am
by maneco2
Zoey76 wrote:It's correct, before we had the libs inside other libs, if you check zip size is about the same, 18Mb~.
11 MB (Server) Zoey

I think you should delete the other libs, no?
Before:
Re: The last changeset
Posted: Mon Aug 03, 2015 10:39 am
by sahar
Anyone mind telling me how to compile with that gradle? -.-'
Re: The last changeset
Posted: Mon Aug 03, 2015 10:50 am
by maneco2
https://github.com/L2J/L2J_Server/wiki/Setup-Eclipse
This is easily the problem is that compiling other libs of Gradle, and putting into the pack L2J

Re: The last changeset
Posted: Mon Aug 03, 2015 10:56 am
by sahar
This guide doesn't explain how to build the project...
Re: The last changeset
Posted: Mon Aug 03, 2015 5:40 pm
by sahar
Figured it out and completed my guide above.
viewtopic.php?f=80&t=31504&p=188557#p188512