summaryrefslogtreecommitdiff
path: root/qpid/java/common.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
commit007c92a1319bedb70194b2955898a37f3c2292cc (patch)
tree598a3df60f1f0ecd15f4f8e93120d7e5ac578fc3 /qpid/java/common.xml
parentb633025863a1040d71d3834696aeb5856a8da58b (diff)
downloadqpid-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/java/common.xml')
-rw-r--r--qpid/java/common.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/qpid/java/common.xml b/qpid/java/common.xml
index 8d61880714..6bed2afbc9 100644
--- a/qpid/java/common.xml
+++ b/qpid/java/common.xml
@@ -47,6 +47,8 @@
<property name="tasks.classes" location="${tasks}/classes"/>
<property name="tasks.src" location="${tasks}/src"/>
+ <property name="javac.compiler.args" value=""/>
+
<macrodef name="indirect">
<attribute name="name"/>
<attribute name="variable"/>
@@ -75,8 +77,9 @@
</macrodef>
<mkdir dir="${tasks.classes}"/>
- <javac srcdir="${tasks.src}" destdir="${tasks.classes}"
- classpath="${java.class.path}"/>
+ <javac source="${java.source}" target="${java.target}" srcdir="${tasks.src}" destdir="${tasks.classes}" classpath="${java.class.path}">
+ <compilerarg line="${javac.compiler.args}"/>
+ </javac>
<taskdef name="map" classname="org.apache.qpid.tasks.Map"
classpath="${tasks.classes}"/>