Page 3 of 3

Re: The last changeset

Posted: Sun Aug 09, 2015 12:41 am
by Zoey76
zhort wrote:use jdk 8 51, I had 8 45 & take error for tools.jar
I'm using 8u45 and I don't have that issue.

Re: The last changeset

Posted: Tue Aug 18, 2015 2:42 am
by Avanael92
Just one thing to mention regarding your guide Zoey76.

In settings.gradle:

Code: Select all

include ':L2J_Server'
project(':L2J_Server').projectDir = new File(settingsDir, '../L2J_Server')
and in build.gradle:

Code: Select all

compile files('../L2J_Server/dist/libs/mmocore.jar')
	compile project(':L2J_Server')
In case you named your Datapack and Server in something else like "Servername_Datapack" and "Servername_Server". If you try to import Datapack first, that will result in an error saying L2J_Server could not be found. In this case it's necessary to change the name and path in settings.gradle and build.gradle correctly.

After that importing and compiling Datapack only with Core included went without problems.

Re: The last changeset

Posted: Tue Aug 18, 2015 6:15 am
by Zoey76
Okay, I'll include it, I want to try to find another way to do it. :think: