Update of /cvsroot/xdoclet/xjavadoc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22266

Modified Files:
        build.xml 
Log Message:
added parameters 'source="1.4"' and 'encoding="ISO-8859-1"' to make it work 
with JDK 1.5

Index: build.xml
===================================================================
RCS file: /cvsroot/xdoclet/xjavadoc/build.xml,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** build.xml   2 Oct 2004 00:14:06 -0000       1.55
--- build.xml   22 Nov 2004 12:11:12 -0000      1.56
***************
*** 50,55 ****
--- 50,60 ----
     <!-- Compiles the source code                                            
-->
     <!-- =================================================================== 
-->
+    <!-- The 'source="1.4"' is necessary, because JavaCC uses 'enum' as 
variable
+         name, which is a keyword in java 1.5.
+         => JavaCC should be changed not to use 'enum' as variable anymore! -->
     <target name="compile" depends="generate-parsers" description="Compiles 
the source code">
        <javac
+          source="1.4"
+          encoding="ISO-8859-1"
           srcdir="${build.dir}/src"
           destdir="${build.dir}/classes"
***************
*** 114,118 ****
--- 119,128 ----
  
        <mkdir dir="${build.dir}/test-classes"/>
+     <!-- The 'source="1.4"' is necessary, because JavaCC uses 'enum' as 
variable
+          name, which is a keyword in java 1.5.
+          => JavaCC should be changed not to use 'enum' as variable anymore! 
-->
        <javac
+          source="1.4"
+          encoding="ISO-8859-1"
           srcdir="${build.dir}/junit"
           destdir="${build.dir}/test-classes"



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to