|
|
Re: Compilation Error [message #1772751 is a reply to message #1772742] |
Thu, 14 September 2017 17:49 |
levven testing Messages: 5 Registered: September 2017 |
Junior Member |
|
|
Hey thank you for your reply. I did try what you asked me. I also googled it and found this link on the same:
https://www.eclipse.org/forums/index.php/t/1083764/
Unfortunately it still didn't work for me. Following are the messages in the Eclipse console window:
0 [main] INFO text.xtext.generator.XtextGenerator - Initializing Xtext generator
12 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage'
212 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project annotations at 'archive:file:/C:/ESH/eclipse/configuration/org.eclipse.osgi/453/0/.cp/lib/annotations.jar!/' and using 'archive:file:/C:/ESH/ws/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.pde.ds.lib_1.1.0.v20170303-1624/annotations.jar!/' instead.
488 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.item\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
501 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.persistence\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
513 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.rule\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
532 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.script\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
545 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.sitemap\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
560 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.thing\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
567 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.item at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.item/'
567 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.item.ide at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.item.ide/'
568 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.item.ui at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.item.ui/'
577 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Using resourceSet registry. The registered Packages will not be registered in the global EPackage.Registry.INSTANCE!
805 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/Xtext/Xbase/XAnnotations' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
811 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xtype' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
830 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/xbase/Xbase' from 'platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel'
830 [main] INFO clipse.emf.mwe.utils.GenModelHelper - Registered GenModel 'http://www.eclipse.org/xtext/common/JavaVMTypes' from 'platform:/resource/org.eclipse.xtext.common.types/model/JavaVMTypes.genmodel'
1605 [main] INFO text.xtext.generator.XtextGenerator - Initializing Xtext generator
1606 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage'
1612 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project annotations at 'archive:file:/C:/ESH/ws/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.pde.ds.lib_1.1.0.v20170303-1624/annotations.jar!/' and using 'archive:file:/C:/ESH/eclipse/configuration/org.eclipse.osgi/453/0/.cp/lib/annotations.jar!/' instead.
1665 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project annotations at 'archive:file:/C:/ESH/eclipse/configuration/org.eclipse.osgi/453/0/.cp/lib/annotations.jar!/' and using 'archive:file:/C:/ESH/ws/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.pde.ds.lib_1.1.0.v20170303-1624/annotations.jar!/' instead.
1972 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.item\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
1988 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.persistence\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2002 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.rule\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2025 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.script\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2034 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.sitemap\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2044 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.thing\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2047 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.sitemap at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.sitemap/'
2048 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.sitemap.ide at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.sitemap.ide/'
2048 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.sitemap.ui at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.sitemap.ui/'
2049 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Using resourceSet registry. The registered Packages will not be registered in the global EPackage.Registry.INSTANCE!
2502 [main] INFO text.xtext.generator.XtextGenerator - Initializing Xtext generator
2502 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage'
2506 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project annotations at 'archive:file:/C:/ESH/ws/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.pde.ds.lib_1.1.0.v20170303-1624/annotations.jar!/' and using 'archive:file:/C:/ESH/eclipse/configuration/org.eclipse.osgi/453/0/.cp/lib/annotations.jar!/' instead.
2548 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project annotations at 'archive:file:/C:/ESH/eclipse/configuration/org.eclipse.osgi/453/0/.cp/lib/annotations.jar!/' and using 'archive:file:/C:/ESH/ws/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.pde.ds.lib_1.1.0.v20170303-1624/annotations.jar!/' instead.
2843 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.item\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2855 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.persistence\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2863 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.rule\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2881 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.script\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2891 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.sitemap\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2901 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.thing\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
2904 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.script at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.script/'
2904 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.script.ide at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.script.ide/'
2905 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.script.ui at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.script.ui/'
2907 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Using resourceSet registry. The registered Packages will not be registered in the global EPackage.Registry.INSTANCE!
3107 [main] INFO text.xtext.generator.XtextGenerator - Initializing Xtext generator
3107 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Adding generated EPackage 'org.eclipse.xtext.common.types.TypesPackage'
3111 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project annotations at 'archive:file:/C:/ESH/ws/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.pde.ds.lib_1.1.0.v20170303-1624/annotations.jar!/' and using 'archive:file:/C:/ESH/eclipse/configuration/org.eclipse.osgi/453/0/.cp/lib/annotations.jar!/' instead.
3159 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - Skipping conflicting project annotations at 'archive:file:/C:/ESH/eclipse/configuration/org.eclipse.osgi/453/0/.cp/lib/annotations.jar!/' and using 'archive:file:/C:/ESH/ws/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.pde.ds.lib_1.1.0.v20170303-1624/annotations.jar!/' instead.
3395 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.item\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
3405 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.persistence\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
3412 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.rule\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
3430 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.script\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
3439 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.sitemap\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
3448 [main] WARN lipse.emf.mwe.utils.StandaloneSetup - No project file found for C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.thing\src. The folder was neither an Eclipse 'bin' folder, nor a Maven 'target/classes' folder.
3449 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.rule at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.rule/'
3449 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.rule.ide at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.rule.ide/'
3450 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering project org.eclipse.smarthome.model.rule.ui at 'file:/C:/ESH/git/smarthome/bundles/model/org.eclipse.smarthome.model.rule.ui/'
3451 [main] INFO lipse.emf.mwe.utils.StandaloneSetup - Using resourceSet registry. The registered Packages will not be registered in the global EPackage.Registry.INSTANCE!
3476 [main] ERROR mf.mwe2.launch.runtime.Mwe2Launcher - Problems running workflow all: java.io.FileNotFoundException: C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.script\model\generated\Script.ecore (The system cannot find the path specified)
java.lang.RuntimeException: Problems running workflow all: java.io.FileNotFoundException: C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.script\model\generated\Script.ecore (The system cannot find the path specified)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:104)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:62)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:52)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:78)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:36)
Caused by: org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: java.io.FileNotFoundException: C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.script\model\generated\Script.ecore (The system cannot find the path specified)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278)
at org.eclipse.xtext.resource.XtextResourceSet.getResource(XtextResourceSet.java:265)
at org.eclipse.xtext.xtext.generator.XtextGeneratorResourceSetInitializer.loadResource(XtextGeneratorResourceSetInitializer.java:51)
at org.eclipse.xtext.xtext.generator.XtextGeneratorResourceSetInitializer.lambda$initialize$0(XtextGeneratorResourceSetInitializer.java:41)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at org.eclipse.xtext.xtext.generator.XtextGeneratorResourceSetInitializer.initialize(XtextGeneratorResourceSetInitializer.java:43)
at org.eclipse.xtext.xtext.generator.XtextGeneratorLanguage.initialize(XtextGeneratorLanguage.java:219)
at org.eclipse.xtext.xtext.generator.StandardLanguage.initialize(StandardLanguage.java:175)
at org.eclipse.xtext.xtext.generator.XtextGenerator.initialize(XtextGenerator.java:185)
at org.eclipse.xtext.xtext.generator.XtextGenerator.checkConfigurationInternal(XtextGenerator.java:139)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2.checkConfiguration(AbstractWorkflowComponent2.java:21)
at org.eclipse.emf.mwe.core.lib.Mwe2Bridge.preInvoke(Mwe2Bridge.java:65)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.preInvoke(AbstractWorkflowComponent.java:197)
at org.eclipse.emf.mwe2.runtime.workflow.AbstractCompositeWorkflowComponent.preInvoke(AbstractCompositeWorkflowComponent.java:29)
at org.eclipse.emf.mwe2.runtime.workflow.AbstractCompositeWorkflowComponent.preInvoke(AbstractCompositeWorkflowComponent.java:29)
at org.eclipse.emf.mwe2.runtime.workflow.Workflow.run(Workflow.java:18)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:102)
... 4 more
Caused by: java.io.FileNotFoundException: C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.script\model\generated\Script.ecore (The system cannot find the path specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.eclipse.emf.ecore.resource.impl.FileURIHandlerImpl.createInputStream(FileURIHandlerImpl.java:99)
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:360)
at org.eclipse.xtext.resource.XtextResourceSet$1.createInputStream(XtextResourceSet.java:298)
at org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl.createInputStream(PlatformResourceURIHandlerImpl.java:532)
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:360)
at org.eclipse.xtext.resource.XtextResourceSet$1.createInputStream(XtextResourceSet.java:298)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1269)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
... 20 more
Seems like the folder
C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.script\model\generated\Script.ecore
is missing. I tried to navigate to the path and it only exists up until
C:\ESH\git\smarthome\bundles\model\org.eclipse.smarthome.model.script\
there is no folder called model\generated\Script.ecore within that path.
Any suggestions?
Thank you again for your time.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03286 seconds