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 244482 - OpenBrandingEditorAction enablement logic assumes relative path in brandingPath() method
Summary: OpenBrandingEditorAction enablement logic assumes relative path in brandingPa...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-14 09:47 UTC by Milos Kleint
Modified: 2014-05-24 05:03 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 Milos Kleint 2014-05-14 09:47:08 UTC
the brandingPath() method in OpenBrandingEditorAction assumes relative path will be returned only, however that's not the case when expressions are used for example eg.. ${build.directory}/nbm-branding.

fix involves using FileUtilities.resolveFilePath() from maven APIs to resolve the path as either relative to basedir or absolute.
Comment 1 Martin Kozeny 2014-05-23 13:29:53 UTC
https://hg.netbeans.org/core-main/rev/a7d1441675f1
Comment 2 Quality Engineering 2014-05-24 05:03:38 UTC
Integrated into 'main-silver', will be available in build *201405240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/a7d1441675f1
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #244482: OpenBrandingEditorAction enablement logic assumes relative path in brandingPath() method.