Adapt to change in Argeo Commons
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 29 Oct 2022 07:43:48 +0000 (09:43 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 29 Oct 2022 07:43:48 +0000 (09:43 +0200)
org.argeo.slc.cms/src/org/argeo/slc/cms/deploy/osgi/CmsOsgiDeployment.java

index 3c0cf7cc870192b57cc1088d92f774f766125091..d49f526dd8ab9eadf5ae6eb7dba8ec3f8494464d 100644 (file)
@@ -6,6 +6,7 @@ import java.lang.System.Logger.Level;
 import java.nio.file.Files;
 import java.nio.file.Path;
 import java.nio.file.Paths;
+import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.StringJoiner;
@@ -127,7 +128,7 @@ public class CmsOsgiDeployment implements Deployment {
                        // distribution
                        Path a2Base = userHome.resolve("dev/git/unstable/output/a2");
                        A2Distribution distribution = new A2Distribution();
-                       distribution.getA2Sources().add(new FsA2Source(a2Base));
+                       distribution.getA2Sources().add(new FsA2Source(a2Base, new HashMap<>(), true));
 
                        // target data
                        Path instanceData = userHome.resolve("dev/git/unstable/argeo-slc/sdk/exec/cms-deployment/data");