overleaf/services/git-bridge/module_writelatex-git-bridge.xml
2014-11-01 16:21:10 +00:00

78 lines
No EOL
3.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project name="module_writelatex-git-bridge" default="compile.module.writelatex-git-bridge">
<dirname property="module.writelatex-git-bridge.basedir" file="${ant.file.module_writelatex-git-bridge}"/>
<property name="module.jdk.home.writelatex-git-bridge" value="${project.jdk.home}"/>
<property name="module.jdk.bin.writelatex-git-bridge" value="${project.jdk.bin}"/>
<property name="module.jdk.classpath.writelatex-git-bridge" value="${project.jdk.classpath}"/>
<property name="compiler.args.writelatex-git-bridge" value="-encoding UTF-8 -source 1.6 ${compiler.args}"/>
<property name="writelatex-git-bridge.output.dir" value="${module.writelatex-git-bridge.basedir}/out/production/writelatex-git-bridge"/>
<property name="writelatex-git-bridge.testoutput.dir" value="${module.writelatex-git-bridge.basedir}/out/test/writelatex-git-bridge"/>
<path id="writelatex-git-bridge.module.bootclasspath">
<!-- Paths to be included in compilation bootclasspath -->
</path>
<path id="writelatex-git-bridge.module.production.classpath">
<path refid="${module.jdk.classpath.writelatex-git-bridge}"/>
</path>
<path id="writelatex-git-bridge.runtime.production.module.classpath">
<pathelement location="${writelatex-git-bridge.output.dir}"/>
</path>
<path id="writelatex-git-bridge.module.classpath">
<path refid="${module.jdk.classpath.writelatex-git-bridge}"/>
<pathelement location="${writelatex-git-bridge.output.dir}"/>
</path>
<path id="writelatex-git-bridge.runtime.module.classpath">
<pathelement location="${writelatex-git-bridge.testoutput.dir}"/>
<pathelement location="${writelatex-git-bridge.output.dir}"/>
</path>
<patternset id="excluded.from.module.writelatex-git-bridge">
<patternset refid="ignored.files"/>
</patternset>
<patternset id="excluded.from.compilation.writelatex-git-bridge">
<patternset refid="excluded.from.module.writelatex-git-bridge"/>
</patternset>
<path id="writelatex-git-bridge.module.sourcepath">
<dirset dir="${module.writelatex-git-bridge.basedir}">
<include name="src"/>
</dirset>
</path>
<target name="compile.module.writelatex-git-bridge" depends="compile.module.writelatex-git-bridge.production,compile.module.writelatex-git-bridge.tests" description="Compile module writelatex-git-bridge"/>
<target name="compile.module.writelatex-git-bridge.production" depends="register.custom.compilers" description="Compile module writelatex-git-bridge; production classes">
<mkdir dir="${writelatex-git-bridge.output.dir}"/>
<javac2 destdir="${writelatex-git-bridge.output.dir}" debug="${compiler.debug}" nowarn="${compiler.generate.no.warnings}" memorymaximumsize="${compiler.max.memory}" fork="true" executable="${module.jdk.bin.writelatex-git-bridge}/javac">
<compilerarg line="${compiler.args.writelatex-git-bridge}"/>
<bootclasspath refid="writelatex-git-bridge.module.bootclasspath"/>
<classpath refid="writelatex-git-bridge.module.production.classpath"/>
<src refid="writelatex-git-bridge.module.sourcepath"/>
<patternset refid="excluded.from.compilation.writelatex-git-bridge"/>
</javac2>
<copy todir="${writelatex-git-bridge.output.dir}">
<fileset dir="${module.writelatex-git-bridge.basedir}/src">
<patternset refid="compiler.resources"/>
<type type="file"/>
</fileset>
</copy>
</target>
<target name="compile.module.writelatex-git-bridge.tests" depends="register.custom.compilers,compile.module.writelatex-git-bridge.production" description="compile module writelatex-git-bridge; test classes" unless="skip.tests"/>
<target name="clean.module.writelatex-git-bridge" description="cleanup module">
<delete dir="${writelatex-git-bridge.output.dir}"/>
<delete dir="${writelatex-git-bridge.testoutput.dir}"/>
</target>
</project>