Yes, I've had similar problems in an Ant-based unit test, where the expected
path wasn't the same as the actual one, because of the conversion Ant does
automatically. Forcing Ant to convert all paths is indeed the solution.

But back to the original post... Shouldn't delete simply take a <mapper>, as
does <copy>??? --DD

-----Original Message-----
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 23, 2002 1:58 AM
To: [EMAIL PROTECTED]
Subject: Re: reverse glob mapper pattern?

On Mon, 23 Sep 2002, Jacob Kjome <[EMAIL PROTECTED]> wrote:

> Turns out that after some more clear thought and debugging that the
> issue lies in the fact that the paths provided by the fileset are
> cleaner than the ones defined by hand.  For instance, here are my
> variables used below:
> 
> 
> <property name="root.dir" value="${basedir}/.." />
> <property name="src.dir" value="${root.dir}/src" />
> <property name="build.dir" value="${root.dir}/WEB-INF" />

Take a look at <property>'s location attribute

<property name="root.dir" location=".." />

will be as clean as the settings in <fileset>.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to