ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prashant Reddy <prash...@pramati.com>
Subject Re: javac -encoding
Date Wed, 18 Jun 2008 12:14:14 GMT
Yes 'encoding' option exists in javac task.

http://ant.apache.org/manual/CoreTasks/javac.html

Raghuveer wrote:
> Is there option compiling all my source files in my web application in
> "tomcat\webapps\testApp" with "-encoding "option in ant.
>
>  
>
> Example:
>
> .          javac -encoding ISO-8859-2 HelloWorld.java
>
> .          javac -encoding ISO-8859-2 *.java
>
>  
>
>  
>
>  
>
> <property name="sourcedir" value="${basedir}/WEB-INF/src"/>
>
> <property name="targetdir" value="${basedir}/WEB-INF/classes"/>
>
> <javac srcdir="${sourcedir}"
>
>              destdir="${targetdir}"
>
>              classpathref="libraries"/>
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message