Home » Modeling » TMF (Xtext) » problems with the tutorial "Five simple steps to your JVM language"
| | |
Re: problems with the tutorial "Five simple steps to your JVM language" [message #755558 is a reply to message #755511] |
Tue, 08 November 2011 19:45 |
Goran Messages: 45 Registered: November 2011 |
Member |
|
|
Hi,
I just ran into the same problem.
Xbase is already a required bundle. Here is the manifest:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: org.xtext.example.mydsl3
Bundle-Vendor: My Company
Bundle-Version: 1.0.0
Bundle-SymbolicName: org.xtext.example.mydsl3; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext;bundle-version="2.1.0";visibility:=reexport,
org.eclipse.xtext.xbase;bundle-version="2.1.0";resolution:=optional;visibility:=reexport,
org.apache.log4j;bundle-version="1.2.15";visibility:=reexport,
org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional;visibility:=reexport,
org.eclipse.xtext.generator;resolution:=optional,
org.eclipse.emf.codegen.ecore;resolution:=optional,
org.eclipse.emf.mwe.utils;resolution:=optional,
org.eclipse.emf.mwe2.launch;resolution:=optional,
org.eclipse.xtext.util,
org.eclipse.emf.ecore,
org.eclipse.emf.common,
org.antlr.runtime,
org.eclipse.xtext.common.types,
org.eclipse.xtext.xtend2.lib,
org.eclipse.xtext.xbase.lib
Import-Package: org.apache.log4j,
org.apache.commons.logging
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.xtext.example.mydsl3,
org.xtext.example.mydsl3.services,
org.xtext.example.mydsl3.myDsl,
org.xtext.example.mydsl3.myDsl.impl,
org.xtext.example.mydsl3.myDsl.util,
org.xtext.example.mydsl3.serializer,
org.xtext.example.mydsl3.parser.antlr,
org.xtext.example.mydsl3.parser.antlr.internal,
org.xtext.example.mydsl3.validation,
org.xtext.example.mydsl3.formatting,
org.xtext.example.mydsl3.jvmmodel
|
|
|
Re: problems with the tutorial "Five simple steps to your JVM language" [message #755573 is a reply to message #755558] |
Tue, 08 November 2011 20:24 |
Sebastian Zarnekow Messages: 3118 Registered: July 2009 |
Senior Member |
|
|
Hi Goran,
you have to add the dependency to the project that contains the model file.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
On 08.11.11 20:45, Goran wrote:
> Hi,
>
> I just ran into the same problem.
> Xbase is already a required bundle. Here is the manifest:
>
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: org.xtext.example.mydsl3
> Bundle-Vendor: My Company
> Bundle-Version: 1.0.0
> Bundle-SymbolicName: org.xtext.example.mydsl3; singleton:=true
> Bundle-ActivationPolicy: lazy
> Require-Bundle:
> org.eclipse.xtext;bundle-version="2.1.0";visibility:=reexport,
> org.eclipse.xtext.xbase;bundle-version="2.1.0";resolution:=optional;visibility:=reexport,
>
> org.apache.log4j;bundle-version="1.2.15";visibility:=reexport,
> org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional;visibility:=reexport,
>
> org.eclipse.xtext.generator;resolution:=optional,
> org.eclipse.emf.codegen.ecore;resolution:=optional,
> org.eclipse.emf.mwe.utils;resolution:=optional,
> org.eclipse.emf.mwe2.launch;resolution:=optional,
> org.eclipse.xtext.util,
> org.eclipse.emf.ecore,
> org.eclipse.emf.common,
> org.antlr.runtime,
> org.eclipse.xtext.common.types,
> org.eclipse.xtext.xtend2.lib,
> org.eclipse.xtext.xbase.lib
> Import-Package: org.apache.log4j,
> org.apache.commons.logging
> Bundle-RequiredExecutionEnvironment: J2SE-1.5
> Export-Package: org.xtext.example.mydsl3,
> org.xtext.example.mydsl3.services,
> org.xtext.example.mydsl3.myDsl,
> org.xtext.example.mydsl3.myDsl.impl,
> org.xtext.example.mydsl3.myDsl.util,
> org.xtext.example.mydsl3.serializer,
> org.xtext.example.mydsl3.parser.antlr,
> org.xtext.example.mydsl3.parser.antlr.internal,
> org.xtext.example.mydsl3.validation,
> org.xtext.example.mydsl3.formatting,
> org.xtext.example.mydsl3.jvmmodel
>
>
|
|
| | | | | | | | | | | |
Goto Forum:
Current Time: Thu Sep 26 11:47:08 GMT 2024
Powered by FUDForum. Page generated in 0.04482 seconds
|