|
Re: Adding a library to an Xbase DSL [message #1767311 is a reply to message #1767309] |
Tue, 04 July 2017 14:59 |
|
i cannot reproduce this
are you sure you did it right?
you need to add a dependency from the project (plugin) that contains the entity b to the plugin (i assume this is org.eclipse.xtext.example.domainmodel)
btw i would create a separate plugin like org.eclipse.xtext.example.domainmodel.lib for that purpose
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
Re: Adding a library to an Xbase DSL [message #1767312 is a reply to message #1767311] |
Tue, 04 July 2017 15:10 |
Marco Ullrich Messages: 14 Registered: December 2016 Location: Bayreuth |
Junior Member |
|
|
Hi Christian,
thank you for your help! (:
I will add it to a library-plugin as soon as I get it working that way.
I think I got it right (I simply added the file and the dependencies as mentioned above).
Did I missed a step?
Here are the Manifest.MF`s
of the org.eclipse.xtext.example.domainmodel-Plugin (the DSL-Plugin)
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Xtext Domainmodel Example
Bundle-Vendor: Eclipse Xtext
Bundle-Version: 2.12.0.qualifier
Bundle-SymbolicName: org.eclipse.xtext.example.domainmodel; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext,
org.eclipse.xtext.xbase,
org.eclipse.equinox.common;bundle-version="3.5.0",
org.eclipse.emf.ecore,
org.eclipse.xtext.xbase.lib,
org.antlr.runtime,
org.eclipse.xtext.util,
org.eclipse.xtend.lib,
org.eclipse.emf.common,
org.eclipse.xtext.common.types,
org.objectweb.asm;bundle-version="[5.0.1,6.0.0)";resolution:=optional
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: dmodel.lang,
org.eclipse.xtext.example.domainmodel,
org.eclipse.xtext.example.domainmodel.domainmodel,
org.eclipse.xtext.example.domainmodel.domainmodel.impl,
org.eclipse.xtext.example.domainmodel.domainmodel.util,
org.eclipse.xtext.example.domainmodel.formatting2,
org.eclipse.xtext.example.domainmodel.jvmmodel,
org.eclipse.xtext.example.domainmodel.parser.antlr,
org.eclipse.xtext.example.domainmodel.parser.antlr.internal,
org.eclipse.xtext.example.domainmodel.scoping,
org.eclipse.xtext.example.domainmodel.serializer,
org.eclipse.xtext.example.domainmodel.services,
org.eclipse.xtext.example.domainmodel.validation
Import-Package: org.apache.log4j
And the runtime-plugin (DmodelTest):
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: DmodelTest
Bundle-SymbolicName: DmodelTest
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.eclipse.xtext.xbase.lib;bundle-version="2.12.0",
org.eclipse.xtext.example.domainmodel;bundle-version="2.12.0"
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05550 seconds