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 267228 - Setting project.licensePath for NB module development doesn't work
Summary: Setting project.licensePath for NB module development doesn't work
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-20 18:05 UTC by westrick85
Modified: 2016-07-20 18:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Excerpt of messages.log with error and stack trace (5.55 KB, application/octet-stream)
2016-07-20 18:05 UTC, westrick85
Details
Test module project showing the error (4.65 KB, application/x-zip-compressed)
2016-07-20 18:07 UTC, westrick85
Details

Note You need to log in before you can comment on or make changes to this bug.
Description westrick85 2016-07-20 18:05:58 UTC
Created attachment 161352 [details]
Excerpt of messages.log with error and stack trace

I am attempting to set a custom license template for a NB module project. There is no option in the project settings dialog, so I just added project.licensePath to nbproject/project.properties. I also created the license template in nbproject/license-custom.txt.

When I create a new Java file, instead of the custom license, the first line of the file says this:  Error reading included file Templates/Classes/C:\dev\module1\nbproject\license-custom.txt
Comment 1 westrick85 2016-07-20 18:07:38 UTC
Created attachment 161353 [details]
Test module project showing the error