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 169172

Summary: Rename template doesn't change the filename
Product: ide Reporter: ecerulm <ecerulm>
Component: CodeAssignee: issues@ide <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description ecerulm 2009-07-25 20:09:35 UTC
Steps to reproduce
1) Tools - Templates 
2) select Licenses - Default license 
3) Duplicate
4) Rename to license-gplv3.txt
5) the template remains as  ~/6.7//config/Templates/Licenses/license-default_1.txt in the filesystem


The fact that the filename is not changes makes the 
project.license=gplv3 

in project.properties useless. Because the template system will try to use license-gplv3.txt instead

Error reading included file Templates/Classes/../Licenses/license-gplv3.txt 


The workaround is to rename the filename directly in the filesystem but then the template cannot be managed  via Tools - Templates.
Comment 1 Ivan Sidorkin 2009-07-27 12:49:36 UTC
duplicate of Issue 168788 

*** This issue has been marked as a duplicate of 168788 ***