Stefan Bodewig schrieb am 20.09.2010 um 17:55 (+0200):
> On 2010-09-17, Niklas Matthies wrote:

> > Anyway, I'd be interested in a solution that really only removes a
> > prefix of the path.
> 
> <http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/types/mappers/CutDirsMapper.java>
> or for the full commit including rudimentary documentation and tests
> <http://svn.apache.org/viewvc?view=revision&revision=998962>

Thanks!

> I couldn't figure out from the man-page (and was too lazy to trie) what
> wget does if you specify --cut-dirs=12 but the path is only two levels
> deep.

It'll flatten the structure, like melting butter in the pan.

> The mapper will currently behave in a not-my-business way like
> the regexp mapper does when the from regex doesn't match.

Also fine.

-- 
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