You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Russell Gold <ru...@acm.org> on 2001/06/15 16:55:43 UTC

ant with jdb

Is there a way to run ant - or more specifically a task such as <java> 
under debug?

Has anyone discussed adding anything to ant to facilitate this?

One obvious problem is that - at least under windows - ant generally needs 
to be started in a batch file to take notice of environment variables, and 
you cannot run jdb in a batch file. I don't know how this works under unix.

Perhaps more of the common processing (such as adding jars found in 
ANT_HOME/lib could be moved into ant.Main ?