|
|
|
Re: Headless PDE build with Xtext? [message #637689 is a reply to message #637475] |
Mon, 08 November 2010 11:03 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
Are you using a generated or an imported metamodel?
If it's generated, you should have a EcoreGeneratorFragment in your
workflow that will call the EMF generator to create EMF classes from the
Ecore model in a folder called emf-gen. This one must be listen in the
build.properties as src folder.
If it's imported, make sure you have the generated EMF code and add a
(reexported) dependency from the Xtext to the plug-in containing the
code. Make also sure the EMF plug-in exports the Java packages.
Xtext does not support dynamic EMF.
Am 05.11.10 18:19, schrieb pgbackup@yahoo.com:
> Hi Jan,
>
> Thank you for your help. Here is how my build.properties file looks like
> for the grammar folder (org.xtext.example.MyDSL). It looks OK to me. I'm
> not aware of any folder called "emf-gen"? The .mwe2 file generates stuff
> in the src-gen folder.
>
> Quote:
>> source.. = src/,\
>> src-gen/
>> bin.includes = META-INF/,\
>> .,\
>> plugin.xml
>> bin.excludes = META-INF/.svn/
>
>
> Thanks
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Powered by
FUDForum. Page generated in 0.05946 seconds