b. thym <[EMAIL PROTECTED]> wrote:
> But ant doesn't recognize my tomcat.home. I set it correctly in the
> environment.
Ant properties and OS environment variables have no relation - at
least not by default. You could invoke Ant using
-Dtomcat.home=${TOMCAT_HOME} of %TOMCAT_HOME% depending on the OS.
If you are using Ant 1.3, you can achieve what you want by
<property environment="env" />
<property name="deploy.home" value="${env.TOMCAT_HOME}/webapps/${app.name}"/>
Stefan
- tomcat.home b. thym
- Stefan Bodewig
