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.
Summary: | Creating a project with visual web framework creates a non visual JSP page | ||
---|---|---|---|
Product: | obsolete | Reporter: | Jayashri Visvanathan <jayashri> |
Component: | visualweb | Assignee: | Quy Nguyen <quynguyen> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | octaviant, potingwu |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | screenshot of the problem |
Description
Jayashri Visvanathan
2007-06-26 00:24:20 UTC
Created attachment 44383 [details]
screenshot of the problem
I also see it sometimes. It's a JSF loader issue. I have not been able to reproduce this problem. Is it still occurring? I no longer seeing this issue neither. Closing as no one has been able to reproduce this issue recently. I was able to reproduce this today. It appears that the order in which the files are generated differs between creation of a web project with the visual web framework and the addition of the visual web framework to an existing project. This was caused by a jsf project API changing its implementation to read the project.xml file to determine if a given file belongs to a visual web JSF project. This appears to have caused a race condition, since the project.xml file is modified during the addition of the framework, and this modification may not have been completed before the data loader acts. This was fixed by adding a FileObject attribute to the generated jsp/java files, so the loader does not need to read the project.xml file. Checking in src/org/netbeans/modules/visualweb/project/jsfloader/JsfJavaDataLoader.java; /cvs/visualweb/project/jsfloader/src/org/netbeans/modules/visualweb/project/jsfloader/JsfJavaDataLoader.java,v <-- JsfJavaDataLoader.java new revision: 1.5; previous revision: 1.4 done Checking in src/org/netbeans/modules/visualweb/project/jsfloader/JsfJavaDataObject.java; /cvs/visualweb/project/jsfloader/src/org/netbeans/modules/visualweb/project/jsfloader/JsfJavaDataObject.java,v <-- JsfJavaDataObject.java new revision: 1.4; previous revision: 1.3 done Checking in src/org/netbeans/modules/visualweb/project/jsfloader/JsfJspDataLoader.java; /cvs/visualweb/project/jsfloader/src/org/netbeans/modules/visualweb/project/jsfloader/JsfJspDataLoader.java,v <-- JsfJspDataLoader.java new revision: 1.7; previous revision: 1.6 done Checking in src/org/netbeans/modules/visualweb/project/jsfloader/JsfJspDataObject.java; /cvs/visualweb/project/jsfloader/src/org/netbeans/modules/visualweb/project/jsfloader/JsfJspDataObject.java,v <-- JsfJspDataObject.java new revision: 1.7; previous revision: 1.6 done Checking in src/org/netbeans/modules/visualweb/project/jsfloader/Utils.java; /cvs/visualweb/project/jsfloader/src/org/netbeans/modules/visualweb/project/jsfloader/Utils.java,v <-- Utils.java new revision: 1.3; previous revision: 1.2 done |