patch for ant/build/compile.xml

View: New views
3 Messages — Rating Filter:   Alert me  

patch for ant/build/compile.xml

by yyamano :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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



Re: patch for ant/build/compile.xml

by Graeme Rocher-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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



Re: patch for ant/build/compile.xml

by yyamano :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've just raised GRAILS-4704.

On Thu, 18 Jun 2009 07:20:13 +0100, Graeme Rocher <graeme.rocher@...> wrote:

> 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