On Wed, 30 Jan 2002, Peter Kesch <[EMAIL PROTECTED]> wrote: > <property environmetnt="env" /> > <property name="tomcathome" value="${env.TOMCAT_HOME}" /> > > <condition property="tomcatset"> > <and> > <equals arg1="${tomcathome} arg2= ????? /> > </and> > </condition> > > but what is ${tomcat} set to if the environment TOMCAT_HOME isn't > set ?????
${env.TOMCAT_HOME} literally. So arg2 would be $${env.TOMCAT_HOME}, note the double $ sign. In Ant 1.5 there will be an <isset> condition. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>