Hi -
I'm trying to get the J2EE examples to compile using cygwin. It compiles
fine under a W2K command prompt, but fails with the following error. I
apologize in advance if this is not the right forum for this question, but
if anybody has any ideas, my thanks in advance.
$ ant.bat converter
Buildfile: build.xml
init:
BUILD FAILED
d:\java\j2eetutorial\examples\src\build.xml:18: d:\java\j2eetutorial\examples\s
c\build.xml:18: java.lang.StringIndexOutOfBoundsException: String index
out of
ange: -1
--- Nested Exception ---
d:\java\j2eetutorial\examples\src\build.xml:18: java.lang.StringIndexOutOfBound
Exception: String index out of range: -1
--- Nested Exception ---
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1525)
at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java
248)
at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
Total time: 0 seconds
Free, encrypted, secure Web-based email at www.hushmail.com