Re: How to merge jars and directories specified by path resource into a single jar

2014-02-14 Thread Edwin Castro
On 2/13/14, 11:45 PM, Matt Benson wrote: > The problem is that, presumably, you want the classes beneath the > class.dirs elements to be added to the jar relative to each element. Off > the top of my head it occurs to me that you could iterate using antcontrib > and update the jar for each directo

Re: How to merge jars and directories specified by path resource into a single jar

2014-02-14 Thread Matt Benson
Well, if they're all siblings then it could be easier (or at least not require an external library) to turn the set of directories into a fileset includes attribute and wrap that fileset in a mappedresources collection to flatten, chaining that mapper to a globmapper if you need to place the files