ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Veentjer <peter_veent...@alarmnummer.net>
Subject Re: project dependency
Date Tue, 07 Oct 2003 16:46:12 GMT
Dominique Devienne wrote:

>>-----Original Message-----
>>From: Stefan Bodewig [mailto:bodewig@apache.org]
>>
>>    
>>
>>>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
>case.
>
>  <!-- ====================================================
>       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
>it">
>
>    <buildpath id="buildpath"
> 
>resolverClassname="com.lgc.buildmagic.TahoeBuildPathResolver">
>      <param name="destdir" value="${destdir}" />
>      <param name="dependencies" value="${dependencies}" />
>    </buildpath>
>    <echopath pathref="buildpath" />
>    <property name="buildpath" refid="buildpath" />
>    <property name="buildpath-set" value="true" />
>
>  </target>
>
>I can supply you an up-to-date version of this stuff if you want. --DD
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>  
>
Could you place it somewhere?

I see a lot of solutions and I realy don`t know which one to choose 
anymore. Can someone help me out?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message