You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Johan Gielstra <jg...@csc.com> on 2007/08/16 16:43:26 UTC
Generating Static Classes from a .genmodel/.ecore
It is possible to generate static classes from an .ecore or .genmodel
I noticed the org.apache.tuscany.sdo.generateJavaGenerator has methods to
support this but indicates is it deprecated when you run it ?
"Usage: this is a deprecated command replaced by XSD2JavaGenerator"
I did attempt to hack some code together to make it work
JavaGenerator.generateFromGenModel(genModel, targetDirectory,
genOptions);
but I am assuming this code is no longer supported ??
Johan Gielstra
Email: jgielstr@csc.com
Cell: 1-(512)-657-5029
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-user-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-user-help@ws.apache.org