On Wed, Nov 24, 2010 at 12:33 PM, Ludwig, Michael
<[email protected]> 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="*"/>
        </fileset>
        <pathconvert refid="dir"
            property="dir.prop"
            pathsep="${line.separator}">
            <flattenmapper/>
        </pathconvert>
        <echo message="${dir.prop}" file="foo"/>

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

-- 
David Weintraub
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to