Home » Modeling » TMF (Xtext) » Two DSLs in one Eclipse project, only one is active(Noob)
Two DSLs in one Eclipse project, only one is active [message #1214498] |
Wed, 27 November 2013 13:26  |
Eclipse User |
|
|
|
I've just recovered from a few days of almost nothing happening due to a missing imported package. Now that I'm somewhat stable (emotionally) I'm trying to work on my DSL development again! I have two DSLs side by side which are usually both active when I launch the Eclipse Runtime. This has been working for several weeks without incident.
Since I recovered from the missing package, only the second one is active.
I've regenerated the Xtext artifacts.
What should I check?
Thanks,
GW
|
|
| | | | |
Re: Two DSLs in one Eclipse project, only one is active [message #1215221 is a reply to message #1214951] |
Wed, 27 November 2013 20:42   |
Eclipse User |
|
|
|
I decided to run validation on the plugins and came up with this.

Uploaded with ImageShack.us
Tried adding these to the dependencies in manifest.mf, but error persists.
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: spincad
Bundle-Vendor: Holy City Audio
Bundle-Version: 0.91
Bundle-SymbolicName: spincad;singleton:=true
Require-Bundle: org.eclipse.core.filebuffers;bundle-version="3.5.300",
org.eclipse.xtext.xbase;resolution:=optional;visibility:=reexport,
org.eclipse.xtext.generator;resolution:=optional,
org.eclipse.emf.mwe2.launch;resolution:=optional,
com.google.inject.source;bundle-version="3.0.0",
org.eclipse.xtext.junit4;bundle-version="2.4.3",
org.apache.log4j;bundle-version="1.2.15",
org.apache.commons.codec;bundle-version="1.4.0",
org.apache.commons.io;bundle-version="2.0.1",
org.apache.commons.lang;bundle-version="2.6.0",
org.apache.commons.lang3;bundle-version="3.1.0",
org.apache.commons.logging;bundle-version="1.1.1",
org.apache.commons.math;bundle-version="2.1.0",
org.apache.commons.pool;bundle-version="1.6.0",
org.apache.commons.primitives;bundle-version="1.0.0",
org.eclipse.xtext,
org.eclipse.xtext.util,
org.eclipse.emf.ecore,
org.eclipse.emf.common,
org.antlr.runtime,
org.eclipse.xtext.common.types,
org.eclipse.core.filebuffers.source;bundle-version="3.5.300"
Import-Package: org.apache.log4j,
org.eclipse.ui,
org.eclipse.xtext.xbase.lib
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Export-Package: com.holycityaudio.spincad,
com.holycityaudio.spincad.services,
com.holycityaudio.spincad.spinCAD,
com.holycityaudio.spincad.spinCAD.impl,
com.holycityaudio.spincad.spinCAD.util,
com.holycityaudio.spincad.serializer,
com.holycityaudio.spincad.parser.antlr,
com.holycityaudio.spincad.parser.antlr.internal,
com.holycityaudio.spincad.validation,
com.holycityaudio.spincad.scoping,
com.holycityaudio.spincad.generator,
com.holycityaudio.spincad.formatting
|
|
| | | |
Re: Two DSLs in one Eclipse project, only one is active [message #1219024 is a reply to message #1216676] |
Fri, 29 November 2013 13:20  |
Eclipse User |
|
|
|
I had changed so many things randomly hoping for some miracle that this morning I finally gave up.
Since my DSL is based on only 6 source files, I saved these in a separate location then I erased everything in my workspace folder. I went back to Eclipse and recreated a new Xtext project then copied the source code files into the freshly generated template xtext and DomainModelGenerator.xtend files. I did not import the saved files into the workspace as this has confused me before. I just wanted to leave the entire structure just as the Eclipse Xtext project creator intended.
And, wonderfully, it seems like it works again. That was a really painful and frustrating 2 or 3 weeks though!
My "idiot's" lesson is:
1) Don't change anything unless you know 100% what it does.
2) If you are not sure what you're doing, keep notes on before/after settings if you do change something.
3) Keep backups of everything.
|
|
|
Goto Forum:
Current Time: Wed Jul 02 16:10:26 EDT 2025
Powered by FUDForum. Page generated in 0.06119 seconds
|