--- Craig Longman <[EMAIL PROTECTED]> wrote:
> both are being set just to see if it fails.  under normal conditions, i
> would only set one of them, having more than one set would be cause for
> an error.

Under normal conditions, how would one of either use.target1 or
use.target2 get set? -- command-line define? -- property file? -- set
within a target in the build-file?

> prop1 is just a flag to determine whether the targets have been
> executed.  it was just a way of having something check if it was already
> set and if so, assume that the initialization has already been
> completed.  prop2 just represents a property that i am actually
> interested in have ONE of the two targets configure.

I'm not sure what initialization you're doing but, because of the
immutability of properties, if you set prop2 in both target1 and target2,
whichever target ran first will be who determined what prop2 will be set
to, so if all target1 and target2 do is set a particular property, it
won't matter if both run -- only which is run first (assuming you're no
longer running target1 and target2 via <antcall>'s).

> make sense?

Not entirely yet -- but I'm guessing that has something to do with not
seeing how things are intended to normally work.

=====
([EMAIL PROTECTED])



__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

Reply via email to