ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
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 [mailto:bodewig@apache.org] 
Sent: Monday, September 23, 2002 1:58 AM
To: ant-user@jakarta.apache.org
Subject: Re: reverse glob mapper pattern?

On Mon, 23 Sep 2002, Jacob Kjome <hoju@visi.com> 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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

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


Mime
View raw message