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 - Rename template doesn't change the filename
Summary: Rename template doesn't change the filename
Status: RESOLVED DUPLICATE of bug 168788
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-25 20:09 UTC by ecerulm
Modified: 2009-07-27 12:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***