Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Generate Eclipse Application
Generate Eclipse Application [message #1171476] Tue, 05 November 2013 08:58 Go to next message
Gunnar Boström is currently offline Gunnar BoströmFriend
Messages: 26
Registered: February 2013
Junior Member
Hi,
I would like to generate a stand alone Eclipse Application from my xtext projects.
I found these instructions "http://kthoms.wordpress.com/2010/11/12/setting-up-a-rcp-product-for-a-dsl/" but they seem to be outdated.
I've also tried instructions from "http://www.vogella.com/articles/EclipseProductDeployment/article.html" but it fails when I try to launch the application from the overview tab in mydsl.product definition file.
I get this message:
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter

Is there a good tutorial out there which can guide me or perhaps you can tell me what is wrong.
/Gunnar
Re: Generate Eclipse Application [message #1173798 is a reply to message #1171476] Wed, 06 November 2013 19:18 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

maybe this product file helps

<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.5"?>

<product name="test" uid="test" id="org.eclipse.platform.ide" application="org.eclipse.ui.ide.workbench" version="1.0" useFeatures="true" includeLaunchers="true">

   <configIni use="default">
   </configIni>

   <launcherArgs>
      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
   </launcherArgs>

   <plugins>
   </plugins>

   <features>
      <feature id="org.xtext.example.mydsl.sdk" version="1.0.0.qualifier"/>
      <feature id="org.eclipse.sdk" />
      <feature id="org.eclipse.equinox.p2.core.feature"/>
      <feature id="org.eclipse.e4.rcp.source"/>
      <feature id="org.eclipse.equinox.p2.extras.feature.source"/>
      <feature id="org.eclipse.platform"/>
      <feature id="org.eclipse.help.source"/>
      <feature id="org.eclipse.help"/>
      <feature id="org.eclipse.emf.ecore"/>
      <feature id="org.eclipse.rcp.source"/>
      <feature id="org.eclipse.pde.source"/>
      <feature id="org.eclipse.equinox.p2.rcp.feature"/>
      <feature id="org.eclipse.equinox.p2.user.ui"/>
      <feature id="org.eclipse.cvs"/>
      <feature id="org.eclipse.equinox.p2.rcp.feature.source"/>
      <feature id="org.eclipse.jdt.source"/>
      <feature id="org.eclipse.rcp"/>
      <feature id="org.eclipse.jdt"/>
      <feature id="org.eclipse.cvs.source"/>
      <feature id="org.eclipse.e4.rcp"/>
      <feature id="org.eclipse.equinox.p2.user.ui.source"/>
      <feature id="org.eclipse.emf.common"/>
      <feature id="org.eclipse.platform.source"/>
      <feature id="org.eclipse.equinox.p2.core.feature.source"/>
      <feature id="org.eclipse.pde"/>
      <feature id="org.eclipse.equinox.p2.extras.feature"/>
      <feature id="org.eclipse.xtext.sdk" />
      <feature id="org.eclipse.emf.sdk" />
      <feature id="org.eclipse.xtend.sdk" />
   </features>


</product>


btw in the run config there should be a an add required button


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Generate Eclipse Application [message #1174904 is a reply to message #1173798] Thu, 07 November 2013 11:36 Go to previous message
Gunnar Boström is currently offline Gunnar BoströmFriend
Messages: 26
Registered: February 2013
Junior Member
Hi,
Thanks, it works now!
In the Dependencies tab in the product description there is an "Add Required" button, but it did not add anything.
/Gunnar
Previous Topic:Disable validation of imported metamodel
Next Topic:General question
Goto Forum:
  


Current Time: Thu Apr 25 19:28:16 GMT 2024

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

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

Back to the top