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.
Steps to reproduce 1. Take an existing IEP project 2. Create a subfolder under "Process Files" 3. Move the .iep file under the new subfolder 4. Delete the the associated WSDL from the "Process Files" 5. Change the IEP definition (some dummy change). The WSDL file will be re-generated. 6. Build and try to deploy this project. The deployment fails. Suggestions: 1. When moving the IEP process, probably we should inform the user to manually delete the existing WSDL file. 2. Same argument while renaming (ask user to delete the WSDL, so that a new can be re-generated)
we might want to use refactoring api for this. we may need to depend on xml refactoring and add a iep editor as friend. To get it working on top of java caps we may have to get this friend dependency on nb61release patch4.
The issue has to do mismatch in deploy key: IEPSE uses namespace of service name in generated by jbi.xml as the deploy key for an event process. when a iep file is moved to a subfolder, there is packageName attribute on top level component element which should be changed to the folder hiearchy of the iep file from project src to the folder where iep file resides. example: if test.iep is moved from project src folder to src\folderA then packageName should be packageName="folderA" when iep file is move to a subdirectory this packageName does not get updated, The editor validation reports this as an error but since we do not yet have build time validation thus this error is not caught. So it is probably sufficient when we have build time validation then this error will be reported. It would be nice to do move file refactoring and automatically change packageName attribute.
see see http://enterprise.netbeans.org/issues/show_bug.cgi?id=140404, atleast now building project will report error. I making it an enhancement now.