ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Javia <>
Subject javac debug option not working
Date Thu, 30 Jul 2009 05:09:25 GMT


I am using Ant 1.7.1 with JDK 1.5.0_09.

I am building three JAR files. Source JAR, Classes JAR with -g and Classes
JAR without -g.

<javac debug="true" debuglevel="lines,vars,source" srcdir="${srcDir}"
	<fileset dir="${classpathDir}">
	  <include name="**/*.jar" />

<javac debug="off" srcdir="${srcDir}" destdir="${compiledWithOutgDir}">
	<fileset dir="${classpathDir}">
	  <include name="**/*.jar" />

<jar jarfile="${jarFile}" compress="true" basedir="${compiledWithOutgDir}"
<jar jarfile="${jarFileg}" compress="true" basedir="${compiledWithgDir}" />
<jar jarfile="${jarFileSrc}" compress="true" basedir="${srcDir}" />

When I use these JARs with IDE and try to debug the source JAR, I am not
able to do that. The IDE does not allow me to put a break point at source
with a message like No executable code found.

I am not able to figure out what is wrong with the script.


View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message