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

Re: patch for ant/build/compile.xml

by Graeme Rocher-3 :: Rate this Message:

Reply to Author | View in Thread

Please attach to a JIRA

Thanks

On Thu, Jun 18, 2009 at 1:58 AM, Yuji YAMANO<Yamano_Yuji@...> wrote:

> 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
>
>
>



--
Graeme Rocher
Head of Grails Development
SpringSource - Weapons for the War on Java Complexity
http://www.springsource.com

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

    http://xircles.codehaus.org/manage_email


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