you don't need an if statement at all. On Mon, 4 Mar 2002, Pavel Muhataev wrote: > Here is example. > > value="d:/Java/IBM/WebSphere/AppServer/lib"/> > > 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??? The second line will set the property env.WAS_HOME to your default value, only if there is no environment variable named WAS_HOME. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: