Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Invoking XSDExporter (ModelConverter) programmatically (CI/CD for EMF functionality)
Invoking XSDExporter (ModelConverter) programmatically [message #1844121] Thu, 02 September 2021 00:52 Go to next message
Jörn Guy Süß is currently offline Jörn Guy SüßFriend
Messages: 320
Registered: July 2009
Location: Anstead, Brisbane, Queens...
Senior Member

The XSDExporter is a subclass of ModelExporter and ModelConverter.

Provided the corresponding bundles are installed into an Eclipse instance, is there an ant task or eclipse application to invoke this functionality? Will this invocation require the workbench and GUI to be running, or can this be run headless.

If there is not, how could such functionality be implemented?
Re: Invoking XSDExporter (ModelConverter) programmatically [message #1844127 is a reply to message #1844121] Thu, 02 September 2021 04:53 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
No, there are no ant tasks or applications for exporting. They should be implemented in much the same way to function headless. You could look at org.eclipse.xsd.ecore.importer.XSDImporterApplication as a similar example.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Java.lang.RuntimeException: Cannot create a resource for 'xxxx'; a registered resource
Next Topic:Ecore for mapping metamodel
Goto Forum:
  


Current Time: Thu Apr 25 16:44:05 GMT 2024

Powered by FUDForum. Page generated in 0.03205 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top