Author: rhs
Date: Wed Apr 23 06:07:09 2008
New Revision: 650855

URL: http://svn.apache.org/viewvc?rev=650855&view=rev
Log:
QPID-832: switched from execing javacc to using the javacc task; this should 
fix the build on cygwin

Modified:
    incubator/qpid/branches/thegreatmerge/qpid/java/broker/build.xml
    incubator/qpid/branches/thegreatmerge/qpid/java/client/build.xml

Modified: incubator/qpid/branches/thegreatmerge/qpid/java/broker/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/qpid/branches/thegreatmerge/qpid/java/broker/build.xml?rev=650855&r1=650854&r2=650855&view=diff
==============================================================================
--- incubator/qpid/branches/thegreatmerge/qpid/java/broker/build.xml (original)
+++ incubator/qpid/branches/thegreatmerge/qpid/java/broker/build.xml Wed Apr 23 
06:07:09 2008
@@ -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>

Modified: incubator/qpid/branches/thegreatmerge/qpid/java/client/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/qpid/branches/thegreatmerge/qpid/java/client/build.xml?rev=650855&r1=650854&r2=650855&view=diff
==============================================================================
--- incubator/qpid/branches/thegreatmerge/qpid/java/client/build.xml (original)
+++ incubator/qpid/branches/thegreatmerge/qpid/java/client/build.xml Wed Apr 23 
06:07:09 2008
@@ -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>


Reply via email to