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