Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EEF] How do i call the generator programatically (e.g. from maven)
[EEF] How do i call the generator programatically (e.g. from maven) [message #1585960] Mon, 26 January 2015 10:35 Go to next message
Eclipse UserFriend
Hi,

how do i call the generator for EEF programmatically.
EEFLauncher.main(new String[]{
				"model/extlibrary.eefgen","../src-gen2"
		});

does not seem to work
Re: [EEF] How do i call the generator programatically (e.g. from maven) [message #1585975 is a reply to message #1585960] Mon, 26 January 2015 10:48 Go to previous messageGo to next message
Eclipse UserFriend
The Following seems to run through (leveraging mwe) - but i dont know if this is the preferred way - and it produces invalid java code

StandaloneSetup standaloneSetup = new StandaloneSetup();
		standaloneSetup.setPlatformUri("../");
		new EEFLauncher(
				URI.createURI("platform:/resource/org.eclipse.emf.examples.library.edit/model/extlibrary.eefgen"),
				new File("src-gen2"),Lists.newArrayList("src-gen2") );

[Updated on: Mon, 26 January 2015 10:49] by Moderator

Re: [EEF] How do i call the generator programatically (e.g. from maven) [message #1585976 is a reply to message #1585975] Mon, 26 January 2015 10:49 Go to previous message
Eclipse UserFriend
P.S: it does not work, the java code produced is not valid
Previous Topic:ECP/EMForms and pictures
Next Topic:EMFStore and Edapt
Goto Forum:
  


Current Time: Thu Jul 03 19:27:17 EDT 2025

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

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

Back to the top