From conor@ebinteractive.com.au Wed Oct 4 22:23:22 2000 Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 36417 invoked from network); 4 Oct 2000 22:23:22 -0000 Received: from unknown (HELO smtp.cortexebusiness.com.au) (210.8.213.130) by locus.apache.org with SMTP; 4 Oct 2000 22:23:22 -0000 Received: (from daemon@localhost) by smtp.cortexebusiness.com.au (8.10.0/8.10.0) id e94MNG105103 for ; Thu, 5 Oct 2000 09:23:16 +1100 (EST) Received: from monkey(192.168.1.8), claiming to be "monkey.prod.thespot.com.au" via SMTP by ripley.devl.ebinteractive.com.au, id smtpdAAAy.aO8j; Thu Oct 5 09:23:10 2000 Received: (from daemon@localhost) by monkey.prod.thespot.com.au (8.10.0/8.10.0) id e94MNAV29504 for ; Thu, 5 Oct 2000 09:23:10 +1100 (EST) Received: from UNKNOWN(192.168.1.9), claiming to be "chunky.devl.ebinteractive.com.au" via SMTP by monkey, id smtpdAAAivaiN5; Thu Oct 5 08:23:04 2000 Received: from snotty (snotty.devl.ebinteractive.com.au [192.168.1.32]) by chunky.devl.ebinteractive.com.au (8.10.0/8.10.0) with SMTP id e94MN2418615 for ; Thu, 5 Oct 2000 09:23:03 +1100 (EST) From: "Conor MacNeill" To: Subject: RE: jdk1.2.2 javac debug attribute Date: Thu, 5 Oct 2000 09:23:42 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <39DB9C58.10DCF460@cpd.co.uk> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Ross, Not really an ant issue. This is due to the use of JIT in JDK 1.2.2 and not about the debug attribute of javac. You can try setting the environment variable, JAVA_COMPILER, like so. set JAVA_COMPILER=NONE (adjust the above for your favourite operating system) This will turn off the JIT and restore line numbers for you in the stacktraces. Cheers Conor -- Conor MacNeill conor@cortexebusiness.com.au Cortex eBusiness http://www.cortexebusiness.com.au > -----Original Message----- > From: rossg@shiva.golder.org [mailto:rossg@shiva.golder.org]On Behalf Of > Ross Golder > Sent: Thursday, 5 October 2000 8:09 > To: ant-user@jakarta.apache.org > Subject: jdk1.2.2 javac debug attribute > > > I have the following in my build.xml, but my stacktraces are not giving > line numbers (just says 'Compiled code' in their place). : > > > > ... > > destdir="${build.dest}" > debug="${debug}" > optimize="${optimize}"/> > > Fairly recent ant. Worked fine under JDK1.1.8, but not since upgrading > to JDK1.2.2. > > [rossg@durban cybertrax]$ java org.apache.tools.ant.Main -version > Ant version 1.1 compiled on July 21 2000 > > Any ideas why? > > -- > Ross > > Apathy on the rise, nobody cares! >