Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » [EEF] Generate Architecture error(What does it mean?)
| | | | | | | |
Re: [EEF] Generate Architecture error [message #526309 is a reply to message #522723] |
Fri, 09 April 2010 15:20 |
Aditya Gupta Messages: 9 Registered: April 2010 |
Junior Member |
|
|
Hi,
I have been running into a similar problem. I read a few other threads and got to know that the prob was with Acceleo plugin, but on checking that i see that i have 0.9.0v200909291229, which i believe is the same as 0.9.0M2.
Stack Trace,
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:421)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Progress MonitorDialog.java:507)
at org.eclipse.emf.eef.codegen.ui.generators.actions.AbstractGe nerateEEFAction.run(AbstractGenerateEEFAction.java:139)
at org.eclipse.emf.eef.codegen.ui.generators.actions.AbstractGe nerateEEFAction.run(AbstractGenerateEEFAction.java:79)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/acceleo/mtl/3.0' not found. (platform:/plugin/org.eclipse.emf.eef.codegen/org/eclipse/em f/eef/codegen/components/SubPropertiesEditionComponent.emtl, 3, 52)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:274)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:397)
at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC omponent.createResource(SubPropertiesEditionComponent.java:3 64)
at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC omponent.load(SubPropertiesEditionComponent.java:330)
at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC omponent. <init>(SubPropertiesEditionComponent.java:170)
at org.eclipse.emf.eef.codegen.ui.generators.common.GenerateAll $1. <init>(GenerateAll.java:116)
at org.eclipse.emf.eef.codegen.ui.generators.common.GenerateAll .doGenerate(GenerateAll.java:116)
at org.eclipse.emf.eef.codegen.ui.generators.actions.AbstractGe nerateEEFAction$1.run(AbstractGenerateEEFAction.java:108)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/acceleo/mtl/3.0' not found. (platform:/plugin/org.eclipse.emf.eef.codegen/org/eclipse/em f/eef/codegen/components/SubPropertiesEditionComponent.emtl, 3, 52)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(X MLHandler.java:2590)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefi x(XMLHandler.java:2421)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType (XMLHandler.java:1299)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XM LHandler.java:1468)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML Handler.java:1019)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMI Handler.java:87)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:1001)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:712)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHa ndler.java:169)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA XParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:181)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes ourceImpl.java:180)
at org.eclipse.acceleo.model.mtl.resource.EMtlResourceImpl.doLo ad(EMtlResourceImpl.java:67)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1494)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1282)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:255)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:270)
... 8 more
Root exception:
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/acceleo/mtl/3.0' not found. (platform:/plugin/org.eclipse.emf.eef.codegen/org/eclipse/em f/eef/codegen/components/SubPropertiesEditionComponent.emtl, 3, 52)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:274)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:397)
at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC omponent.createResource(SubPropertiesEditionComponent.java:3 64)
at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC omponent.load(SubPropertiesEditionComponent.java:330)
at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC omponent. <init>(SubPropertiesEditionComponent.java:170)
at org.eclipse.emf.eef.codegen.ui.generators.common.GenerateAll $1. <init>(GenerateAll.java:116)
at org.eclipse.emf.eef.codegen.ui.generators.common.GenerateAll .doGenerate(GenerateAll.java:116)
at org.eclipse.emf.eef.codegen.ui.generators.actions.AbstractGe nerateEEFAction$1.run(AbstractGenerateEEFAction.java:108)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/acceleo/mtl/3.0' not found. (platform:/plugin/org.eclipse.emf.eef.codegen/org/eclipse/em f/eef/codegen/components/SubPropertiesEditionComponent.emtl, 3, 52)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(X MLHandler.java:2590)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefi x(XMLHandler.java:2421)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType (XMLHandler.java:1299)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XM LHandler.java:1468)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML Handler.java:1019)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMI Handler.java:87)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:1001)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:712)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHa ndler.java:169)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm pl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA XParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:181)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes ourceImpl.java:180)
at org.eclipse.acceleo.model.mtl.resource.EMtlResourceImpl.doLo ad(EMtlResourceImpl.java:67)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1494)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1282)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:255)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:270)
... 8 more
Regards,
Aditya
|
|
|
Re: [EEF] Generate Architecture error [message #526531 is a reply to message #526309] |
Mon, 12 April 2010 07:55 |
Stephane Bouchet Messages: 280 Registered: July 2009 |
Senior Member |
|
|
Hi Aditya,
these error means you have to upgrade your acceleo version to 3.0.0M6 .
it can be found here :
http://www.eclipse.org/modeling/m2t/downloads/?project=accel eo
Aditya Gupta a écrit :
> Hi,
>
> I have been running into a similar problem. I read a few other threads
> and got to know that the prob was with Acceleo plugin, but on checking
> that i see that i have 0.9.0v200909291229, which i believe is the same
> as 0.9.0M2.
>
> Stack Trace,
> java.lang.reflect.InvocationTargetException
> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:421)
> at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Progress
> MonitorDialog.java:507)
> at org.eclipse.emf.eef.codegen.ui.generators.actions.AbstractGe
> nerateEEFAction.run(AbstractGenerateEEFAction.java:139)
> at org.eclipse.emf.eef.codegen.ui.generators.actions.AbstractGe
> nerateEEFAction.run(AbstractGenerateEEFAction.java:79)
> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi
> on.java:251)
> at org.eclipse.jface.action.ActionContributionItem.handleWidget
> Selection(ActionContributionItem.java:584)
> at org.eclipse.jface.action.ActionContributionItem.access$2(Act
> ionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEven
> t(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault
> (Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work
> bench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start
> (IDEApplication.java:113)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
> eAppHandle.java:194)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:368)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos
> ticWrappedException: org.eclipse.emf.ecore.xmi.PackageNotFoundException:
> Package with uri 'http://www.eclipse.org/acceleo/mtl/3.0' not found.
> (platform:/plugin/org.eclipse.emf.eef.codegen/org/eclipse/em
> f/eef/codegen/components/SubPropertiesEditionComponent.emtl, 3, 52)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe
> mandLoadException(ResourceSetImpl.java:315)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo
> adHelper(ResourceSetImpl.java:274)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou
> rce(ResourceSetImpl.java:397)
> at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC
> omponent.createResource(SubPropertiesEditionComponent.java:3 64)
> at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC
> omponent.load(SubPropertiesEditionComponent.java:330)
> at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC
> omponent. <init>(SubPropertiesEditionComponent.java:170)
> at org.eclipse.emf.eef.codegen.ui.generators.common.GenerateAll $1.
> <init>(GenerateAll.java:116)
> at org.eclipse.emf.eef.codegen.ui.generators.common.GenerateAll
> .doGenerate(GenerateAll.java:116)
> at org.eclipse.emf.eef.codegen.ui.generators.actions.AbstractGe
> nerateEEFAction$1.run(AbstractGenerateEEFAction.java:108)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.
> run(ModalContext.java:121)
> Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package
> with uri 'http://www.eclipse.org/acceleo/mtl/3.0' not found.
> (platform:/plugin/org.eclipse.emf.eef.codegen/org/eclipse/em
> f/eef/codegen/components/SubPropertiesEditionComponent.emtl, 3, 52)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(X
> MLHandler.java:2590)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefi
> x(XMLHandler.java:2421)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType
> (XMLHandler.java:1299)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XM
> LHandler.java:1468)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML
> Handler.java:1019)
> at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMI
> Handler.java:87)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa
> ndler.java:1001)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa
> ndler.java:712)
> at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHa
> ndler.java:169)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .startElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanStartElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl$FragmentContentDriver.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm
> pl.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanDocument(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown
> Source)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA
> XParser.parse(Unknown Source)
> at javax.xml.parsers.SAXParser.parse(Unknown Source)
> at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:181)
> at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes
> ourceImpl.java:180)
> at org.eclipse.acceleo.model.mtl.resource.EMtlResourceImpl.doLo
> ad(EMtlResourceImpl.java:67)
> at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour
> ceImpl.java:1494)
> at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour
> ceImpl.java:1282)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo
> ad(ResourceSetImpl.java:255)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo
> adHelper(ResourceSetImpl.java:270)
> .. 8 more
> Root exception:
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos
> ticWrappedException: org.eclipse.emf.ecore.xmi.PackageNotFoundException:
> Package with uri 'http://www.eclipse.org/acceleo/mtl/3.0' not found.
> (platform:/plugin/org.eclipse.emf.eef.codegen/org/eclipse/em
> f/eef/codegen/components/SubPropertiesEditionComponent.emtl, 3, 52)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe
> mandLoadException(ResourceSetImpl.java:315)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo
> adHelper(ResourceSetImpl.java:274)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou
> rce(ResourceSetImpl.java:397)
> at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC
> omponent.createResource(SubPropertiesEditionComponent.java:3 64)
> at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC
> omponent.load(SubPropertiesEditionComponent.java:330)
> at org.eclipse.emf.eef.codegen.components.SubPropertiesEditionC
> omponent. <init>(SubPropertiesEditionComponent.java:170)
> at org.eclipse.emf.eef.codegen.ui.generators.common.GenerateAll $1.
> <init>(GenerateAll.java:116)
> at org.eclipse.emf.eef.codegen.ui.generators.common.GenerateAll
> .doGenerate(GenerateAll.java:116)
> at org.eclipse.emf.eef.codegen.ui.generators.actions.AbstractGe
> nerateEEFAction$1.run(AbstractGenerateEEFAction.java:108)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.
> run(ModalContext.java:121)
> Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package
> with uri 'http://www.eclipse.org/acceleo/mtl/3.0' not found.
> (platform:/plugin/org.eclipse.emf.eef.codegen/org/eclipse/em
> f/eef/codegen/components/SubPropertiesEditionComponent.emtl, 3, 52)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(X
> MLHandler.java:2590)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefi
> x(XMLHandler.java:2421)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType
> (XMLHandler.java:1299)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createTopObject(XM
> LHandler.java:1468)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML
> Handler.java:1019)
> at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMI
> Handler.java:87)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa
> ndler.java:1001)
> at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa
> ndler.java:712)
> at org.eclipse.emf.ecore.xmi.impl.XMIHandler.startElement(XMIHa
> ndler.java:169)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .startElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanStartElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl$FragmentContentDriver.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerIm
> pl.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS
> cannerImpl.scanDocument(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuratio
> n.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(U nknown
> Source)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser
> .parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSA
> XParser.parse(Unknown Source)
> at javax.xml.parsers.SAXParser.parse(Unknown Source)
> at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl. java:181)
> at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLRes
> ourceImpl.java:180)
> at org.eclipse.acceleo.model.mtl.resource.EMtlResourceImpl.doLo
> ad(EMtlResourceImpl.java:67)
> at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour
> ceImpl.java:1494)
> at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour
> ceImpl.java:1282)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo
> ad(ResourceSetImpl.java:255)
> at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo
> adHelper(ResourceSetImpl.java:270)
> .. 8 more
>
> Regards,
> Aditya
--
Cheers,
Stéphane Bouchet, OBEO
|
|
| |
Re: [EEF] Generate Architecture error [message #534476 is a reply to message #530406] |
Wed, 19 May 2010 10:03 |
Stephane Bouchet Messages: 280 Registered: July 2009 |
Senior Member |
|
|
hi Aditya,
sorry to reply so lately, i didn't see your message untill today.
You are facing a known problem, that is your EEF models are not valid.
You must ensure by hand that every editor as a representation.
in the furture will will improve the generation to validate first the
model ( and add these validations, too )
Aditya Gupta a écrit :
> Hi Stephane,
>
> Thanks for the update on eclipse wiki, it worked.
>
> I am facing another problem when i try to generate the EEF architecture.
>
> The architecture generation gives me a components, parts.impl and
> providers package. Which obviously generates a lot of compile time
> errors as the parts and parts.forms packages are not created.
>
> To check the sanctity of my EEF installation i imported the emf library
> example and then generated the architecture again. This time it worked
> without any glitches, and i was also able to implement the
> TabbedPropertySheet as explained on wiki.
>
> I am able to generate my model, edit, editor and test code correctly
> using the same genmodel though.
>
> So does this imply that my genmodel is lacking something or is the error
> at some place else?
>
> Regards,
> Aditya
--
Cheers,
Stéphane Bouchet, OBEO
|
|
| | | | |
Re: [EEF] Generate Architecture error [message #622911 is a reply to message #622522] |
Wed, 19 May 2010 10:03 |
Stephane Bouchet Messages: 280 Registered: July 2009 |
Senior Member |
|
|
hi Aditya,
sorry to reply so lately, i didn't see your message untill today.
You are facing a known problem, that is your EEF models are not valid.
You must ensure by hand that every editor as a representation.
in the furture will will improve the generation to validate first the
model ( and add these validations, too )
Aditya Gupta a écrit :
> Hi Stephane,
>
> Thanks for the update on eclipse wiki, it worked.
>
> I am facing another problem when i try to generate the EEF architecture.
>
> The architecture generation gives me a components, parts.impl and
> providers package. Which obviously generates a lot of compile time
> errors as the parts and parts.forms packages are not created.
>
> To check the sanctity of my EEF installation i imported the emf library
> example and then generated the architecture again. This time it worked
> without any glitches, and i was also able to implement the
> TabbedPropertySheet as explained on wiki.
>
> I am able to generate my model, edit, editor and test code correctly
> using the same genmodel though.
>
> So does this imply that my genmodel is lacking something or is the error
> at some place else?
>
> Regards,
> Aditya
--
Cheers,
Stéphane Bouchet, OBEO
|
|
|
Goto Forum:
Current Time: Thu Sep 26 09:55:54 GMT 2024
Powered by FUDForum. Page generated in 0.06466 seconds
|