ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Display the current classpath in a target?
Date Fri, 07 Nov 2008 05:19:44 GMT
On Thu, 06 Nov 2008, Ben Stover <bxstover@yahoo.co.uk> wrote:

> How to I display (at the console) the value of project.classpath
> resp. classpathref?

If these are properties, you can just <echo> them, if they are ids of
<path> instances, you can create temporary properties and echo those

  <property name="some classpath" refid="id-of-path"/> 
  <echo>id-of-path's value is ${some classpath}</echo>

Stefan

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


Mime
View raw message