You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ma...@cs.tcd.ie on 2003/05/11 12:02:44 UTC

RE: psychopaths.

Jan, Erik,
          Thanks a million for your help. She's running like a dream.

Thanks again,
Mark.


-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: 10 April 2003 13:57
To: user@ant.apache.org
Subject: AW: psychopaths.

> -----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