ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ventimiglia, David" <David.Ventimig...@msdw.com>
Subject RE: javac task and classpath attribute
Date Tue, 31 Oct 2000 16:25:48 GMT
It's correct that <path> cannot live inside a target.  What surprised me is
that <property> CAN live outside a target, since it is a task, and I thought
all tasks need to be inside of targets.  For instance, the documentation
illustrates using <property> inside of an "init" task.  Why does this work?
(and it worked beautifully!...thanks to all who responded!)

Cheers,
David

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@bost.de]
Sent: Tuesday, October 31, 2000 12:57 AM
To: ant-user@jakarta.apache.org
Subject: Re: javac task and classpath attribute


>>>>> "DH" == Diane Holt <holtdl@yahoo.com> writes:

 DH> --- robert@elastica.com wrote:
 >> Can you take your paths and put them inside the init so that they
 >> are revaluated each time your init target it evaluated?

 DH> Half of that suggestion is right -- he should put the <path>'s
 DH> inside the "init" target (or put the properties that the <path>'s
 DH> reference outside of the "init" target),

Only the latter will work as <path> is not allowed to live inside a
target.

Stefan

Mime
View raw message