This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 65927 - Using property for ant file results in debugger failure
Summary: Using property for ant file results in debugger failure
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks: 56459
  Show dependency tree
 
Reported: 2005-10-05 07:18 UTC by sviyer
Modified: 2010-04-29 09:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sviyer 2005-10-05 07:18:52 UTC
We use properties to determine ant file.

We have a target like this

<target name="doc" description="Help Document for App" depends="init">
  <ant antfile="${build.xml.file}" target="help" inheritall="true"
inheritrefs="true"/>
  </target>

Note that the antfile refers to a property value.

The ant debugger fails with the follwing message:

-------------------------------- start -----------------
project-build.xml:27: The following error occurred while executing this line:
java.lang.InternalError: path not found
BUILD FAILED (total time: 3 seconds)
------------------------ end --------------------
Comment 1 Jesse Glick 2005-10-06 00:26:03 UTC
Thrown from AntDebugger.updateInternalStack.
Comment 2 Martin Entlicher 2005-10-24 15:31:52 UTC
Reproduced. Run Target works fine, but Debug Target not.
Comment 3 Martin Entlicher 2005-10-24 15:52:48 UTC
This is caused by a limitation of the ant debugger - it suppose that just one
script is debugged. It does not consider debugging accross several scripts. This
needs to be added...
Comment 4 Martin Entlicher 2005-10-31 14:22:18 UTC
The AntDebugger class was mostly rewritten, the concept of creating a call stack
was changed:

/cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/AntDebugger.java,v  <--
 AntDebugger.java
new revision: 1.3; previous revision: 1.2

/cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/DebuggerAntLogger.java,v
 <--  DebuggerAntLogger.java
new revision: 1.3; previous revision: 1.2
Comment 5 Quality Engineering 2010-04-29 09:25:50 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.