ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ventimiglia, David" <>
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!)


-----Original Message-----
From: Stefan Bodewig []
Sent: Tuesday, October 31, 2000 12:57 AM
Subject: Re: javac task and classpath attribute

>>>>> "DH" == Diane Holt <> writes:

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


View raw message