ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "b. thym" <be...@thym.de>
Subject environment
Date Wed, 21 Mar 2001 11:32:43 GMT
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


Mime
View raw message