Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 2457 invoked from network); 24 Dec 2001 11:02:54 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 24 Dec 2001 11:02:54 -0000 Received: (qmail 12706 invoked by uid 97); 24 Dec 2001 11:03:01 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 12690 invoked by uid 97); 24 Dec 2001 11:03:01 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 12679 invoked from network); 24 Dec 2001 11:03:00 -0000 Message-ID: <008601c18c6a$8f119240$2401a8c0@hmorga.de> From: "Nico Seessle" To: "Ant Users List" References: Subject: Re: not being able 2 get ant working Date: Mon, 24 Dec 2001 12:03:01 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Radical Jain" To: 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: For additional commands, e-mail: