[jug-discussion] Re: More Fun with ANT

2003-05-29 Thread Thomas Hicks
As long as we're doing an Ant clinic...I have a problem which is
bugging me...when I use Ant to build and then get an exception
with a stack trace (yes, it happens), the location of the error
(for code compiled with Ant) cannot be determined. This seems
to be some Javac task flag that Ant is setting which turns off
this debugging information. Long ago, I checked the docs for
the Javac task and there were several flags one could set
(albeit very poorly documented) but none of them seemed
to solve this problem. Any help appreciated.
-tom
At 03:20 PM 5/27/2003 -0400, you wrote:
On Tuesday, May 27, 2003, at 03:11  PM, Drew Davidson wrote:
Erik, it took you 26 minutes to reply to this.  You're slipping :-)
I was too busy with the *ant-user* list, sorry!  :))




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


Re: [jug-discussion] Re: More Fun with ANT

2003-05-29 Thread Erik Hatcher
Sheesh... here we go again!  :))

You're telling me this - 
http://ant.apache.org/manual/CoreTasks/javac.html - is not documented 
well?  debug=true is what you're after here.

I presume you mean a stack trace from your application, not from the 
run of your build.

	Erik



On Wednesday, May 28, 2003, at 01:29  PM, Thomas Hicks wrote:
As long as we're doing an Ant clinic...I have a problem which is
bugging me...when I use Ant to build and then get an exception
with a stack trace (yes, it happens), the location of the error
(for code compiled with Ant) cannot be determined. This seems
to be some Javac task flag that Ant is setting which turns off
this debugging information. Long ago, I checked the docs for
the Javac task and there were several flags one could set
(albeit very poorly documented) but none of them seemed
to solve this problem. Any help appreciated.
-tom
At 03:20 PM 5/27/2003 -0400, you wrote:
On Tuesday, May 27, 2003, at 03:11  PM, Drew Davidson wrote:
Erik, it took you 26 minutes to reply to this.  You're slipping :-)
I was too busy with the *ant-user* list, sorry!  :))




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



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


Re: [jug-discussion] Re: More Fun with ANT

2003-05-29 Thread Terence Rudkin
Tom,

I am sure other can fill in more detail, but having been there myself
recently, debug=true is what you need.  Adding debuglevel allows you to
customize the settings.   

snip url=http://ant.apache.org/manual/CoreTasks/javac.html
Indicates whether source should be compiled with debug information;
defaults to off. If set to off, -g:none will be passed on the command
line for compilers that support it (for other compilers, no command line
argument will be used). If set to true, the value of the debuglevel
attribute determines the command line argument.
/snip 


On Wed, 2003-05-28 at 10:29, Thomas Hicks wrote:
 As long as we're doing an Ant clinic...I have a problem which is
 bugging me...when I use Ant to build and then get an exception
 with a stack trace (yes, it happens), the location of the error
 (for code compiled with Ant) cannot be determined. This seems
 to be some Javac task flag that Ant is setting which turns off
 this debugging information. Long ago, I checked the docs for
 the Javac task and there were several flags one could set
 (albeit very poorly documented) but none of them seemed
 to solve this problem. Any help appreciated.
  -tom
 
 At 03:20 PM 5/27/2003 -0400, you wrote:
 On Tuesday, May 27, 2003, at 03:11  PM, Drew Davidson wrote:
 Erik, it took you 26 minutes to reply to this.  You're slipping :-)
 
 I was too busy with the *ant-user* list, sorry!  :))
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 

TR

--  The significant  problems we face cannot be solved at the same level of thinking 
we were at when we created them.
--Albert Einstein 


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