Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 65156 invoked from network); 16 Apr 2004 14:47:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Apr 2004 14:47:01 -0000 Received: (qmail 57125 invoked by uid 500); 16 Apr 2004 14:46:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 56685 invoked by uid 500); 16 Apr 2004 14:46:47 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 56669 invoked from network); 16 Apr 2004 14:46:46 -0000 Received: from unknown (HELO tomts16-srv.bellnexxia.net) (209.226.175.4) by daedalus.apache.org with SMTP; 16 Apr 2004 14:46:46 -0000 Received: from athlon ([65.93.5.123]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040416144649.TJMH14198.tomts16-srv.bellnexxia.net@athlon> for ; Fri, 16 Apr 2004 10:46:49 -0400 Message-ID: <002e01c423c1$a862bd00$0d02a8c0@athlon> From: "Rhino" To: "Ant Users List" References: <20040416141504.34930.qmail@web20419.mail.yahoo.com> Subject: Re: Javac problem in Ant 1.6.1 Date: Fri, 16 Apr 2004 10:46:53 -0400 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.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N That fixed it! Thanks Matt! Rhino ----- Original Message ----- From: "Matt Benson" To: "Ant Users List" Sent: Friday, April 16, 2004 10:15 AM Subject: Re: Javac problem in Ant 1.6.1 > Just saw this recently: > http://marc.theaimsgroup.com/?t=108087280700001&r=1&w=2 > --Take the spaces out of your debuglevel attribute. > > -Matt > > --- Rhino wrote: > > I'm having a problem with the javac task in Ant > > 1.6.1. Even though I have debug set to 'on' and > > debuglevel includes the 'lines' argument, I get > > (Unknown Source) in my stacktrace for that module > > when an exception is detected. > > > > Here is my task: > > > destdir="${RDS.bin.dir}" compiler="modern" > > fork="yes" > > > > includes="${package}/IncomeClient.java, > > ${package}/IncomeProc.java" verbose="yes" > > > > debug="on" debuglevel="lines, vars, source" > > deprecation="yes" > > > > description="Compile client and procedure."/> > > > > > > > > Here is my stacktrace; the last line is one of the > > modules compiled in the task above: > > > > at java.lang.Throwable.(Throwable.java:96) > > > > at java.lang.Exception.(Exception.java:44) > > > > at > > java.sql.SQLException.(SQLException.java:45) > > > > at > > > COM.ibm.db2.jdbc.DB2Exception.(DB2Exception.java:72) > > > > at > > > COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(SQLExceptionGe nerator.java:275) > > > > at > > > COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(SQLExceptionGe nerator.java:212) > > > > at > > > COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(SQLExceptionGen erator.java:463) > > > > at > > > COM.ibm.db2.jdbc.app.DB2PreparedStatement.(DB2PreparedStatement.java:6 12) > > > > at > > > COM.ibm.db2.jdbc.app.DB2PreparedStatement.(DB2PreparedStatement.java:6 80) > > > > at > > > COM.ibm.db2.jdbc.app.DB2Connection.prepareStatement(DB2Connection.java:600) > > > > at > > notlogged.IncomeProc.getIncomeByHomeCountry(Unknown > > Source) > > > > As you can see, I'm not getting any line numbers for > > the module which I compiled via the javac task. > > > > I researched this in Google and couldn't find any > > reasons for not seeing line numbers in a stacktrace > > other than the failure to request debugging > > information during the compile. Am I doing something > > wrong or is there a bug in the javac task? > > > > I'm using Ant 1.6.1 on Windows XP. > > > > > > Rhino > > --- > > rhino1 AT sympatico DOT ca > > "If you're getting something for nothing, you're not > > using your own credit card." > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online by April 15th > http://taxes.yahoo.com/filing.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org