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 57367 - [41cat] author last name dropped
Summary: [41cat] author last name dropped
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-02 03:59 UTC by schwarcz
Modified: 2008-12-01 21:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
console output and samples XML and Enum (3.54 KB, text/plain)
2005-04-05 17:17 UTC, schwarcz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schwarcz 2005-04-02 03:59:50 UTC
[ BUILD # : 20050329 ]
[ JDK VERSION : 1.5.0_02 ]

If I create a new java class the author gets filled in with my first name and last name.  If I create a new XML document, the author gets filled in with my first name only so i have to type in my last name.

A nit for sure, but an irritation.
Comment 1 Jiri Kovalsky 2005-04-04 10:50:32 UTC
I can't reproduce this. Please note that wizard takes value of USERNAME
environment variable for this field. Can you please run "echo %USERNAME%"
command at command line prompt to verify that it contains different text than
what is used when generating the XML file ?
Comment 2 schwarcz 2005-04-04 22:03:12 UTC
%USERNAME% echoes as Carl

But if I create a new Java enum or a new Java class or a new Java main class, it
shows Carl Schwarcz as the author.  :-)
Comment 3 Jiri Kovalsky 2005-04-05 08:51:13 UTC
I still can't reproduce it with development build #200504031800 of NetBeans 4.1
with JDK 1.5.0_03 build #06. Can you please attach full output of set command here ?
Comment 4 schwarcz 2005-04-05 17:17:09 UTC
Is it possible that there is a common field used by the java templates that has
been modified on our side (perhaps as far back as NB 3.5)?  

I'm attaching the output from set as well as the newly created XML file and a
newly created Java Enum...
Comment 5 schwarcz 2005-04-05 17:17:49 UTC
Created attachment 21396 [details]
console output and samples XML and Enum
Comment 6 Samaresh Panda 2008-12-01 21:37:38 UTC
Verified in 6.5 and it appears to be working.