ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <mil...@gmx.de>
Subject Re: simplify copy with regexpmapper (mapper/regexp)
Date Fri, 17 Sep 2010 21:50:33 GMT
Niklas Matthies schrieb am 17.09.2010 um 15:08 (+0200):

> Well, Michael wrote "I want to strip the leading two directories", and
> also "/lib/**/*.*", which suggests that there can be directories below
> "lib", and his regex just strips the directories up to "lib".

Right.

> Anyway, I'd be interested in a solution that really only removes a
> prefix of the path.

The regex solution works, but it's unpleasantly hackish, and hackishly
goes back to platform dependency, or at least risks to do so.

With all the clever path stuff in Ant, I feel that I'm missing some easy
way to solve this.
-- 
Michael Ludwig

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


Mime
View raw message