ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <>
Subject Re: native2ascii as FilterReader
Date Fri, 21 Jun 2002 14:42:13 GMT
This hasn't been done already - your proposal
looks good to me.  If you are comfortable with
coding, please provide this enhancement yourself
to ant-dev.  Otherwise, please make sure you file
it in BugZilla as an Enhancement Request.


*  Miser: A person who lives poor so that he can die rich.  *
----- Original Message -----
From: "Koegel, Michael" <>
To: "ANT User Mailinglist (E-Mail)" <>
Sent: Friday, June 21, 2002 5:39 AM
Subject: native2ascii as FilterReader

Hi all,

it would be very convienient to use native2ascii as part of a filterchain.
Has anyone done this allready?

Currently my target looks like this:
        <native2ascii reverse="yes" src="${src.dir}" dest="${out.src.dir}"
includes="**/*.java" ext=".java.zOS"/>
        <native2ascii reverse="yes" src="${src.dir}" dest="${out.src.dir}"
includes="**/*.properties" ext=".properties.zOS"/>
        <move todir="${out.src.dir}" filtering="on">
        <fileset dir="${out.src.dir}" >
      <include name="**/*.zOS"/>
        <mapper type="glob" from="*.zOS" to="*"/>

Having a native2ascii-Filter would give something like that:

        <copy todir="${out.src.dir}">
            <fileset dir="${src.dir}">
                <patternset refid="all.src.files"/>

 Michael Kögel

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message