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 141092 - relative library paths not resolved properly
Summary: relative library paths not resolved properly
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Konecny
URL:
Keywords: REGRESSION
Depends on:
Blocks: 46813
  Show dependency tree
 
Reported: 2008-07-22 01:28 UTC by David Konecny
Modified: 2008-10-16 15:58 UTC (History)
4 users (show)

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 David Konecny 2008-07-22 01:28:08 UTC
Create a sharable library with relative reference (starting with "../") to Javadoc/sources and notice that Go to Source
and Show Javadoc does not work.  Regression cased by issue 46813: "libBase.toURI().resolve(libraryEntry)" (in
LibrariesSupport.java) was changed to append libraryEntry to libBase which produces for example

  jar:file:/lib/base/path/../../relative/library/entry/path.jar!/

instead of

  jar:file:/lib/relative/library/entry/path.jar!/

I have a fix.
Comment 1 David Konecny 2008-07-22 22:38:02 UTC
0bc41ad86930
Comment 2 Quality Engineering 2008-07-23 11:40:14 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #339 build
Changeset: http://hg.netbeans.org/main/rev/0bc41ad86930
User: David Konecny <dkonecny@netbeans.org>
Log: #141092 - relative library paths not resolved properly
Comment 3 Tomas Danek 2008-10-16 15:58:25 UTC
mentioned scenario works for me in 6.5 rc1 build. verified.