Thanks for the suggestion, but it didn't work.
The stack trace for that ant task still shows:
java.lang.NullPointerException
at java.io.File.<init>(File.java:180)
at de.pleumann.antenna.WtkMakePrc.executeWtk(Unknown Source)
at de.pleumann.antenna.WtkMakePrc.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at org.apache.tools.ant.Target.performTasks(Target.java:365)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
at org.apache.tools.ant.Main.runBuild(Main.java:669)
at org.apache.tools.ant.Main.startAnt(Main.java:220)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
The task code was compiled with <property name="build.debuglevel" value="lines,vars,source"/>


Steve

Matt Benson wrote:

--- Steve Kelem <[EMAIL PROTECTED]> wrote:


I'm trying to debug someone else's Ant Task code and
having the problem of getting "Unknown Source"
in the stack trace.
I've compiled (in ant) with debug="true",
debuglevel="lines,vars,source",



Sorry, Steve... I meant to respond to this the other day. If you want to try specifying -Djava.compiler=NONE as you run Ant itself, I believe it's that simple:

ant -Djava.compiler=NONE [other Ant args]

-Matt

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

---------------------------------------------------------------------
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]



Reply via email to