Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » aggregator pom(Built and release Xtext project with Maven)
aggregator pom [message #1251676] Thu, 20 February 2014 13:30 Go to next message
Eathen Saw is currently offline Eathen SawFriend
Messages: 11
Registered: July 2013
Junior Member
Hi,
I have a problem like described on
https://github.com/svenefftinge/maven-xtext-example/issues/22
can someone help me please
Thank you.
Re: aggregator pom [message #1251835 is a reply to message #1251676] Thu, 20 February 2014 16:54 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13667
Registered: July 2009
Senior Member
Hi,

i thought id already be fixed / workarounded in the example
https://bugs.eclipse.org/bugs/show_bug.cgi?id=425166#c3
https://github.com/svenefftinge/maven-xtext-example/commit/adbaf37a4a0c5a7a2c8f71f8fba70bff4ef4b6f3#diff-5207d88daa2ecf6fdb0973b82d14f954


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: aggregator pom [message #1252624 is a reply to message #1251835] Fri, 21 February 2014 12:19 Go to previous messageGo to next message
Eathen Saw is currently offline Eathen SawFriend
Messages: 11
Registered: July 2013
Junior Member
Hi,
thank you for reply.
I downloaded the maven-xtext-example again. Now it works.
I did the same changes like the example-project in my own project and solved the problem with missing MANIFEST.MF file.
Now I run in the next problem. (see error log at the end of page).

I did a comparison between my projects log and the example projects log
I am wondering about this lines compration.

My projects log:
[org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main()] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering platform uri 'R:\workspaces'

Example Projects log:

22 [org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main()] INFO lipse.emf.mwe.utils.StandaloneSetup - Registering platform uri 'R:\workspaces\maven-xtext-example-master'

Example project is placed in 'R:\workspaces\maven-xtext-example-master'
My project is placed in 'R:\workspaces\hscg'

I am missing in log the name of the Directory (hscg) where my project is placed

java.io.FileNotFoundException: ..\hscg.language\build.properties (Das System kann die angegebene Datei nicht finden)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at org.eclipse.xtext.generator.ecore.EMFGeneratorFragment.updateBuildProperties(EMFGeneratorFragment.java:260)
at org.eclipse.xtext.generator.ecore.EMFGeneratorFragment.generate(EMFGeneratorFragment.java:246)
at org.eclipse.xtext.generator.CompositeGeneratorFragment.generate(CompositeGeneratorFragment.java:92)
at org.eclipse.xtext.generator.LanguageConfig.generate(LanguageConfig.java:113)
at org.eclipse.xtext.generator.Generator.generate(Generator.java:366)
at org.eclipse.xtext.generator.Generator.invokeInternal(Generator.java:132)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invoke(AbstractWorkflowComponent.java:126)
at org.eclipse.emf.mwe.core.lib.Mwe2Bridge.invoke(Mwe2Bridge.java:34)
at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invoke(AbstractWorkflowComponent.java:201)
at org.eclipse.emf.mwe2.runtime.workflow.AbstractCompositeWorkflowComponent.invoke(AbstractCompositeWorkflowComponent.java:35)
at org.eclipse.emf.mwe2.runtime.workflow.Workflow.run(Workflow.java:19)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:102)
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:74)
at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
at java.lang.Thread.run(Thread.java:662)
Re: aggregator pom [message #1252668 is a reply to message #1252624] Fri, 21 February 2014 13:14 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13667
Registered: July 2009
Senior Member
Hmm sorry no idea on that maybe it is better to use the fornax maven
plugin to run the workflow

https://github.com/cdietrich/xtext-maven-example

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: aggregator pom [message #1255477 is a reply to message #1252668] Mon, 24 February 2014 13:35 Go to previous message
Eathen Saw is currently offline Eathen SawFriend
Messages: 11
Registered: July 2013
Junior Member
Thank you for reply.
Just for your information.
I solved my problem.
It was my fault, I had a bug in my pom.
Previous Topic:Xtext plugin doesn't work....
Next Topic:Cross References in a dynamic language
Goto Forum:
  


Current Time: Fri Dec 04 15:40:35 GMT 2020

Powered by FUDForum. Page generated in 0.01906 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top