- if (args.length == 0) {
- distributionUrl = "org/argeo/commons/org.argeo.dep.cms.sdk/2.1.65/org.argeo.dep.cms.sdk-2.1.65.jar";
- } else {
+ Path executionDir;
+ if (args.length == 2) {
+ distributionUrl = args[0];
+ executionDir = Paths.get(args[1]);
+ } else if (args.length == 1) {
+ executionDir = Paths.get(System.getProperty("user.dir"));