[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Generating code from XText project
|
Hi again,
here's an update: I could not manage to get the approach described below
working. However, I then tried the approach described at [1], and that
works except some minor problem (which I have pointed out in the
comments on [1]).
Hope this helps anybody,
Christian
[1] http://www.sigasi.com/content/building-xtext-20-projects-maven-tycho
Am 31.08.2011 09:44, schrieb Christian Soltenborn:
> 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
>
>
--
Gore Vidal: "There is no human problem which could not be solved if
people would simply do as I advise."