ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Lawrence <>
Subject RE: Properties not set properly after <antcall>
Date Wed, 27 Jun 2001 10:17:28 GMT
Thanks.  The workaround for me is to place those targets in the init
attribute. i.e,

<target name="all" description="Compile all code, all versions and deploy"
Now, "ant all compile" works fine.  Perhaps the <antcall> or <property>
documentation could be updated to explain this issue.


> -----Original Message-----
> From: Stefan Bodewig []
> Sent: 27 June 2001 11:10
> To:
> Subject: Re: Properties not set properly after <antcall>
> Jamie Lawrence <> wrote:
> > Why do properties in a target only get set if the target is called
> > from the cmd-line or init, but aren't set when called using antcall?
> They are set, but only for the duration of the antcall.  When you use
> <antcall>, you get a copy of your current project and work on that -
> there is no way to feed back information from that copy to your
> original project.
> Stefan

View raw message