[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Generating code from XText project
|
Hi everybody,
here's my next problem: I'd like to avoid checking in generated code. So
far, I'm generating code from JavaCC, EMF, and GMF within my build - the
only missing one is code from an XText grammar.
I tackled this based on the following blog entry:
http://fsteeg.com/2011/07/15/run-mwe2-workflows-for-xtext-2-0-in-a-tycho-build/
However, this doesn't work, the error is as follows:
[ERROR] mf.mwe2.launch.runtime.Mwe2Launcher – Couldn’t find module
de.upb.dmm.tests.common.GenerateTraces
[ERROR] java.lang.IllegalStateException: Couldn’t find module
de.upb.dmm.tests.common.GenerateTraces
[ERROR] at
org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:79)
...
As far as I can see, the problem seems to be that the src folder of my
XText project is not added to the classpath. The executed command looks
like this:
http://pastie.org/2453018
I asked the blog entry's author, and the only difference between my pom
and his seems to be that I'm using Tycho 0.13.0-SNAPSHOT, in contrast to
0.12.0 which Fabian uses (this is not surprising, since I copied his pom
and adjusted it for my needs).
Here's my pom (which adds the project's src folder as a resource):
http://pastie.org/2453043
Any idea what I'm doing wrong here? Or is it even a bug?
Thanks in advance once more,
Christian
--
George Burns: "The secret of a good sermon is to have a good beginning
and a good ending, then having the two as close together as possible."