... | ... | @@ -109,10 +109,12 @@ public class Application implements IApplication { |
|
|
final String[] appArgs = (String[]) args.get("application.args");
|
|
|
|
|
|
final Injector injector = new MyDslStandaloneSetup().createInjectorAndDoEMFRegistration();
|
|
|
System.out.println("Hello");
|
|
|
MyGenerator.execute(appArgs[1]);
|
|
|
|
|
|
return IApplication.EXIT_OK;
|
|
|
if (appArgs.length > 0) {
|
|
|
MyGenerator.execute(appArgs[1], injector);
|
|
|
} else {
|
|
|
System.out.println("Hello");
|
|
|
}
|
|
|
return IApplication.EXIT_OK;
|
|
|
}
|
|
|
|
|
|
|
... | ... | |