The way I do it (and I'm not claiming to be either an expert or using the
most elegant means) is I create different configurations for the different
classpaths I need in a build (compile, test, deploy) and have a ivy pattern
that includes the configuration ${lib.d}/[conf]/[artifact].[ext]. Then in my
ant scripts I just use separate filesets like:
<fileset id="test.classpath" dir="${lib.d}/test" />

It works pretty well as I don' t have to adjust my classpaths when I add or
remove dependencies, and I can treat more of my build generically.

Josh


On Mon, Jun 1, 2009 at 10:02 AM, Jim Garrison <[email protected]>wrote:

> Having defined a dependency set, how do I reference the resulting list of
> resolved files as an ANT fileset in other ANT tasks?
>
> Do I have to maintain a separate fileset tag?
>

Reply via email to