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 139542

Summary: after renam proj wsimport generated code isn't recognize within editor
Product: webservices Reporter: oaspublic <oaspublic>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: RESOLVED FIXED    
Severity: blocker CC: jlahoda, tzezula
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 105645    
Bug Blocks:    

Description oaspublic 2008-07-10 09:20:48 UTC
After rename a project (also rename dir) with wsimport created files the editor tools(?) don't see the generated classes.
I try to rebuild the classes with the wsimport from WebServiceReferences but the error already exits. The code run well
and also clean/ build works well. Only the editor don't know that there are genereated files.

Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows 2000 version 5.0 running on x86; Cp1252; en (nb)
Userdir: C:\Dokumente und Einstellungen\Mueller\.netbeans\6.1

regards Dietmar
Comment 1 oaspublic 2008-07-14 11:45:04 UTC
After some (or one) restart from ide the problem is solved
Comment 2 Milos Kleint 2008-07-14 12:19:44 UTC
reassigning to webservices
Comment 3 Milan Kuchtiak 2008-09-05 14:52:31 UTC
Yes,

Another workaround is to open Project's properties window - and close it, or Close & Open the project.

Need help from Netbeans core guys - how to make sources generated in build/generated directory available for CC, after
project is renamed.
Comment 4 Milan Kuchtiak 2008-11-20 13:39:18 UTC
We expect project will be automatically aware of it's generated sources after rename.
Comment 5 Milan Kuchtiak 2009-02-04 16:53:36 UTC
Now, when task 105645 is implemented, it works.
The only step needed is to build the project again, since the Rename Project action cleans the generated sources.