Hello together,

under w2k with ant1.3 i have the following error, if i want to get the
tomcat.home from the environment like this:

  <property environment="env" />
  <property name="deploy.home"
value="${env.TOMCAT_HOME}/webapps/${app.name}"/>


And here the error:

java.lang.String.IndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1503)
    at
org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:248)



Does anybody know this problem?

bye
benjamin thym

Reply via email to