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 255785 - Please add a BSD 3-Clause License to the NetBeans license templates
Summary: Please add a BSD 3-Clause License to the NetBeans license templates
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Templates (show other bugs)
Version: 8.1
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-07 19:08 UTC by bdschubert
Modified: 2015-10-07 19:13 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (51.30 KB, text/plain)
2015-10-07 19:08 UTC, bdschubert
Details
BSD 3-Clause License Template (2.18 KB, text/plain)
2015-10-07 19:10 UTC, bdschubert
Details
Example User.properties (464 bytes, text/plain)
2015-10-07 19:13 UTC, bdschubert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bdschubert 2015-10-07 19:08:33 UTC
Reproducibility: Happens every time

Here is a template that I import into each version of NetBeans: license-bsd3.txt

<#if licenseFirst??>
${licenseFirst}
</#if>
${licensePrefix}Copyright (c) ${date?date?string("yyyy")}, ${copyright_holder!user} ${contact!""}
${licensePrefix}All rights reserved.
${licensePrefix?replace(" +$", "", "r")}
${licensePrefix}Redistribution and use in source and binary forms, with or without
${licensePrefix}modification, are permitted provided that the following conditions are met:
${licensePrefix?replace(" +$", "", "r")}
${licensePrefix}    - Redistributions of source code must retain the above copyright
${licensePrefix}      notice, this list of conditions and the following disclaimer.
${licensePrefix?replace(" +$", "", "r")}
${licensePrefix}    - Redistributions in binary form must reproduce the above copyright
${licensePrefix}      notice, this list of conditions and the following disclaimer in the
${licensePrefix}      documentation and/or other materials provided with the distribution.
${licensePrefix?replace(" +$", "", "r")}
${licensePrefix}    - Neither the name of ${copyright_holder!user}, ${organization!""} nor the names of its 
${licensePrefix}      contributors may be used to endorse or promote products derived
${licensePrefix}      from this software without specific prior written permission.
${licensePrefix?replace(" +$", "", "r")}
${licensePrefix}THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
${licensePrefix}ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
${licensePrefix}WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
${licensePrefix}DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
${licensePrefix}ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
${licensePrefix}(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
${licensePrefix}LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
${licensePrefix}ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
${licensePrefix}(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
${licensePrefix}SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<#if licenseLast??>
${licenseLast}
</#if>


Here is an example of my Template Settings:

#
# Here, or in other properties files in this directory, you can define
# various properties that you want to make available to the template
# processor while creating various templates.
#

# uncomment the next line and specify your user name to be used in new templates
user=Bruce Schubert
# the following three properties are used with the custom BSD3 license template
copyright_holder=Bruce Schubert
contact=<bruce@emxsys.com>
organization=Emxsys

license=bsd3
Comment 1 bdschubert 2015-10-07 19:08:39 UTC
Created attachment 156602 [details]
IDE log
Comment 2 bdschubert 2015-10-07 19:10:28 UTC
Created attachment 156603 [details]
BSD 3-Clause License Template
Comment 3 Jiri Kovalsky 2015-10-07 19:12:08 UTC
Reassigned for further evaluation.
Comment 4 bdschubert 2015-10-07 19:13:46 UTC
Created attachment 156604 [details]
Example User.properties