ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Dorner <FDor...@zed.com>
Subject RE: Trim leading spaces line by line
Date Mon, 09 Mar 2009 13:35:04 GMT
I found the solution my self in the ant manual:

<move file="${source}" tofile="${dest}">
        <filterchain>
            <tokenfilter>
                 <deletecharacters chars="\t"/>
                   <trim/>
                   <ignoreblank/>
            </tokenfilter>
        </filterchain>
</move>

It would be nice to do this on-the-fly, so that source and dest are the same. Is this possible
somehow?

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


Mime
View raw message