----- Original Message -----
From: "Radical Jain" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 24, 2001 4:59 PM
Subject: not being able 2 get ant working


> Hi,
> I have installed ant 1.3 and have jdk 1.3 installed.
> I am trying 2 compile the examples included with the j2ee tutorial.
> When i issue the cmd
>
> $ant web
> or $ant all
> or any target for that matter, i get a "StringIndexOutOfBounds
> Exception: String index out of range : -1".
> I tried ant -debug web, that showed that this exception occurs after
>
> [property] Loading Environment myenv
>

Please try a newer build of Ant (Ant 1.4.1 is the current release). There
was a bug in older Versions (pre 1.4) that throws a
StringIndexOutOfBoundsException if there is an environment variable that
contains a "newline".

Nico



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to