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.
Summary: | Fix references adds absolute paths into private properties even if not needed | ||
---|---|---|---|
Product: | projects | Reporter: | Tomas Mysik <tmysik> |
Component: | Ant | Assignee: | Tomas Zezula <tzezula> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic, tzezula |
Priority: | P2 | ||
Version: | 8.0.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 245979 | ||
Attachments: | proposed fix |
After discussion with TomasZ, reassigning to him. Thanks! Fixed jet-main dd930fb69391 Transplanted into release801: 6520adc555a9 Integrated into 'main-silver', will be available in build *201408060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/dd930fb69391 User: Tomas Zezula <tzezula@netbeans.org> Log: #245995:Fix references adds absolute paths into private properties even if not needed Issue 245979 is now working fine, thanks Product Version: NetBeans IDE Dev (Build 201408070001) Java: 1.8.0_11; Java HotSpot(TM) Client VM 25.11-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb) Integrated into 'releases/release801', will be available in build *201408071314* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/6520adc555a9 User: Tomas Zezula <tzezula@netbeans.org> Log: #245995:Fix references adds absolute paths into private properties even if not needed Verified in 8.0.1 based on the 245979 Product Version: NetBeans IDE 8.0.1 RC1 (Build 201408072300) Java: 1.8.0_11; Java HotSpot(TM) Client VM 25.11-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12 System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb) |
Created attachment 148312 [details] proposed fix Found when investigating issue #245979. The problem is that ReferenceHelper.fixReferences() adds absolute paths into private properties even if it is not needed - this is IMHO wrong. Attaching proposed fix, the full path is added into private.properties _only_ if it is already there. I just verified that it solves issue #245979 (and does not break any test in your module :). Marking as P2 since issue #245979. I hope that I am not wrong, thanks.