mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-05 16:08:14 +01:00
Fix dependency
Loading from lib won't work, so back to the old method.
This commit is contained in:
parent
640f51564a
commit
b1446154bf
@ -83,7 +83,7 @@ reference.EssentialsGroupManager.jar=${project.EssentialsGroupManager}/dist/Esse
|
|||||||
reference.EssentialsPermissionsCommands.jar=${project.EssentialsPermissionsCommands}/dist/EssentialsPermissionsCommands.jar
|
reference.EssentialsPermissionsCommands.jar=${project.EssentialsPermissionsCommands}/dist/EssentialsPermissionsCommands.jar
|
||||||
reference.EssentialsProtect.jar=${project.EssentialsProtect}/dist/EssentialsProtect.jar
|
reference.EssentialsProtect.jar=${project.EssentialsProtect}/dist/EssentialsProtect.jar
|
||||||
reference.EssentialsSpawn.jar=${project.EssentialsSpawn}/dist/EssentialsSpawn.jar
|
reference.EssentialsSpawn.jar=${project.EssentialsSpawn}/dist/EssentialsSpawn.jar
|
||||||
reference.EssentialsXMPP.jar=${project.EssentialsXMPP}/dist/original-EssentialsXMPP.jar
|
reference.EssentialsXMPP.jar=${project.EssentialsXMPP}/dist/EssentialsXMPP.jar
|
||||||
run.classpath=\
|
run.classpath=\
|
||||||
${javac.classpath}:\
|
${javac.classpath}:\
|
||||||
${build.classes.dir}
|
${build.classes.dir}
|
||||||
|
@ -72,5 +72,13 @@
|
|||||||
nbproject/build-impl.xml file.
|
nbproject/build-impl.xml file.
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
<target name="-post-jar">
|
||||||
|
<jar jarfile="${dist.dir}/EssentialsProtect.jar">
|
||||||
|
<zipfileset src="${dist.jar}" excludes="META-INF/*" />
|
||||||
|
<zipfileset src="../lib/c3p0-0.9.1.2.jar" excludes="META-INF/*" />
|
||||||
|
<manifest>
|
||||||
|
<attribute name="Classpath" value="EssentialsProtect.jar"/>
|
||||||
|
</manifest>
|
||||||
|
</jar>
|
||||||
|
</target>
|
||||||
</project>
|
</project>
|
||||||
|
@ -22,7 +22,7 @@ debug.test.classpath=\
|
|||||||
${run.test.classpath}
|
${run.test.classpath}
|
||||||
# This directory is removed when the project is cleaned:
|
# This directory is removed when the project is cleaned:
|
||||||
dist.dir=dist
|
dist.dir=dist
|
||||||
dist.jar=${dist.dir}/EssentialsProtect.jar
|
dist.jar=${dist.dir}/original-EssentialsProtect.jar
|
||||||
dist.javadoc.dir=${dist.dir}/javadoc
|
dist.javadoc.dir=${dist.dir}/javadoc
|
||||||
endorsed.classpath=
|
endorsed.classpath=
|
||||||
excludes=
|
excludes=
|
||||||
|
@ -36,7 +36,6 @@ public class EssentialsProtect extends JavaPlugin implements IConf, IProtect
|
|||||||
public void onEnable()
|
public void onEnable()
|
||||||
{
|
{
|
||||||
ess = Essentials.getStatic();
|
ess = Essentials.getStatic();
|
||||||
ess.getDependancyChecker().checkProtectDependancies();
|
|
||||||
final PluginManager pm = this.getServer().getPluginManager();
|
final PluginManager pm = this.getServer().getPluginManager();
|
||||||
|
|
||||||
final EssentialsProtectPlayerListener playerListener = new EssentialsProtectPlayerListener(this);
|
final EssentialsProtectPlayerListener playerListener = new EssentialsProtectPlayerListener(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user