« Return to Thread: patch for ant/build/compile.xml

patch for ant/build/compile.xml

by yyamano :: Rate this Message:

Reply to Author | View in Thread

Hi!

This is the patch to avoid compilation warnings in Japanese
environment that default encoding is not UTF-8.

Index: ant/build/compile.xml
===================================================================
--- ant/build/compile.xml (revision 9007)
+++ ant/build/compile.xml (working copy)
@@ -36,7 +36,7 @@
             <src path="${grails.src.scaffolding}"/>
             <src path="${grails.src.groovy}"/>
 
-            <javac includeantruntime="false" deprecation="on" debug="yes" source="1.5" target="1.5" />
+            <javac includeantruntime="false" deprecation="on" debug="yes" source="1.5" target="1.5" encoding="UTF-8" />
         </groovyc>
 
 
@@ -49,7 +49,7 @@
             </classpath>
             <src path="${grails.src.jsp21}"/>
 
-            <javac includeantruntime="false" deprecation="on" debug="yes" source="1.5" target="1.5" />
+            <javac includeantruntime="false" deprecation="on" debug="yes" source="1.5" target="1.5" encoding="UTF-8" />
         </groovyc>
 
 
@@ -75,4 +75,4 @@
     </target>
 
 
-</project>
\ No newline at end of file
+</project>

--
Yuji Yamano
OGIS International, Inc.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: patch for ant/build/compile.xml