--- Tibor  Strausz <[EMAIL PROTECTED]> wrote:
> and if i want to overwrite them in my.props
> the problem is when i use if in a target it only checks if the property
> exists so i can never overwirte it.

Sorry, I hadn't had my coffee before I answered that :) I should have
said, "So for those, have my.properties define an "include.<target_name>"
and 'if' on those in <target> (since the default is for them to not run --
iow, accommodate whatever the default is).

> Whay is it that there is not a <target ifTrue=${prop}> [...]

It should be available with Ant2. In the meantime, you can either have a
modified Target.java (I did for a long time, in order to allow if/unless
to do a test-for-equality), work around it with <condition>, or <script>,
or setting things up to not need it (like having a default).

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to