The last changeset

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

The last changeset

Post 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.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: The last changeset

Post by Zoey76 »

There will be a post for that, if you use Eclipse install Gradle Buildship plugin and import it as a Gradle project.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: The last changeset

Post 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
Last edited by sahar on Mon Aug 03, 2015 5:39 pm, edited 2 times in total.
User avatar
maneco2
Initiates
Initiates
Posts: 664
Joined: Sat Aug 24, 2013 7:10 am

Re: The last changeset

Post by maneco2 »

Calm will learn, we learn something else :+1:
User avatar
maneco2
Initiates
Initiates
Posts: 664
Joined: Sat Aug 24, 2013 7:10 am

Re: The last changeset

Post by maneco2 »

for me this also compiling other libs :wtf:
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: The last changeset

Post 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.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: The last changeset

Post 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.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
maneco2
Initiates
Initiates
Posts: 664
Joined: Sat Aug 24, 2013 7:10 am

Re: The last changeset

Post by maneco2 »

It is compiling the libs of Gradle with the l2j :o
SPOILER:
Image
see Sellect Gradle wrapper (recommended) is correct?
SPOILER:
Image
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: The last changeset

Post by sahar »

the guide is in the wiki and everyone can read it
What? Where?
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: The last changeset

Post by Zoey76 »

maneco2 wrote:It is compiling the libs of Gradle with the l2j :o
It's correct, before we had the libs inside other libs, if you check zip size is about the same, 18Mb~.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
maneco2
Initiates
Initiates
Posts: 664
Joined: Sat Aug 24, 2013 7:10 am

Re: The last changeset

Post 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 :mrgreen: I think you should delete the other libs, no?
Before:
SPOILER:
Image
Last edited by maneco2 on Mon Aug 03, 2015 2:58 pm, edited 1 time in total.
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: The last changeset

Post by sahar »

Anyone mind telling me how to compile with that gradle? -.-'
User avatar
maneco2
Initiates
Initiates
Posts: 664
Joined: Sat Aug 24, 2013 7:10 am

Re: The last changeset

Post 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 :o
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: The last changeset

Post by sahar »

This guide doesn't explain how to build the project...
sahar
Posts: 582
Joined: Mon Jun 20, 2011 2:40 pm
Contact:

Re: The last changeset

Post by sahar »

Figured it out and completed my guide above.
viewtopic.php?f=80&t=31504&p=188557#p188512
Post Reply