ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: project dependency
Date Tue, 07 Oct 2003 16:23:32 GMT
> -----Original Message-----
> From: Stefan Bodewig []
> > With Peter addition of the new add(Type) introspection point, the
> > code can be simplified to be able to plug any BuildPathResolver
> > easily, like one for Gump for example...
> Sounds interesting.  I'll try to shuffle some work time around to look
> at it in depth tomorrow or Thursday.

Note that you can already plug any dynamic buildpath resolver, but thanks to
my DynamicTag hack, which has been superceded by Peter's work on the core
(as usual, my hack was external to Ant). OTOH, I'm not sure if the version I
posted had it or not!? Anyways, the snippet below uses the normal pre-1.6
(painful) way to plug in a custom impl of something, the resolver in this

  <!-- ====================================================
       Compute buildpath from dependencies.xml and display it
  <target name="buildpath" depends="init, validate" unless="buildpath-set"
          description="Compute buildpath from dependencies.xml and display

    <buildpath id="buildpath"
      <param name="destdir" value="${destdir}" />
      <param name="dependencies" value="${dependencies}" />
    <echopath pathref="buildpath" />
    <property name="buildpath" refid="buildpath" />
    <property name="buildpath-set" value="true" />


I can supply you an up-to-date version of this stuff if you want. --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message