You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Tarik El Berrak <ta...@travelsoft.fr> on 2004/05/11 15:32:28 UTC
native2ascii
Hi
i'm using ant under eclipse and i want to use native2ascii task to convert some files but it doesn' work.
this is what i write
<?xml version="1.0" encoding="UTF-8"?>
<project name="native2ascii" default="Native2ascii" basedir=".">
<taskdef name="native2ascii" classname="org.apache.tools.ant.taskdefs.optional.Native2Ascii"/>
<!--convert the file Application.properties from UTF8 encoding to ascii encoding -->
<target name="Native2ascii">
<native2ascii encoding="UTF8" src="./src/etc/resources" dest="." ext=".ascii"/>
</target>
<!-- delete the file -->
<target name="clean">
<delete file="./src/etc/resources/*"/>
</target>
</project>
thanks for help