Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » [buckminster-dev] help run mwe2 workflows through headless build
[buckminster-dev] help run mwe2 workflows through headless build [message #1697910] Tue, 09 June 2015 14:36 Go to next message
Siva Gaddam is currently offline Siva GaddamFriend
Messages: 22
Registered: June 2015
Junior Member
<div dir="ltr">Hi,<div><br></div><div>I&#39;m trying to build mwe2 workflows through an ant task. I&#39;m running into following issues.</div><div><br></div><div>Here is my ant task:</div><div><br></div><div><div>&lt;path id=&quot;Plug-in Dependencies.libraryclasspath&quot;&gt;</div><div>        &lt;pathelement location=&quot;../<a href="http://com.grammer.ovn.de">com.grammer.ovn.de</a>&quot;/&gt;</div><div><span style="white-space:pre">  </span>&lt;pathelement location=&quot;../com.grammer.ovn.rules&quot;/&gt;        </div><div>    &lt;/path&gt;</div></div><div> </div><div>  &lt;path id=&quot;mydsl.classpath&quot;&gt;</div><div>        &lt;pathelement location=&quot;bin&quot;/&gt;</div><div>        &lt;path refid=&quot;Plug-in Dependencies.libraryclasspath&quot;/&gt;</div><div>    &lt;/path&gt;</div><div><br></div><div><div>&lt;target name=&quot;gen&quot;&gt;</div><div><span class="" style="white-space:pre"> </span>&lt;java classname=&quot;org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher&quot; classpathref=&quot;mydsl.classpath&quot; fork=&quot;true&quot;&gt;</div><div><span class="" style="white-space:pre"> </span>&lt;arg value=&quot;../<a href="http://com.grammar.ovn.de/src/com/grammar/ovn/GenerateDataElements.mwe2">com.grammar.ovn.de/src/com/grammar/ovn/GenerateDataElements.mwe2</a>&quot; /&gt;</div><div><span class="" style="white-space:pre"> </span>&lt;arg value=&quot;../com.grammar.ovn.rules/src/com/grammar/ovn/GenerateRules.mwe2&quot; /&gt;</div><div><span class="" style="white-space:pre"> </span>&lt;/java&gt;</div><div><span class="" style="white-space:pre"> </span>&lt;/target&gt;</div></div><div><br></div><div>ERROR:</div><div>   [java] Error: Could not find or load main class org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher</div><div> [java] Java Result: 1</div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>Thank you.</div><div><br></div><div>-Siva.</div></div>
Re: [buckminster-dev] help run mwe2 workflows through headless build [message #1697917 is a reply to message #1697910] Tue, 09 June 2015 15:13 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1751
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 09/06/2015 16:36, sivanarayana ganesh wrote:
> Hi,
>
> I'm trying to build mwe2 workflows through an ant task. I'm running into
> following issues.
>
> Here is my ant task:
>
> <path id="Plug-in Dependencies.libraryclasspath">
> <pathelement location="../com.grammer.ovn.de
> <http://com.grammer.ovn.de>"/>
> <pathelement location="../com.grammer.ovn.rules"/>
> </path>
>
> <path id="mydsl.classpath">
> <pathelement location="bin"/>
> <path refid="Plug-in Dependencies.libraryclasspath"/>
> </path>
>
> <target name="gen">
> <java classname="org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher"
> classpathref="mydsl.classpath" fork="true">
> <arg
> value="../com.grammar.ovn.de/src/com/grammar/ovn/GenerateDataElements.mwe2
> <http://com.grammar.ovn.de/src/com/grammar/ovn/GenerateDataElements.mwe2>"
> />
> <arg
> value="../com.grammar.ovn.rules/src/com/grammar/ovn/GenerateRules.mwe2" />
> </java>
> </target>
>
> ERROR:
> [java] Error: Could not find or load main class
> org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher
> [java] Java Result: 1
>
> Any help is appreciated.
>
> Thank you.
>
> -Siva.

Hi

I think you should use the buckminster forum eclipse.tools.buckminster
for user related questions (I guess this forum is for developer related
questions :)

Anyway, If you run such ant task from buckminster, then the mwe2
launcher has to be installed in buckminster itself; so, when installing
buckminster, you should also install the feature
org.eclipse.emf.mwe2.launcher.feature.group which can be found in this
update site
http://download.eclipse.org/modeling/emft/mwe/updates/releases/2.7.1/ or
in the Xtext composite update site.

Hope this helps
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
Re: [buckminster-dev] help run mwe2 workflows through headless build [message #1697950 is a reply to message #1697917] Tue, 09 June 2015 19:28 Go to previous message
Siva Gaddam is currently offline Siva GaddamFriend
Messages: 22
Registered: June 2015
Junior Member
<div dir="ltr">Oops. Sorry for that. Thanks a lot for the help.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 9, 2015 at 8:13 AM, Lorenzo Bettini <span dir="ltr">&lt;<a href="mailto:bettini@xxxxxxxx.it" target="_blank">bettini@xxxxxxxx.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 09/06/2015 16:36, sivanarayana ganesh wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m trying to build mwe2 workflows through an ant task. I&#39;m running into<br>
&gt; following issues.<br>
&gt;<br>
&gt; Here is my ant task:<br>
&gt;<br>
&gt; &lt;path id=&quot;Plug-in Dependencies.libraryclasspath&quot;&gt;<br>
&gt;         &lt;pathelement location=&quot;../<a href="http://com.grammer.ovn.de" target="_blank">com.grammer.ovn.de</a><br>
</span>&gt; &lt;<a href="http://com.grammer.ovn.de" target="_blank">http://com.grammer.ovn.de</a>&gt;&quot;/&gt;<br>
<span class="">&gt;   &lt;pathelement location=&quot;../com.grammer.ovn.rules&quot;/&gt;<br>
&gt;     &lt;/path&gt;<br>
&gt;<br>
&gt;   &lt;path id=&quot;mydsl.classpath&quot;&gt;<br>
&gt;         &lt;pathelement location=&quot;bin&quot;/&gt;<br>
&gt;         &lt;path refid=&quot;Plug-in Dependencies.libraryclasspath&quot;/&gt;<br>
&gt;     &lt;/path&gt;<br>
&gt;<br>
&gt; &lt;target name=&quot;gen&quot;&gt;<br>
&gt; &lt;java classname=&quot;org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher&quot;<br>
&gt; classpathref=&quot;mydsl.classpath&quot; fork=&quot;true&quot;&gt;<br>
&gt; &lt;arg<br>
&gt; value=&quot;../<a href="http://com.grammar.ovn.de/src/com/grammar/ovn/GenerateDataElements.mwe2" target="_blank">com.grammar.ovn.de/src/com/grammar/ovn/GenerateDataElements.mwe2</a><br>
</span>&gt; &lt;<a href="http://com.grammar.ovn.de/src/com/grammar/ovn/GenerateDataElements.mwe2" target="_blank">http://com.grammar.ovn.de/src/com/grammar/ovn/GenerateDataElements.mwe2</a>&gt;&quot;<br>
<span class="">&gt; /&gt;<br>
&gt; &lt;arg<br>
&gt; value=&quot;../com.grammar.ovn.rules/src/com/grammar/ovn/GenerateRules.mwe2&quot; /&gt;<br>
&gt; &lt;/java&gt;<br>
&gt; &lt;/target&gt;<br>
&gt;<br>
&gt; ERROR:<br>
&gt;    [java] Error: Could not find or load main class<br>
&gt; org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher<br>
&gt;  [java] Java Result: 1<br>
&gt;<br>
&gt; Any help is appreciated.<br>
&gt;<br>
&gt; Thank you.<br>
&gt;<br>
&gt; -Siva.<br>
<br>
</span>Hi<br>
<br>
I think you should use the buckminster forum eclipse.tools.buckminster<br>
for user related questions (I guess this forum is for developer related<br>
questions :)<br>
<br>
Anyway, If you run such ant task from buckminster, then the mwe2<br>
launcher has to be installed in buckminster itself; so, when installing<br>
buckminster, you should also install the feature<br>
org.eclipse.emf.mwe2.launcher.feature.group which can be found in this<br>
update site<br>
<a href="http://download.eclipse.org/modeling/emft/mwe/updates/releases/2..7.1/" target="_blank">http://download.eclipse.org/modeling/emft/mwe/updates/releases/2.7.1/</a> or<br>
in the Xtext composite update site.<br>
<br>
Hope this helps<br>
<span class="HOEnZb"><font color="#888888">        Lorenzo<br>
<br>
--<br>
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino<br>
HOME: <a href="http://www.lorenzobettini.it" target="_blank">http://www..lorenzobettini.it</a><br>
Xtext Book:<br>
<a href="http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book" target="_blank">http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book</a><br>
<br>
_______________________________________________<br>
buckminster-dev mailing list<br>
<a href="mailto:buckminster-dev@xxxxxxxx">buckminster-dev@xxxxxxxx</a><br>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit<br>
<a href="https://dev.eclipse.org/mailman/listinfo/buckminster-dev" target="_blank">https://dev.eclipse.org/mailman/listinfo/buckminster-dev</a><br>
</font></span></blockquote></div><br></div>
Previous Topic:Re: [buckminster-dev] download buckminster headless issue
Next Topic:Headless (JUnit) launching
Goto Forum:
  


Current Time: Sun Sep 23 01:18:07 GMT 2018

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

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

Back to the top