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: | Moving an IEP process to a subfolder does not work | ||
---|---|---|---|
Product: | soa | Reporter: | prashantbhagat <prashantbhagat> |
Component: | IEP editor | Assignee: | Gabriel Badescu <gbadescu> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
prashantbhagat
2008-08-07 20:13:55 UTC
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. |