|
|
|
Re: Extract ATL transformation (.atl) from ATL Model (.xmi) with Java [message #1150200 is a reply to message #1148611] |
Tue, 22 October 2013 16:11 |
Ronan B Messages: 273 Registered: July 2009 |
Senior Member |
|
|
Hi,
You can use the LauncherService.launch method as below:
LauncherService.launch(ILauncher.RUN_MODE,
monitor,
launcher,
modelFactories,
extractors,
injectors,
inModels,
inoutModels,
outModels,
modelPaths,
options,
libraries,
modules);
}
The extractor should be like this:
extractors.put("OUT",CoreService.getExtractor("ATL"));
You must have an output model of type "ATL", like this:
outModels.put("OUT", "ATL");
If you have the injector working already then you just need to plug these settings in to get the output model as an ATL file.
Regards,
Ronan
|
|
|
Powered by
FUDForum. Page generated in 0.03615 seconds