summaryrefslogtreecommitdiff
path: root/gentools/build.xml
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2008-07-15 11:36:41 +0000
committerMartin Ritchie <ritchiem@apache.org>2008-07-15 11:36:41 +0000
commit2b5fa5a3312091c0818e3105c99390c4e5bde8a7 (patch)
tree8da6a7945f522ccd325b19a69380eeec9d7d7803 /gentools/build.xml
parent5c732b199e21e34d942bbbadca3c25e1fcf6b101 (diff)
downloadqpid-python-2b5fa5a3312091c0818e3105c99390c4e5bde8a7.tar.gz
QPID-1176 : Updated Tasks and gentools build to use the java.source and java.target values. Added echo statements to show the targeted build Updated other info echo statements to be an info level so they will not print with -q.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@676884 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'gentools/build.xml')
-rw-r--r--gentools/build.xml37
1 files changed, 24 insertions, 13 deletions
diff --git a/gentools/build.xml b/gentools/build.xml
index 6006c2bcf8..8da6e7b49f 100644
--- a/gentools/build.xml
+++ b/gentools/build.xml
@@ -19,23 +19,34 @@
-
-->
<project name="gentools" default="compile">
- <property name="src" location="src" />
+ <property name="src" location="src" />
- <target name="compile">
- <javac srcdir="${src}" source="1.5" fork="true" debug="on">
- <classpath>
- <fileset dir="${src}/../lib">
- <include name="**/*.jar"/>
- </fileset>
- </classpath>
+ <!--condition property="java.target" value="${java.target}" else="1.5">
+ <isset property="java.target"/>
+ </condition>
- </javac>
+ <condition property="java.source" value="${java.source}" else="1.5">
+ <isset property="java.source"/>
+ </condition-->
+
+ <property name="java.source" value="1.5"/>
+ <property name="java.target" value="1.5"/>
+
+
+ <target name="compile">
+ <javac srcdir="${src}" source="${java.source}" target="${java.target}" fork="true" debug="on">
+ <classpath>
+ <fileset dir="${src}/../lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ </classpath>
+ </javac>
</target>
- <target name="clean">
- <delete>
- <fileset dir="${src}/org/apache/qpid/gentools" includes="*.class" />
- </delete>
+ <target name="clean">
+ <delete>
+ <fileset dir="${src}/org/apache/qpid/gentools" includes="*.class" />
+ </delete>
</target>
</project>