ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: javac task and classpath attribute
Date Thu, 02 Nov 2000 18:29:54 GMT
--- Steve Collins <> wrote:
> If you try to put the <path> task inside of a <target> I get:
> -----------------------------------------------------------
> [...]
> I don't get this error if the <path> task is outside of the <target>
> task.

That's right -- the part about "or put the <path> inside the init" was
wrong information, which Stefan later corrected. Turns out the <path> tag
can only be used outside of any targets, so any properties you reference
inside <path> must also be set outside of any targets. Sorry about that --
I should've reviewed the doc before I typed. (I haven't used <path> yet,
since I'm not sure what the advantage is over just setting a property with
a path defined in it.)



Do You Yahoo!?
View raw message