Update of /cvsroot/webmacro/webmacro
In directory sc8-pr-cvs1:/tmp/cvs-serv29146
Modified Files:
build.xml
Log Message:
- change "...Expecting #end" error message to (per Keats):
Unclosed block beginning at line XX. Check for invalid directive options or missing a #end
- add a <javacc> target to ant, so you can re-gen the parser with this:
ant javacc
You could previously have done it with "ant precompile", but I could never remember that. :)
Index: build.xml
===================================================================
RCS file: /cvsroot/webmacro/webmacro/build.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** build.xml 27 Mar 2003 00:35:30 -0000 1.33
--- build.xml 12 Jun 2003 00:17:48 -0000 1.34
***************
*** 103,110 ****
</target>
! <target name="precompile" depends="prepare" if="javacc.present">
! <javacc target="src/org/webmacro/parser/WMParser_impl.jj"
! javacchome="${javacc.home}" />
</target>
--- 103,111 ----
</target>
+ <target name='javacc' depends='prepare' if='javacc.present'>
+ <javacc target="src/org/webmacro/parser/WMParser_impl.jj" javacchome="${javacc.home}" />
+ </target>
! <target name="precompile" depends="javacc" if="javacc.present">
</target>
|