Skip to content
Snippets Groups Projects
Commit 6e511206 authored by Florian Fittkau's avatar Florian Fittkau
Browse files

minor build file additions

parent 3b2726c0
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?>
<project name="Worker" default="build-all" basedir=".">
<property name="src.dir" value="src"/>
<property name="common-monitoring.dir" value="../common-monitoring"/>
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="jar.dir" value="dist"/>
......@@ -38,16 +39,17 @@
</jar>
</target>
<target name="compile">
<mkdir dir="${build.dir}"/>
<target name="compile" depends="copy-from-common">
<javac srcdir="${src.dir}" destdir="${build.dir}" classpathref="classpath" includeantruntime="false" />
</target>
<target name="copy-from-common">
<ant antfile="${common-monitoring.dir}/build.xml" dir="${common-monitoring.dir}" />
<mkdir dir="${build.dir}"/>
<copy todir="${build.dir}">
<fileset dir="${common-monitoring.dir}/dist"/>
</copy>
<javac srcdir="${src.dir}" destdir="${build.dir}" classpathref="classpath" debug="true"/>
</target>
<path id="classpath">
......@@ -85,6 +87,9 @@
<path id="testclasspath">
<pathelement path="${build.dir}" />
<fileset dir="lib" includes="*.jar" />
<fileset dir=".">
<include name="build/*.jar"/>
<include name="lib/*.jar"/>
</fileset>
</path>
</project>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment