ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: reverse glob mapper pattern?
Date Mon, 23 Sep 2002 13:44:41 GMT
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 [] 
Sent: Monday, September 23, 2002 1:58 AM
Subject: Re: reverse glob mapper pattern?

On Mon, 23 Sep 2002, Jacob Kjome <> 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>.


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

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

View raw message