Re: Conditional import?

2010-09-16 Thread Cyril Sagan
The only way we've found to accomplish this is with from ant-contrib. Using your example: Hope this helps. --Cyril On Thu, Sep 16, 2010 at 12:03 AM, Stefan Bodewig wrote: > On 2010-09-15, John W. Lewis wrote: > > > Can imports go in targets? > > No. > > Ant needs t

simplify copy with regexpmapper (mapper/regexp)

2010-09-16 Thread Ludwig, Michael
Consider this filtered view of my directory tree: src/HTML-XForm/lib src/ResPath/lib src/XML-MSXML6/lib You get the idea, it is: src/*/lib Now I want to copy the files below src/*/lib, or most of them. And I want to strip the leading two directories. I came up with the following solution, but i