ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <>
Subject Re: Using shell command in ANT script
Date Wed, 24 Nov 2010 20:04:49 GMT
On Wed, Nov 24, 2010 at 12:33 PM, Ludwig, Michael
<> wrote:
> It's <fixcrlf>, not <fixcrnl>.
> And you could also use <pathconvert>:

Thanks for that tip of <pathconvert>. You can also use the
<flattenmapper/> to remove directory names if you so choose:

        <fileset dir="../../../jobs" id="dir">
            <include name="*"/>
        <pathconvert refid="dir"
        <echo message="${dir.prop}" file="foo"/>

That should be able to replace the <exec> task.

David Weintraub

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

View raw message