ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: psychopaths.
Date Thu, 10 Apr 2003 12:57:24 GMT
> -----Ursprüngliche Nachricht-----
> Von: Mark.Gargan@cs.tcd.ie [mailto:Mark.Gargan@cs.tcd.ie]
> Gesendet am: Donnerstag, 10. April 2003 15:08
> An: user@ant.apache.org
> Betreff: psychopaths.
> 
> Hi guys, 
>         I'm having ferocious trouble with paths. They seem to have a
> mind of their own.
>  
> Is there any way to print out what jars are contained in a path id? 

You can print the full path

<path id="p">...</path>
<property name="pValue" refid="p"/>
<echo> ${pValue} </echo>

Or using <pathconvert>


> Can paths be declared outside targets? 


Yes (see the Ant buildfile)


>Up until now I've only 
> been able
> to get them working when I've 
> Placed them in an init target at the top of the file. Then all other
> targets must have this init target in their depends attribute. 
>  
> Mark.
> 


Patch´s should work. You can´t place task´s outside a target until Ant 1.6.




Jan Matèrne

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message