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 15782 - SAX Generator doesn`t overwrite virtual host nodes.
Summary: SAX Generator doesn`t overwrite virtual host nodes.
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ lkramolis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-21 13:49 UTC by issues@www
Modified: 2007-09-25 01:33 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed fix. (1.91 KB, patch)
2002-01-15 14:30 UTC, _ lkramolis
Details | Diff
New patch, which fix problems with rewriting old generated files. (3.21 KB, patch)
2002-01-15 16:36 UTC, _ lkramolis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description issues@www 2001-09-21 13:49:26 UTC
Description: 

[FFJ Build 010724_1 CE , Red Hat Linux 6.2 with JDK 1.3.1]

Steps to reproduce:
-------------------
1) on a CVS filesystem generate SAX handler
2) remove generated classes
3) refresh the filesystem
4) generate SAX handler again

Generate action do nothing. But if you set netbeans.debug.xml properties
on true IDE throws into console:

Ignoring:
org.openide.src.SourceException$IO:
        at
org.netbeans.modules.java.parser.ParsingSupport$Processor.parseLockModel(ParsingSupport.java:603)
        at
org.netbeans.modules.java.parser.ParsingSupport$Processor.run(ParsingSupport.java:535)
        at org.openide.util.Task.run(Task.java:124)
        at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:626)


Evaluation: 

xxx@xxxx 2001-09-21 Is not it problem of java module?

A comment.
Comment 1 Jan Chalupa 2001-11-27 17:38:47 UTC
Target milestone -> 3.3.1.
Comment 2 Jan Chalupa 2001-11-27 17:42:13 UTC
Target milestone -> 3.3.1.
Comment 3 _ lkramolis 2002-01-15 14:28:47 UTC
FileObject, which represents file, which is stored in CVS repository,
but which is not checked out - such file is virtual. Fix contains
check, if working FileObject is virtual to do something different.

Petr, could you review my changes - fixed in main trunk.
Comment 4 _ lkramolis 2002-01-15 14:30:45 UTC
Created attachment 4170 [details]
Proposed fix.
Comment 5 _ lkramolis 2002-01-15 15:41:04 UTC
Current fix has problems with rewriting old generated files.
Comment 6 _ lkramolis 2002-01-15 16:36:10 UTC
Created attachment 4179 [details]
New patch, which fix problems with rewriting old generated files.
Comment 7 _ lkramolis 2002-01-15 16:38:05 UTC
Petr, could you review this fix, please? Thanks.
Comment 8 _ pkuzel 2002-01-15 17:20:29 UTC
I reviewed and tested it.
Comment 9 _ lkramolis 2002-01-15 17:29:49 UTC
Could you approve it, please?
Comment 10 brinkley 2002-01-15 17:36:54 UTC
approved
Comment 11 Martin Balin 2002-01-16 08:29:02 UTC
Approved.
Comment 12 iformanek 2002-01-16 08:50:42 UTC
Approved
Comment 13 eadams 2002-01-16 10:25:17 UTC
Approved.
Comment 14 _ lkramolis 2002-01-16 11:41:16 UTC
Fixed in release33 branch.
Comment 15 Martin Schovanek 2002-01-21 19:55:35 UTC
VERIFIED
Comment 16 Quality Engineering 2003-07-02 08:37:45 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.