diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2008-07-15 11:36:41 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2008-07-15 11:36:41 +0000 |
| commit | 007c92a1319bedb70194b2955898a37f3c2292cc (patch) | |
| tree | 598a3df60f1f0ecd15f4f8e93120d7e5ac578fc3 /qpid/gentools/build.xml | |
| parent | b633025863a1040d71d3834696aeb5856a8da58b (diff) | |
| download | qpid-python-007c92a1319bedb70194b2955898a37f3c2292cc.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@676884 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/gentools/build.xml')
| -rw-r--r-- | qpid/gentools/build.xml | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/qpid/gentools/build.xml b/qpid/gentools/build.xml index 6006c2bcf8..8da6e7b49f 100644 --- a/qpid/gentools/build.xml +++ b/qpid/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> |
