Following the tutorial, confused on how I actually generate any Java code [message #1052041] |
Mon, 29 April 2013 10:49  |
Eclipse User |
|
|
|
Hi,
I have been following the 15 min tutorial and have created my Grammar, generated the artifacts and ran this as a new eclipse application which seems to work fine.
However when I move onto the extended tutorial and create my code generator in the Xtend file and then run my Xtext project as a new eclipse application I don't understand how to generate the Java classes.
The tutorial says 'Now simply create a new source folder src-gen in the that project and see how the compiler will pick up your sample Entities and generate Java code for them.'
I don't understand what I'm missing here or what I need to do to generate the Java code, I just have an empty file in my src folder at the moment.
What exactly do I need to do?
Thanks
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03716 seconds