How can I write "If" statement?

I have some property and system variable. And I'd like to use property only
in case system variable is not set. How can I do this.

Or how can I display warning message in case of system property not defined.

Here is example.
    <property environment="env"/>
    <property name="was.home.default"
value="d:/Java/IBM/WebSphere/AppServer/lib"/>
    <property name="was.home.system"   value="${env.WAS_HOME}"/>
    ...
    And now, how can I define property "was.home" to use "was.home.system"
in case it is defined, or "was.home.default" in case of "was.home.system" is
not defined???
    


thanks
Paul Moukhataev.


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

Reply via email to