ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: How can i print out the contents of the classpath?
Date Tue, 18 May 2004 05:41:05 GMT
<echo>${java.class.path}</echo>

because java.class.path is defined in class System. All values defined there
are accessible as Ant properties.

Or a defined by your own
<path id="cp">...</path>
<property name="cp.value" refid="cp"/>
<echo>${cp.value}</echo>

also have a look at <pathconvert/>


Jan


> -----Original Message-----
> From: Baz [mailto:barry@goodconsultants.com]
> Sent: Tuesday, May 18, 2004 6:47 AM
> To: Ant Users List
> Subject: How can i print out the contents of the classpath?
> 
> 
> Hi,
> 
> How can i print out the contents of the classpath? How can i 
> print out the
> contents of the classpath using ref-id?
> 
> thanks
> 
> Barry
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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