ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darin Swanson <Darin_Swan...@us.ibm.com>
Subject Re: debug ANT
Date Thu, 03 Feb 2005 17:38:29 GMT
Likely better to ask these questions in an Eclipse based forum (such as 
the eclipse.platform newsgroup)

On the JRE tab for your Ant launch configuration specify the following VM 
arguments in the VM arguments text pane:
-Xdebug -Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000

Once you launch this Ant build, it will suspend and wait for a remote 
debug attach.
Run>Debug...>Remote Java Application>New>Debug

You may need to adjust the source lookup path as required but this will 
get you started.

HTH
Darins




"Rajiv Jaitly" <Rajiv.Jaitly@lchclearnet.com> 
02/03/2005 07:04 AM
Please respond to
"Ant Users List"


To
<user@ant.apache.org>
cc

Subject
debug ANT






++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please read the disclaimer at the bottom of this e-mail.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Hi, 

I intend to debug ant targets (junits test / java application) from 
eclipse. is there anyway to start Ant in debug mode from eclipse and 
attach to the process to debug it ?

Thanks

Raj


**********************************************************************
This email is intended for the named recipient(s) only. Its contents
are  confidential and may only be retained by the named recipient(s)
and may only be copied or  disclosed  with the consent of 
LCH.Clearnet Limited.   If you are not an intended recipient please
delete this e-mail and notify postmaster@lchclearnet.com.

The contents  of this  email are  subject to  contract in all cases, 
and LCH.Clearnet Limited makes no contractual commitment save where
confirmed by hard copy.  LCH.Clearnet Limited accepts no liability, 
including liability for negligence, in respect of any statement in 
this email.

LCH.Clearnet Limited, Registered Office: Aldgate House, 
33 Aldgate High Street, London EC3N 1EA.    Recognised as a Clearing 
House under the Financial Services & Markets Act 2000. Reg in England 
No.25932 
Telephone: +44 20 7426 7000              Internet: 
http://www.lchclearnet.com
**********************************************************************



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message