You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Nico Seessle <ni...@apache.org> on 2001/12/24 12:03:01 UTC

Re: not being able 2 get ant working

----- Original Message -----
From: "Radical Jain" <ra...@corewars.org>
To: <an...@jakarta.apache.org>
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: not being able 2 get ant working

Posted by Radical Jain <ra...@corewars.org>.
Thanx!!! Its working now!!!!

-Anks
On Mon, 24 Dec 2001, Nico Seessle wrote:

> ----- Original Message -----
> From: "Radical Jain" <ra...@corewars.org>
> To: <an...@jakarta.apache.org>
> 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:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>