summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-04-23 13:07:09 +0000
committerRafael H. Schloming <rhs@apache.org>2008-04-23 13:07:09 +0000
commitd0966bcc829be8e627dc49c1f321bfa611fad0d4 (patch)
treedc2e0bb26f172539045e764a4ae1316ae56f5a44
parent1eedf0a6998990f6f82cdb0108402d532a6903b2 (diff)
downloadqpid-python-d0966bcc829be8e627dc49c1f321bfa611fad0d4.tar.gz
QPID-832: switched from execing javacc to using the javacc task; this should fix the build on cygwin
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@650855 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/broker/build.xml6
-rw-r--r--qpid/java/client/build.xml6
2 files changed, 6 insertions, 6 deletions
diff --git a/qpid/java/broker/build.xml b/qpid/java/broker/build.xml
index f2a6a687d5..bf402af7f7 100644
--- a/qpid/java/broker/build.xml
+++ b/qpid/java/broker/build.xml
@@ -30,9 +30,9 @@
<target name="precompile">
<mkdir dir="${output.dir}"/>
- <exec executable="javacc">
- <arg line="-OUTPUT_DIRECTORY=${output.dir} src/main/grammar/SelectorParser.jj"/>
- </exec>
+ <javacc target="src/main/grammar/SelectorParser.jj"
+ outputdirectory="${output.dir}"
+ javacchome="${project.root}/lib"/>
</target>
</project>
diff --git a/qpid/java/client/build.xml b/qpid/java/client/build.xml
index eaee55d93c..aeadfa2f0f 100644
--- a/qpid/java/client/build.xml
+++ b/qpid/java/client/build.xml
@@ -29,9 +29,9 @@
<target name="precompile">
<mkdir dir="${output.dir}"/>
- <exec executable="javacc">
- <arg line="-OUTPUT_DIRECTORY=${output.dir} src/main/grammar/SelectorParser.jj"/>
- </exec>
+ <javacc target="src/main/grammar/SelectorParser.jj"
+ outputdirectory="${output.dir}"
+ javacchome="${project.root}/lib"/>
</target>
</project>