[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [bpel-dev] patch5=create-EMF-model-from-SSE-model
|
Hi Simon,
1. Eclipse.
Version: 3.3.0
Build id: I20070625-1500 (it's Europa release)
2. wst.sse.*, wst.wsdl.*, wst.xml.*, wst.xsd.* are taken and built from CVS.
Please try the latest wst build.
Thanks,
Vitaly.
>-----Original Message-----
>From: bpel-dev-bounces@xxxxxxxxxxx [mailto:bpel-dev-bounces@xxxxxxxxxxx] On
>Behalf Of Simon D Moser
>Sent: Monday, July 16, 2007 11:15 AM
>To: BPEL Designer project developer discussions.
>Cc: BPEL Designer project developer discussions.; bpel-dev-bounces@xxxxxxxxxxx
>Subject: Re: [bpel-dev] patch5=create-EMF-model-from-SSE-model
>
>Hi Vitaly,
>
>I tried to test the patch, but was unable to. When I create a new BPEL
>after applying the patch, the editor won't open and I get an error message
>instead:
>
>org.w3c.dom.DOMException: Not implemented in this version.
> at
>org.eclipse.wst.xml.core.internal.document.NodeImpl.setUserData(NodeImpl.java:9
>07)
> at
>org.eclipse.bpel.model.impl.ExtensibleElementImpl.setElement(ExtensibleElementI
>mpl.java:288)
> at
>org.eclipse.bpel.model.resource.BPELReader.xml2Process(BPELReader.java:650)
> at
>org.eclipse.bpel.model.resource.BPELReader.xml2Resource(BPELReader.java:633)
> at
>org.eclipse.bpel.model.resource.BPELReader.pass1(BPELReader.java:195)
> at
>org.eclipse.bpel.model.resource.BPELReader.read(BPELReader.java:139)
> at
>org.eclipse.bpel.model.resource.BPELResourceImpl.doLoad(BPELResourceImpl.java:1
>69)
> at
>org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1094)
> at
>org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:900)
> at
>org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.
>java:249)
> at
>org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSe
>tImpl.java:264)
> at
>org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl
>.java:390)
> at
>org.eclipse.bpel.common.ui.editmodel.ResourceInfo.load(ResourceInfo.java:126)
> at
>org.eclipse.bpel.common.ui.editmodel.EditModel.getResourceInfo(EditModel.java:1
>55)
> at
>org.eclipse.bpel.common.ui.editmodel.EditModelClient.<init>(EditModelClient.jav
>a:63)
> at
>org.eclipse.bpel.ui.util.BPELEditModelClient.<init>(BPELEditModelClient.java:47
>)
> at
>org.eclipse.bpel.ui.BPELMultipageEditorPart.loadModel(BPELMultipageEditorPart.j
>ava:851)
> at
>org.eclipse.bpel.ui.BPELMultipageEditorPart.createDesignPage(BPELMultipageEdito
>rPart.java:325)
> at
>org.eclipse.bpel.ui.BPELMultipageEditorPart.createPages(BPELMultipageEditorPart
>.java:359)
> at
>org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.j
>ava:276)
> at
>org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:5
>96)
> at
>org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
> at
>org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.j
>ava:566)
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290)
> at
>org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePar
>t.java:140)
> at
>org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(Present
>ablePartFolder.java:268)
> at
>org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRig
>htTabOrder.java:65)
> at
>org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(T
>abbedStackPresentation.java:394)
> at
>org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1
>144)
> at
>org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1097)
> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1311)
> at org.eclipse.ui.internal.PartStack.add(PartStack.java:455)
> at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:102)
> at org.eclipse.ui.internal.PartStack.add(PartStack.java:441)
> at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:111)
> at
>org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:
>60)
> at
>org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
> at
>org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
> at
>org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:822)
> at
>org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.ja
>va:721)
> at
>org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:682)
> at
>org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:
>2593)
> at
>org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
> at
>org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
> at
>org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
> at
>org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
> at
>org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
> at
>org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
> at
>org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
> at
>org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:9
>8)
> at
>org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup
>.java:125)
> at
>org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup
>.java:328)
> at
>org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.j
>ava:679)
> at
>org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:
>434)
> at
>org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:843)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
> at
>org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
> at
>org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:106
>9)
> at
>org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1
>168)
> at
>org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
> at
>org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
> at
>org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
> at
>org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
> at
>org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
> at
>org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
> at
>org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
>org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
> at
>org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.jav
>a:78)
> at
>org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecl
>ipseAppLauncher.java:92)
> at
>org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLa
>uncher.java:68)
> at
>org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
> at
>org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
> at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
>va:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
>
>I assume this is a version / configuration problem. Can you send me which
>versions of what are u using (Eclipse, WTP, ...) ?
>
>Thanks
>Simon
>
>Simon Moser, M.Eng.
>
>
>
> Websphere Integration Mail: IBM Deutschland Entwicklung
> Developer Development smoser@xxxxxx. GmbH
> Team Lead BPEL Editor com Vorsitzender des
> Dept. 4722, Bldg. Phone: Aufsichtsrats: Martin Jetter
> 71032-01, Room 086 +49-7031-16-43 Geschäftsführung: Herbert
> Websphere Solutions and 04 Kircher
> Services Fax: Sitz der Gesellschaft:
> IBM Deutschland +49-7031-16-48 Böblingen
> Entwicklung GmbH 90 Registergericht: Amtsgericht
> Schönaicherstr. 220, D - Stuttgart, HRB 243294
> 71032 Boeblingen
>
>
>
>
>
>
>
>
>
>
> "Tishkov, Vitaly
> V"
> <vitaly.v.tishkov To
> @intel.com> Simon D Moser/Germany/IBM@IBMDE
> Sent by: cc
> bpel-dev-bounces@ "BPEL Designer project developer
> eclipse.org discussions."
> <bpel-dev@xxxxxxxxxxx>
> Subject
> 07/14/2007 04:54 [bpel-dev]
> PM patch5=create-EMF-model-from-SSE-mo
> del
>
> Please respond to
> "BPEL Designer
> project developer
> discussions."
> <bpel-dev@eclipse
> .org>
>
>
>
>
>
>
>Hi Simon,
>
>Please find the next patch for the MultiTab branch.
>The main gain from it is that now EMF model is built from SSE model, not
>from the source .bpel file. It means that BPELReader DOMParser is not used
>anymore. However I didn't remove the code for creating EMF model from
>sources to make this patch not too big. Probably, I'll remove this code in
>the next patch.
>The main trick was to pass the SSE model to the BPELReader. I did it via
>loadOptions in BPELMultipageEditorPart.loadModel().
>
>I've also applied the patch for
>https://bugs.eclipse.org/bugs/show_bug.cgi?id=188061 to avoid merging
>problems/questions with the main trunk later.
>And I also did some code cleanup re creating tabs in
>BPELMultipageEditorPart.
>
>Details.
> 1. public void read(Resource processResource, IDOMModel domModel,
> ResourceSet resourceSet) was added to
> org.eclipse.bpel.ui.util.BPELReader.
> It will replace public void read(Resource processResource, IFile
> modelFile, ResourceSet resourceSet) later.
>
> 2. public void read(BPELResource resource, Document doc) was added to
> org.eclipse.bpel.model.resource.BPELReader.
> It will replace read(BPELResource resource, InputStream inputStream)
> later.
>
> 3. BPELResourceSetImpl is used instead of ResourceSetImpl.
> public void setLoadOptions (Map<Object, Object> options) was added to
> BPELResourceSetImpl.
>
> The package org.eclipse.bpel.common.ui depends on
> org.eclipse.bpel.model now. Is it OK?
>
> 4. Slight code cleanup in BPELMultipageEditorPart.
>
> 5. org.eclipse.bpel.common.ui.composite.EditorReference: the patch for
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=188061 was applied
>
>
>Please apply the patch if you think it's OK.
>
>Thanks,
> Vitaly.
>
> (See attached file: patch5=create-EMF-model-from-SSE-model.txt)
>_______________________________________________
>bpel-dev mailing list
>bpel-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/bpel-dev