IJvmModelInferrer and Generation of Java files outside of Eclipse model project [message #893990] |
Fri, 06 July 2012 10:55 |
Maxim Frolov Messages: 4 Registered: January 2012 Location: Aachen, Germany |
Junior Member |
|
|
My language is based on Xbase grammar and is similar to the Xtext domainmodel example.
I use an IJvmModelInferrer to generate two kinds of Java classes from the model:
* Java interface classes for entities
* and classes implementing these interfaces
Alle generated files are written by EclipseResourceFileSystemAccess2 to src-gen folder in the same Eclipse project (the project with the model file).
Is it possible to generate files to different Eclipse projects or even to a pre-configured file system locations outside of Eclipse workspace?
The following project structure is desired:
- model-project/src/model.dsl
- api-project/src-gen/x/y/z/Entity.java
- impl-project/src-gen/x/y/z/EntityImpl.java
[Updated on: Fri, 06 July 2012 10:57] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.41596 seconds