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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to