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 15395 - [upgrade]Upgrade from 3.2 to dev
Summary: [upgrade]Upgrade from 3.2 to dev
Status: CLOSED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-12 12:45 UTC by Jan Lahoda
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Whole IDE log. (26.04 KB, text/plain)
2001-09-12 13:14 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2001-09-12 12:45:02 UTC
I tried upgrade from release 3.2 to dev build 200109120100. All java editor
options were deserialized correctly, except:
all fonts&colors beginning with java- (as Issue #15122)
indent engine setting in Java Editor.

In console, while starting, are printed texts like:
!!!!!!!!!!!!!!!!!!!!!!!!class
org.netbeans.modules.editor.options.FontsColorsMIMEProcessor type file haven't
been found in folder:org.openide.loaders.DataFolder@43e3fb[Editors/text/plain]

Message like this is also printed when trying to get indent engine.
Comment 1 Jan Lahoda 2001-09-12 13:14:52 UTC
Created attachment 2516 [details]
Whole IDE log.
Comment 2 Jan Lahoda 2001-09-12 13:44:51 UTC
Sorry, I forgot, my 3.2 build is 98 (so in real 3.2.1).
Comment 3 Jan Lahoda 2001-09-14 11:02:46 UTC
COmpatibility issue.
Comment 4 Martin Roskanin 2001-09-15 15:53:45 UTC
The problem:
Creation of new FileObject of XML type 

FileObject fileObject = folder.getPrimaryFile().createData("fileName", 
"xml");

and following 

DataObject dobj = DataObject.find(fileObject);

will bring the following results in accordance with the importing OR 
not importing settings from NB 3.2.1:

1) If you don't import settings:
created fileObject:Editors/text/x-properties/macros.xml
finded 
DO:org.openide.loaders.XMLDataObject@ab67f[Editors/text/x-properties/m
acros.xml]
That is right.

2) If you import settings from NB 3.2.1 via startup parameter
-user <path>

created fileObject:Editors/text/x-properties/macros.xml
finded 
DO:org.apache.tools.ant.module.loader.AntProjectDataObject@31a9a8[Edit
ors/text/x-properties/macros.xml]

And that's bad. *.xml file should be treated as XMLDataObject.

That's why next creation of editor settings XML file crashes.
Although all options are deserialized correctly, they aren't stored in 
XML files. It results that in the next IDE session all settings will 
be lost. Problem with java- is already solved.

Because of these facts I will close this bug as WONTFIX. It is the 
problem of some other module, I am not sure which. Maybe openide or 
core.
I am going to check if the bug is already entered in Issuezilla ...







Comment 5 Martin Roskanin 2001-09-17 10:15:35 UTC
I have entered an issue
http://www.netbeans.org/issues/show_bug.cgi?id=15547
Comment 6 Quality Engineering 2003-06-30 18:02:15 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 7 Quality Engineering 2003-06-30 18:12:50 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.