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 161209 - [67cat] Support separate licence files for different projects
Summary: [67cat] Support separate licence files for different projects
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker with 1 vote (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 00:35 UTC by dynamite
Modified: 2013-03-14 09:59 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 dynamite 2009-03-26 00:35:03 UTC
[ BUILD # : 200903250219 ]
[ JDK VERSION : 1.6.* ]

Currently NB has partial support for the header comment of various
sourced files.  It is however inflexible in that a user can only have
a single licence file that covers every (non-NB module) project that
they may create.  Compare with KDevelop where each project is
assigned its own licence file that can be written by the user or
selected (e.g. GPL).

My proposal is that new projects prompt for the required licence as
part of their initialisation via the wizards.  This licence is then
the header text that is used in each file.  Projects upgraded from
pre-licence versions of NB will prompt the user for the licence.

The licence text/header comment is made a full feature in the
NetBeans.  The Options will gain a licence tab that will contain the
available range of licences known to NetBeans.  This will be
pre-populated with GPL, GPL with CP exception, GPL3, Mozilla, CDDL,
Apache.  It will also give the user the option of entering extra
licences.  One licence will be identified as the default and is used
as the default header comment.

Each project can override the licence in its properties by name or
text.
Comment 1 Antonin Nebuzelsky 2010-03-29 14:10:59 UTC
Change of default owner.
Comment 2 Milos Kleint 2013-03-14 09:59:47 UTC
more or less implemented now. projects (currently maven + j2se, more on the way) have a customizer panel allowing the user to select a license from the IDE's default global set or select/create a license header template file located along with the project.