| 334 |
ashish |
1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
2 |
|
|
|
3 |
<project basedir="." default="jar" name="ThriftConfig">
|
|
|
4 |
<property environment="env"/>
|
|
|
5 |
<property name="thirdparty.location" value="../lib"/>
|
|
|
6 |
<property name="debuglevel" value="source,lines,vars"/>
|
|
|
7 |
<property name="target" value="1.6"/>
|
|
|
8 |
<property name="source" value="1.6"/>
|
|
|
9 |
<path id="EAR Libraries.libraryclasspath"/>
|
|
|
10 |
<path id="ThriftConfig.classpath">
|
|
|
11 |
<pathelement location="bin"/>
|
|
|
12 |
<pathelement location="${thirdparty.location}/readonly/apache/thrift-0.2.0/libthrift.jar"/>
|
|
|
13 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-api-1.5.8.jar"/>
|
|
|
14 |
<pathelement location="${thirdparty.location}/readonly/slf4j/slf4j-simple-1.5.8.jar"/>
|
|
|
15 |
<path refid="EAR Libraries.libraryclasspath"/>
|
|
|
16 |
</path>
|
|
|
17 |
<target name="init">
|
|
|
18 |
<mkdir dir="bin"/>
|
|
|
19 |
<copy includeemptydirs="false" todir="bin">
|
|
|
20 |
<fileset dir="src">
|
|
|
21 |
<exclude name="**/*.launch"/>
|
|
|
22 |
<exclude name="**/*.java"/>
|
|
|
23 |
</fileset>
|
|
|
24 |
</copy>
|
|
|
25 |
</target>
|
|
|
26 |
<target name="clean">
|
|
|
27 |
<delete dir="bin"/>
|
|
|
28 |
</target>
|
|
|
29 |
<target depends="clean" name="cleanall"/>
|
|
|
30 |
<target depends="build-subprojects,build-project" name="build"/>
|
|
|
31 |
<target name="build-subprojects"/>
|
|
|
32 |
<target depends="init" name="build-project">
|
|
|
33 |
<echo message="${ant.project.name}: ${ant.file}"/>
|
|
|
34 |
<javac destdir="bin" source="${source}" target="${target}">
|
|
|
35 |
<src path="src"/>
|
|
|
36 |
<classpath refid="ThriftConfig.classpath"/>
|
|
|
37 |
</javac>
|
|
|
38 |
</target>
|
|
|
39 |
<target name="jar" depends="build">
|
|
|
40 |
<jar
|
|
|
41 |
destfile="${ant.project.name}.jar"
|
|
|
42 |
basedir="bin"/>
|
|
|
43 |
<copy file="${ant.project.name}.jar"
|
|
|
44 |
tofile="../lib/${ant.project.name}.jar"/>
|
|
|
45 |
</target>
|
|
|
46 |
|
|
|
47 |
</project>
|