Ran into Netbeans bug 163029 today. Wish I hadn’t spent a couple hours trying to figure out why it wouldn’t work.
Netbeans has a nifty template system and I decided that I would take advantage of it. I found a handy tutorial to take it a step further and create a template module that could be distributed. Even if no one else ever used this, it would make it easy for me to put the template in on any new install, system, etc. So I went through the steps and things worked nicely, then I decided to change the header to include the license. I went to set my default license and that is where things stopped. I was supposed to be able to add a line to nbproject/project.properties that would cover this. I did, but the template kept loading the default. I thought it was me, but it isn’t.
There is a work-around but it takes place at the user level and requires altering the template in a way that isn’t going to work for anyone else unless they’ve monkeyed with their settings too. Hopefully it will get fixed soon.


Comments
Leave a comment