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: | license template path set incorrectly for unit test creation | ||
---|---|---|---|
Product: | platform | Reporter: | bondolo <bondolo> |
Component: | Data Systems | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
bondolo
2014-12-04 20:49:34 UTC
the license path returned by maven's CreateFromTemplateAttributesProvider implementation is "Users/mikeduigou/code/Foo/../Bar/license-proprietary.fm" so far not sure what maven could do about the reported problem please evaluate See [1], section "License Header" The file needs to be registered using Tools -> Templates -> (item) Licenses -> Add... -> (select e.g. license-MY_NAME.txt file) -> Add If the file name doesn't match "license-*.txt" format, you can use the "Rename" button after adding it. Then, the property in pom.xml will contain only the middle part of the file name: <netbeans.hint.license>MY_NAME</netbeans.hint.license> Hope this helps. [1] http://wiki.netbeans.org/MavenBestPractices |