ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: javac -encoding
Date Wed, 18 Jun 2008 12:13:05 GMT
The <javac> task does have an encoding attribute: 
http://ant.apache.org/manual/CoreTasks/javac.html

"encoding  	Encoding of source files. (Note: gcj doesn't support this 
option yet.)"

Its in the online docs ;)




On Wed, 18 Jun 2008, 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"/>
>
>

Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros          http://sourceforge.net/projects/keros

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


Mime
View raw message