ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
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.

Cheers,
Magesh

*************************************************************
*  Miser: A person who lives poor so that he can die rich.  *
*************************************************************
----- Original Message -----
From: "Koegel, Michael" <Michael.Koegel@partner.commerzbank.com>
To: "ANT User Mailinglist (E-Mail)" <ant-user@jakarta.apache.org>
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"/>
        </fileset>
        <mapper type="glob" from="*.zOS" to="*"/>
        </move>

Having a native2ascii-Filter would give something like that:

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


Regards,
 Michael Kögel




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


Mime
View raw message