... | @@ -109,9 +109,11 @@ public class Application implements IApplication { |
... | @@ -109,9 +109,11 @@ 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();
|
|
|
|
if (appArgs.length > 0) {
|
|
|
|
MyGenerator.execute(appArgs[1], injector);
|
|
|
|
} else {
|
|
System.out.println("Hello");
|
|
System.out.println("Hello");
|
|
MyGenerator.execute(appArgs[1]);
|
|
}
|
|
|
|
|
|
return IApplication.EXIT_OK;
|
|
return IApplication.EXIT_OK;
|
|
}
|
|
}
|
|
|
|
|
... | | ... | |