| Line 4... |
Line 4... |
| 4 |
<property environment="env"/>
|
4 |
<property environment="env"/>
|
| 5 |
<property name="thirdparty.location" value="../lib"/>
|
5 |
<property name="thirdparty.location" value="../lib"/>
|
| 6 |
<property name="debuglevel" value="source,lines,vars"/>
|
6 |
<property name="debuglevel" value="source,lines,vars"/>
|
| 7 |
<property name="target" value="1.6"/>
|
7 |
<property name="target" value="1.6"/>
|
| 8 |
<property name="source" value="1.6"/>
|
8 |
<property name="source" value="1.6"/>
|
| - |
|
9 |
<property name="source.home" value="${basedir}/src/main/java"/>
|
| 9 |
<path id="ThriftConfig.classpath">
|
10 |
<path id="ThriftConfig.classpath">
|
| 10 |
<pathelement location="bin"/>
|
11 |
<pathelement location="bin"/>
|
| 11 |
<pathelement location="${thirdparty.location}/readonly/apache/thrift-0.2.0/libthrift.jar"/>
|
12 |
<pathelement location="${thirdparty.location}/readonly/apache/thrift-0.2.0/libthrift.jar"/>
|
| 12 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-api-1.5.8.jar"/>
|
13 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-api-1.5.8.jar"/>
|
| 13 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-simple-1.5.8.jar"/>
|
14 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-simple-1.5.8.jar"/>
|
| 14 |
</path>
|
15 |
</path>
|
| 15 |
<target name="init">
|
16 |
<target name="init">
|
| 16 |
<mkdir dir="bin"/>
|
17 |
<mkdir dir="bin"/>
|
| 17 |
<copy includeemptydirs="false" todir="bin">
|
18 |
<copy includeemptydirs="false" todir="bin">
|
| 18 |
<fileset dir="src">
|
19 |
<fileset dir="${source.home}">
|
| 19 |
<exclude name="**/*.launch"/>
|
20 |
<exclude name="**/*.launch"/>
|
| 20 |
<exclude name="**/*.java"/>
|
21 |
<exclude name="**/*.java"/>
|
| 21 |
</fileset>
|
22 |
</fileset>
|
| 22 |
</copy>
|
23 |
</copy>
|
| 23 |
</target>
|
24 |
</target>
|
| Line 26... |
Line 27... |
| 26 |
</target>
|
27 |
</target>
|
| 27 |
<target depends="clean" name="cleanall"/>
|
28 |
<target depends="clean" name="cleanall"/>
|
| 28 |
<target depends="init" name="build">
|
29 |
<target depends="init" name="build">
|
| 29 |
<echo message="${ant.project.name}: ${ant.file}"/>
|
30 |
<echo message="${ant.project.name}: ${ant.file}"/>
|
| 30 |
<javac destdir="bin" source="${source}" target="${target}">
|
31 |
<javac destdir="bin" source="${source}" target="${target}">
|
| 31 |
<src path="src"/>
|
32 |
<src path="${source.home}"/>
|
| 32 |
<classpath refid="ThriftConfig.classpath"/>
|
33 |
<classpath refid="ThriftConfig.classpath"/>
|
| 33 |
</javac>
|
34 |
</javac>
|
| 34 |
</target>
|
35 |
</target>
|
| 35 |
<target name="jar" depends="build">
|
36 |
<target name="jar" depends="build">
|
| 36 |
<jar destfile="${ant.project.name}.jar" basedir="bin"/>
|
37 |
<jar destfile="${ant.project.name}.jar" basedir="bin"/>
|