ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: <classpath> and <path> -
Date Wed, 31 Dec 2003 16:43:47 GMT
On Dec 31, 2003, at 10:53 AM, DevKon wrote:
> Regarding <classpath> :
>> From the manual:
> ////
>    <classpath>
>       <pathelement path="${classpath}"/>
>     </classpath>
> ///
> What is ${classpath} referring to?

It is an Ant property reference.

>  Also, how do I get to print variables or properties  
> <echo>${classpath}/<echo> prints "${classpath}", how do I get the  
> actual value?

In this case, the actual value is undefined, that is what it means when  
you see the property echo'd like that.  The Ant property has not been  
defined in the build file.

> Regarding <path>:  what is <path> exactly - a type, a task etc.  I see  
> path definitions in various example scripts but haven't seen a formal  
> definition in the docs.

<path> is a data type.  In the docs it is called a "path-like  
structure".  It is documented here:

I haven't plugged our book in a long long time, but I just saw a nice  
mention of it in the blogworld today:  

I definitely recommend it for learning the Ant basics!  :)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message