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.
Python templates don't honor the project.license property setting. They always use the value of "default". The workaround given below for Ruby templates works for Python as well. Copied from Issue # 148285 Re: Ruby templates. According to http://platform.netbeans.org/tutorials/60/nbm-filetemplates.html#license, I should be able to set project.license in the project.properties file to make the template include a different license than the default. I have followed the instructions in the above tutorial for a Java project and see that it works. When I try it with Ruby templates, the project.license is never read and the license is always the default. If I have the template print out project.license it prints "default" and not "ruby". Workaround: replace ${project.license} with ${license} and put license=ruby in the User Configuration Properties > User.properties template. However, if you are sharing the project, this won't affect other uses. There should be a way to set the license for a project.
A little over a year later and this issue seems to still exist (I ran a truss on the running NetBeans process and noticed that while the project.properties file was opened, it was never read). Has anyone looked into a fix for this yet, possibly?
I have the same problem with Java Class template with current NB DEV version. project.license property in project.properties file is not used and default license is applied.
Sadly this is still a thing.