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 62743 - Obsolete message in java templates
Summary: Obsolete message in java templates
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
: 62916 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-22 09:01 UTC by Milan Kubec
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

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 Milan Kubec 2005-08-22 09:01:25 UTC
[dev-200508211800, JDK 1.5.0_04]

Java template files contain information:

 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.

which is not the correct way to customize template now since there is Template
Manager in Tools menu to do that in better way.
Comment 1 Jan Becicka 2005-08-24 09:34:55 UTC
*** Issue 62916 has been marked as a duplicate of this issue. ***
Comment 2 Pavel Flaska 2005-08-26 09:13:27 UTC
This change maybe affect doc and we need new text, Cc'ing Patrick as native
speaker. Cc'ing also Jirka as Template Manager author.
Comment 3 Martin Matula 2005-08-26 09:25:32 UTC
The text approved by the usability folks is:
* To change this template, choose Tools | Template Manager
* and open the template in the editor.

(I didn't get an explicit approval, but I got no negative comments - just a
positive one)

I think you can go ahead and change it. Just note that the Java templates are
kept in two places (as far as I know) - (I think in j2seproject and in java
module - I am not sure)
Comment 4 Pavel Flaska 2005-08-26 13:02:56 UTC
Checking in
project/src/org/netbeans/modules/java/project/resources/AnnotationType.template;
/cvs/java/project/src/org/netbeans/modules/java/project/resources/AnnotationType.template,v
 <--  AnnotationType.template
new revision: 1.4; previous revision: 1.3
done
Checking in project/src/org/netbeans/modules/java/project/resources/Enum.template;
/cvs/java/project/src/org/netbeans/modules/java/project/resources/Enum.template,v
 <--  Enum.template
new revision: 1.4; previous revision: 1.3
done
Checking in src/org/netbeans/modules/java/resources/templates/Applet.template;
/cvs/java/src/org/netbeans/modules/java/resources/templates/Applet.template,v 
<--  Applet.template
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/modules/java/resources/templates/Class.template;
/cvs/java/src/org/netbeans/modules/java/resources/templates/Class.template,v 
<--  Class.template
new revision: 1.9; previous revision: 1.8
done
Checking in src/org/netbeans/modules/java/resources/templates/Exception.template;
/cvs/java/src/org/netbeans/modules/java/resources/templates/Exception.template,v
 <--  Exception.template
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/modules/java/resources/templates/Interface.template;
/cvs/java/src/org/netbeans/modules/java/resources/templates/Interface.template,v
 <--  Interface.template
new revision: 1.7; previous revision: 1.6
done
Checking in src/org/netbeans/modules/java/resources/templates/JApplet.template;
/cvs/java/src/org/netbeans/modules/java/resources/templates/JApplet.template,v 
<--  JApplet.template
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/modules/java/resources/templates/Main.template;
/cvs/java/src/org/netbeans/modules/java/resources/templates/Main.template,v  <--
 Main.template
new revision: 1.10; previous revision: 1.9
done
Comment 5 Milan Kubec 2005-08-30 13:15:49 UTC
Verified in dev-200508291800.