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 151505 - share project license
Summary: share project license
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2008-10-27 17:42 UTC by ritzmann
Modified: 2011-08-31 14:08 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description ritzmann 2008-10-27 17:42:00 UTC
I was using the Maven plugin functionality to pick up a license for the project with netbeans.hint.license. That works 
fine and the license text gets inserted into newly created Java files after a template was created with Tools - 
Templates. That template gets stored in the local NetBeans configuration directory. I would much rather store this 
template in the project so that it can be shared without everyone having to manually create a template in NetBeans.
Comment 1 _ rkubacki 2010-09-08 13:03:32 UTC
It is not Maven specific. Basically every non-private project of any kind that uses license headers in sources needs this support. It is wrong to ask everyone in the team to configure their IDE (because license templates can only refer to content of system filesystem and cannot read project license data/content from real project data).

Please add a way how to include files relative to the project into file templates.