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 91548 - Support for project-specific license headers
Summary: Support for project-specific license headers
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-25 17:14 UTC by _ tboudreau
Modified: 2008-04-04 15:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2006-12-25 17:14:01 UTC
It would be nice if all files generated into a project could have a license
header included when the template is created, and new files created from
template could automatically have the header prepended.

Probably ideal would be a flat text license file in nbproject/, and possibly a
modification to DataObject.createFromTemplate() to allow header text to be
passed in (and the DataObject would then comment it appropriately in a
file-type-dependent way).
Comment 1 Jaroslav Tulach 2008-04-04 15:35:53 UTC
Fixed in 6.0: just modify project.properties to contian project.license=GPL, etc.