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"
depends="pc,palm">
</target>
Now, "ant all compile" works fine. Perhaps the <antcall> or <property>
documentation could be updated to explain this issue.
Jamie
> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
> Sent: 27 June 2001 11:10
> To: [EMAIL PROTECTED]
> Subject: Re: Properties not set properly after <antcall>
>
>
> Jamie Lawrence <[EMAIL PROTECTED]> 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
>
Jamie Lawrence (E-mail).vcf