Not an expert on this so others more well versed in this then I can chime in
but thought I would put it in the thread...
Looking for Netbeans Templates I found reference (1) to FAQ for template
variables. From this I see some of the following:
${project.license} based on the value (e.g., 'CDDL'), the license header is
found and is inserted into the template.
How do I override those predefined variables?
Go to Tools | Templates.
Click the Set button,It will open the User.properties file from
NETBEANS_USERDIR/config/Templates/Properties/User.properties.
Now you can add the above and set your own value, for example:
The reference seems a little dated from around Netbeans 6+ so hopefully this is
still true. It expands on FreeMarker (2) which leads to a manual on FreeMarker
(3)
So then is it as simple as having guidance in setting their “user.properties”
earlier in the process?
Could maybe have wizard on first startup to set global user properties and
wizard on new project specific?
I would assume with most IDEs there is something similar, so maybe when
teaching it could expand on the awareness of the developer users details
including the type of work (local, open source, commercial), name, contact
details, as version control details on check ins, etc. The flip side of that is
the risk of not putting any such licensing could result in someone else taking
there source work and claiming it as their own, possibly earning money or just
not getting credit.
On a separate note...I’m not sure if the current status but didn’t the
wiki.netbeans.org get redirected or moved someplace on the Apache side at some
point? Did this get missed or is this a legacy doc which will remain there?
(1) http://wiki.netbeans.org/FaqTemplateVariables
(2) http://wiki.netbeans.org/FaqFreeMarker
(3) https://freemarker.apache.org/docs/
Eric Bresie
[email protected]