Laird Nelson wrote:

I see.  So suppose there is a plugin goal named world:destroy and I only
want to run it if the property evil.dictator is set.  How would I do this?
I don't want it to be an error if someone tries to run it without said
property; I just want to silently do nothing.  On the other hand, if that
property is set, then I would like to run the plugin goal.

From where I sit this seems to be impossible.
This is just from the top of my head so I haven't tried it but I think this will work:

<goal name="world:destroy">
    <if test="${evil.dictator}">
         <!-- destroy world -->
    </if>
**</goal>

If the property evil.dictator is set to "true" then the world is destroyed when the goal is run.

HTH,
Henry

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

Reply via email to