f8e8669b5c
effect)
146 lines
8.1 KiB
XML
146 lines
8.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!-- WARNING: Eclipse auto-generated file.
|
|
Any modifications will be overwritten.
|
|
To include a user specific buildfile here, simply create one in the same
|
|
directory with the processing instruction <?eclipse.ant.import?>
|
|
as the first entry and export the buildfile again. --><project basedir="." default="build" name="Mineplex.Core">
|
|
<property environment="env"/>
|
|
<property name="REPO_DIR" value="../../"/>
|
|
<property name="Mineplex.BungeeRotator.location" value="../Mineplex.BungeeRotator"/>
|
|
<property name="Mineplex.Hub.location" value="../Mineplex.Hub"/>
|
|
<property name="Mineplex.Minecraft.Game.ClassCombat.location" value="../Mineplex.Minecraft.Game.ClassCombat"/>
|
|
<property name="Mineplex.Minecraft.Game.Core.location" value="../Mineplex.Minecraft.Game.Core"/>
|
|
<property name="Mineplex.StaffServer.location" value="../Mineplex.StaffServer"/>
|
|
<property name="Nautilus.Game.Arcade.location" value="../Nautilus.Game.Arcade"/>
|
|
<property name="ECLIPSE_HOME" value="../../../../../Filer/eclipse/"/>
|
|
<property name="Mineplex.Core.Common.location" value="../Mineplex.Core.Common"/>
|
|
<property name="Mineplex.Database.location" value="../Mineplex.Database"/>
|
|
<property name="Mineplex.ServerData.location" value="../Mineplex.ServerData"/>
|
|
<property name="debuglevel" value="source,lines,vars"/>
|
|
<property name="target" value="1.7"/>
|
|
<property name="source" value="1.7"/>
|
|
<path id="Mineplex.ServerData.classpath">
|
|
<pathelement location="${Mineplex.ServerData.location}/bin"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/jedis-2.4.2.jar"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/gson-2.2.1.jar"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/commons-pool2-2.2.jar"/>
|
|
</path>
|
|
<path id="Mineplex.Database.classpath">
|
|
<pathelement location="${Mineplex.Database.location}/bin"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/jooq-meta-3.5.2.jar"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/jooq-codegen-3.5.2.jar"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/jooq-3.5.2.jar"/>
|
|
</path>
|
|
<path id="Mineplex.Core.Common.classpath">
|
|
<pathelement location="${Mineplex.Core.Common.location}/bin"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/craftbukkit.jar"/>
|
|
</path>
|
|
<path id="Mineplex.Core.classpath">
|
|
<pathelement location="bin"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/httpcore-4.2.jar"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/httpclient-4.2.jar"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/commons-codec-1.6.jar"/>
|
|
<path refid="Mineplex.ServerData.classpath"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/jedis-2.4.2.jar"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/commons-pool2-2.2.jar"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/commons-dbcp2-2.0.1.jar"/>
|
|
<path refid="Mineplex.Database.classpath"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/jooq-3.5.2.jar"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/craftbukkit.jar"/>
|
|
<path refid="Mineplex.Core.Common.classpath"/>
|
|
<pathelement location="${REPO_DIR}/Plugins/Libraries/NoCheatPlus.jar"/>
|
|
</path>
|
|
<target name="init">
|
|
<mkdir dir="bin"/>
|
|
<copy includeemptydirs="false" todir="bin">
|
|
<fileset dir="src">
|
|
<exclude name="**/*.java"/>
|
|
</fileset>
|
|
</copy>
|
|
</target>
|
|
<target name="clean">
|
|
<delete dir="bin"/>
|
|
</target>
|
|
<target depends="clean" name="cleanall">
|
|
<ant antfile="build.xml" dir="${Mineplex.Core.Common.location}" inheritAll="false" target="clean"/>
|
|
<ant antfile="build.xml" dir="${Mineplex.Database.location}" inheritAll="false" target="clean"/>
|
|
<ant antfile="build.xml" dir="${Mineplex.ServerData.location}" inheritAll="false" target="clean"/>
|
|
</target>
|
|
<target depends="build-subprojects,build-project" name="build"/>
|
|
<target name="build-subprojects">
|
|
<ant antfile="build.xml" dir="${Mineplex.Core.Common.location}" inheritAll="false" target="build-project">
|
|
<propertyset>
|
|
<propertyref name="build.compiler"/>
|
|
</propertyset>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="${Mineplex.Database.location}" inheritAll="false" target="build-project">
|
|
<propertyset>
|
|
<propertyref name="build.compiler"/>
|
|
</propertyset>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="${Mineplex.ServerData.location}" inheritAll="false" target="build-project">
|
|
<propertyset>
|
|
<propertyref name="build.compiler"/>
|
|
</propertyset>
|
|
</ant>
|
|
</target>
|
|
<target depends="init" name="build-project">
|
|
<echo message="${ant.project.name}: ${ant.file}"/>
|
|
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
|
|
<src path="src"/>
|
|
<classpath refid="Mineplex.Core.classpath"/>
|
|
</javac>
|
|
</target>
|
|
<target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects">
|
|
<ant antfile="build.xml" dir="${Mineplex.BungeeRotator.location}" inheritAll="false" target="clean"/>
|
|
<ant antfile="build.xml" dir="${Mineplex.BungeeRotator.location}" inheritAll="false" target="build">
|
|
<propertyset>
|
|
<propertyref name="build.compiler"/>
|
|
</propertyset>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="${Mineplex.Hub.location}" inheritAll="false" target="clean"/>
|
|
<ant antfile="build.xml" dir="${Mineplex.Hub.location}" inheritAll="false" target="build">
|
|
<propertyset>
|
|
<propertyref name="build.compiler"/>
|
|
</propertyset>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="${Mineplex.Minecraft.Game.ClassCombat.location}" inheritAll="false" target="clean"/>
|
|
<ant antfile="build.xml" dir="${Mineplex.Minecraft.Game.ClassCombat.location}" inheritAll="false" target="build">
|
|
<propertyset>
|
|
<propertyref name="build.compiler"/>
|
|
</propertyset>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="${Mineplex.Minecraft.Game.Core.location}" inheritAll="false" target="clean"/>
|
|
<ant antfile="build.xml" dir="${Mineplex.Minecraft.Game.Core.location}" inheritAll="false" target="build">
|
|
<propertyset>
|
|
<propertyref name="build.compiler"/>
|
|
</propertyset>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="${Mineplex.StaffServer.location}" inheritAll="false" target="clean"/>
|
|
<ant antfile="build.xml" dir="${Mineplex.StaffServer.location}" inheritAll="false" target="build">
|
|
<propertyset>
|
|
<propertyref name="build.compiler"/>
|
|
</propertyset>
|
|
</ant>
|
|
<ant antfile="build.xml" dir="${Nautilus.Game.Arcade.location}" inheritAll="false" target="clean"/>
|
|
<ant antfile="build.xml" dir="${Nautilus.Game.Arcade.location}" inheritAll="false" target="build">
|
|
<propertyset>
|
|
<propertyref name="build.compiler"/>
|
|
</propertyset>
|
|
</ant>
|
|
</target>
|
|
<target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler">
|
|
<copy todir="${ant.library.dir}">
|
|
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
|
</copy>
|
|
<unzip dest="${ant.library.dir}">
|
|
<patternset includes="jdtCompilerAdapter.jar"/>
|
|
<fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/>
|
|
</unzip>
|
|
</target>
|
|
<target description="compile project with Eclipse compiler" name="build-eclipse-compiler">
|
|
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
|
|
<antcall target="build"/>
|
|
</target>
|
|
</project>
|