Garrrr, fixed craftbukkit building.

This commit is contained in:
Jonathan Williams 2013-09-03 20:43:32 -07:00
parent e63b4b8d66
commit 63b4776893
4 changed files with 14 additions and 4 deletions

View File

@ -229,17 +229,27 @@
<copy file="../bin/MineKart.jar" todir="../../Testing/MineKart/plugins"/>
</target>
<target name="NautilusCraftBukkit2" description="NautilusCraftBukkit2">
<copy file="../Libraries/craftbukkit_official.jar" tofile="../bin/craftbukkit.jar" overwrite="true"/>
<jar jarfile="../bin/craftbukkit.jar" update="true">
<mkdir dir="../bin/craftbukkit_temp" />
<delete file="../bin/craftbukkit.jar" />
<unzip src="../Libraries/craftbukkit_official.jar" dest="../bin/craftbukkit_temp" />
<touch datetime="01/31/1981 01:00:00 AM">
<fileset dir="../bin/craftbukkit_temp"/>
</touch>
<copy todir="../bin/craftbukkit_temp" overwrite="true">
<fileset dir="../Nautilus.Core.CraftBukkit/bin">
<include name="**/*.class"/>
</fileset>
</copy>
<jar jarfile="../bin/craftbukkit.jar">
<fileset dir="../bin/craftbukkit_temp" />
<manifest>
<attribute name="Main-Class" value="org.bukkit.craftbukkit.Main" />
</manifest>
<zipfileset src="../Libraries/jopt-simple-3.2.jar" />
</jar>
<copy file="../bin/craftbukkit.jar" todir="../Libraries/"/>
<delete dir="../bin/craftbukkit_temp" />
</target>
</project>

Binary file not shown.

View File

@ -2,6 +2,6 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"/>
<classpathentry kind="var" path="REPO_DIR/Plugins/bin/craftbukkit.jar"/>
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/craftbukkit.jar" sourcepath="/REPO_DIR/GitHubLibraries/CraftBukkit/src"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -6,8 +6,8 @@
<classpathentry combineaccessrules="false" kind="src" path="/Mineplex.Core"/>
<classpathentry combineaccessrules="false" kind="src" path="/Mineplex.Core.Common"/>
<classpathentry combineaccessrules="false" kind="src" path="/Mineplex.Minecraft.Game.Core"/>
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/craftbukkit.jar" sourcepath="/REPO_DIR/GitHubLibraries/CraftBukkit/src"/>
<classpathentry combineaccessrules="false" kind="src" path="/Nautilus.Core.CraftBukkit"/>
<classpathentry combineaccessrules="false" kind="src" path="/Core"/>
<classpathentry kind="var" path="REPO_DIR/Plugins/Libraries/craftbukkit.jar" sourcepath="/REPO_DIR/GitHubLibraries/CraftBukkit/src"/>
<classpathentry kind="output" path="bin"/>
</classpath>