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 52920 - [50cat] The nbjpdastart task does not respect sourcepath
Summary: [50cat] The nbjpdastart task does not respect sourcepath
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks: 51607
  Show dependency tree
 
Reported: 2005-01-04 18:55 UTC by gugrim
Modified: 2010-04-29 09:20 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 gugrim 2005-01-04 18:55:30 UTC
As described by issue
http://www.netbeans.org/issues/show_bug.cgi?id=51005
the wrong sources can be used by the debugger when
the automatic "source for binary" querying is
used. To get around this problem I want to tell
the debugger exactly what sources to use, with the
sourcepath tag. The sources I specify are used but
they are not the only ones. The automatic querying
is still in effect and sources defined by
libraries are also (incorrectly) used, seemingly
with higher precedence than the once I specified
with the sourcepath. 

Don't know if this is a bug. If not then perhaps
the sourcepath tag could be equipped with an
option like "exclusive" that would allow me to say
"use these sources and ONLY these."
Comment 1 Jan Jancura 2005-01-10 08:53:54 UTC
I agree, sourcepath should be exclusive.
Comment 2 Jan Jancura 2005-04-13 09:26:54 UTC
No chance to fix in 4.1.
Comment 3 Peter Pis 2008-04-10 22:54:07 UTC
Changing TM for open issues.
Comment 4 Martin Entlicher 2008-11-10 15:47:05 UTC
sourcepath made exclusive in changeset:   107757:ea89e1fab816
http://hg.netbeans.org/main/rev/ea89e1fab816
Comment 5 Quality Engineering 2008-11-11 05:05:57 UTC
Integrated into 'main-golden', will be available in build *200811110201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ea89e1fab816
User: mentlicher@netbeans.org
Log: #52920 - Interpretting the sourcepath exclusively.
Comment 6 Martin Entlicher 2008-11-12 12:57:41 UTC
sourcepath must not be exclusive due to issue #153021.
This fix was rolled back in changeset:   107931:0e884198882d
http://hg.netbeans.org/main/rev/0e884198882d
Comment 7 Martin Entlicher 2008-11-12 13:23:24 UTC
It's better to add the exclusive attribute.
Comment 8 Martin Entlicher 2008-11-12 14:11:02 UTC
Implemented in changeset:   107943:244f4ed2a953
http://hg.netbeans.org/main/rev/244f4ed2a953

With <sourcepath exclusive="true"> the source path becomes exclusive. Otherwise it's added to the original source path.
Comment 9 Quality Engineering 2008-11-13 05:08:14 UTC
Integrated into 'main-golden', will be available in build *200811130201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0e884198882d
User: mentlicher@netbeans.org
Log: #153021 - Rollback of fix of issue #52920. sourcepath must not be exlusive.
Comment 10 Quality Engineering 2010-04-29 09:20:45 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.