The project.license key in the nbproject/project.properties file does not seem to be read in certain project types, at
least PHP and Python projects, but it does work in Java projects.
Steps to reproduce:
1. Create PHP project
2. Open nbproject/project.properties and add in "project.license=apache20"
3. Create new PHP file
New PHP file is created with the apache20 license at the top.
PHP file contains the default license at the top.
It can be made to work by editing the PHP file template and setting the license line to <#include
The exact same steps work with Java projects.
*** Issue 168441 has been marked as a duplicate of this issue. ***
Fixed, please verify. Thanks.
Integrated into 'main-golden', will be available in build *200907160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Tomas Mysik <firstname.lastname@example.org>
Log: #167661: Template file does not read project.properties
Tested with daily build 200907171401 and can confirm it now uses the license template I added. Thanks! Not sure if this
is significant, but the built-in licenses, such as apache20 and mit, are blank.
I believe this bug still exists for Python projects though, and possibly others. Should another bug be opened for those?
> Should another bug be opened for those?
Yes, please. Add this issue for more information and possible fix. Thanks a lot.
*** Issue 170542 has been marked as a duplicate of this issue. ***