mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-05 18:20:07 +01:00
88 lines
4.3 KiB
XML
88 lines
4.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project name="module_subservers.bungee" default="compile.module.subservers.bungee">
|
|
<dirname property="module.subservers.bungee.basedir" file="${ant.file.module_subservers.bungee}"/>
|
|
|
|
<property name="module.jdk.home.subservers.bungee" value="${project.jdk.home}"/>
|
|
<property name="module.jdk.bin.subservers.bungee" value="${project.jdk.bin}"/>
|
|
<property name="module.jdk.classpath.subservers.bungee" value="${project.jdk.classpath}"/>
|
|
|
|
<property name="compiler.args.subservers.bungee" value="-encoding UTF-8 -source 1.8 -target 1.8 ${compiler.args}"/>
|
|
|
|
<property name="subservers.bungee.output.dir" value="${module.subservers.bungee.basedir}/../out/compile/production/SubServers.Bungee"/>
|
|
<property name="subservers.bungee.testoutput.dir" value="${module.subservers.bungee.basedir}/../out/compile/test/SubServers.Bungee"/>
|
|
|
|
<path id="subservers.bungee.module.bootclasspath">
|
|
<!-- Paths to be included in compilation bootclasspath -->
|
|
</path>
|
|
|
|
<path id="subservers.bungee.module.production.classpath">
|
|
<path refid="${module.jdk.classpath.subservers.bungee}"/>
|
|
<pathelement location="${basedir}/../~lib/json.jar"/>
|
|
<pathelement location="${basedir}/../~lib/BungeeCord-1.8.jar"/>
|
|
<pathelement location="${basedir}/../~lib/RedisBungee.jar"/>
|
|
</path>
|
|
|
|
<path id="subservers.bungee.runtime.production.module.classpath">
|
|
<pathelement location="${subservers.bungee.output.dir}"/>
|
|
<pathelement location="${basedir}/../~lib/json.jar"/>
|
|
</path>
|
|
|
|
<path id="subservers.bungee.module.classpath">
|
|
<path refid="${module.jdk.classpath.subservers.bungee}"/>
|
|
<pathelement location="${subservers.bungee.output.dir}"/>
|
|
<pathelement location="${basedir}/../~lib/json.jar"/>
|
|
<pathelement location="${basedir}/../~lib/BungeeCord-1.8.jar"/>
|
|
<pathelement location="${basedir}/../~lib/RedisBungee.jar"/>
|
|
</path>
|
|
|
|
<path id="subservers.bungee.runtime.module.classpath">
|
|
<pathelement location="${subservers.bungee.testoutput.dir}"/>
|
|
<pathelement location="${subservers.bungee.output.dir}"/>
|
|
<pathelement location="${basedir}/../~lib/json.jar"/>
|
|
<pathelement location="${basedir}/../~lib/BungeeCord-1.8.jar"/>
|
|
<pathelement location="${basedir}/../~lib/RedisBungee.jar"/>
|
|
</path>
|
|
|
|
|
|
<patternset id="excluded.from.module.subservers.bungee">
|
|
<patternset refid="ignored.files"/>
|
|
</patternset>
|
|
|
|
<patternset id="excluded.from.compilation.subservers.bungee">
|
|
<patternset refid="excluded.from.module.subservers.bungee"/>
|
|
</patternset>
|
|
|
|
<path id="subservers.bungee.module.sourcepath">
|
|
<dirset dir="${module.subservers.bungee.basedir}">
|
|
<include name="src"/>
|
|
</dirset>
|
|
</path>
|
|
|
|
|
|
<target name="compile.module.subservers.bungee" depends="compile.module.subservers.bungee.production,compile.module.subservers.bungee.tests" description="Compile module SubServers.Bungee"/>
|
|
|
|
<target name="compile.module.subservers.bungee.production" depends="register.custom.compilers" description="Compile module SubServers.Bungee; production classes">
|
|
<mkdir dir="${subservers.bungee.output.dir}"/>
|
|
<javac2 destdir="${subservers.bungee.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.subservers.bungee}/javac">
|
|
<compilerarg line="${compiler.args.subservers.bungee}"/>
|
|
<bootclasspath refid="subservers.bungee.module.bootclasspath"/>
|
|
<classpath refid="subservers.bungee.module.production.classpath"/>
|
|
<src refid="subservers.bungee.module.sourcepath"/>
|
|
<patternset refid="excluded.from.compilation.subservers.bungee"/>
|
|
</javac2>
|
|
|
|
<copy todir="${subservers.bungee.output.dir}">
|
|
<fileset dir="${module.subservers.bungee.basedir}/src">
|
|
<patternset refid="compiler.resources"/>
|
|
<type type="file"/>
|
|
</fileset>
|
|
</copy>
|
|
</target>
|
|
|
|
<target name="compile.module.subservers.bungee.tests" depends="register.custom.compilers,compile.module.subservers.bungee.production" description="compile module SubServers.Bungee; test classes" unless="skip.tests"/>
|
|
|
|
<target name="clean.module.subservers.bungee" description="cleanup module">
|
|
<delete dir="${subservers.bungee.output.dir}"/>
|
|
<delete dir="${subservers.bungee.testoutput.dir}"/>
|
|
</target>
|
|
</project> |