X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=osgi%2Fruntime%2Forg.argeo.osgi.boot%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fosgi%2Fboot%2FOsgiBoot.java;h=276e13c79a0fe45cd9e19a4bdf86258ed354bbee;hb=47c930a22d887da76814cb9cf6c1df975d1639a2;hp=029801b2e2932cc12831933e7cb49cc5610cc31d;hpb=8c645414f508739725b57436d694e3a3d3372df6;p=lgpl%2Fargeo-commons.git diff --git a/osgi/runtime/org.argeo.osgi.boot/src/main/java/org/argeo/osgi/boot/OsgiBoot.java b/osgi/runtime/org.argeo.osgi.boot/src/main/java/org/argeo/osgi/boot/OsgiBoot.java index 029801b2e..276e13c79 100644 --- a/osgi/runtime/org.argeo.osgi.boot/src/main/java/org/argeo/osgi/boot/OsgiBoot.java +++ b/osgi/runtime/org.argeo.osgi.boot/src/main/java/org/argeo/osgi/boot/OsgiBoot.java @@ -94,10 +94,11 @@ public class OsgiBoot { * (last part of the URL). The goal is to stay closer from Eclipse PDE way * of installing target platform bundles. */ - private boolean installInLexicographicOrder = Boolean.valueOf( - System.getProperty( - PROP_ARGEO_OSGI_BOOT_INSTALL_IN_LEXICOGRAPHIC_ORDER, - "false")).booleanValue();; + private boolean installInLexicographicOrder = Boolean + .valueOf( + System.getProperty( + PROP_ARGEO_OSGI_BOOT_INSTALL_IN_LEXICOGRAPHIC_ORDER, + "true")).booleanValue();; /** Default is 10s (set in constructor) */ private long defaultTimeout; @@ -635,10 +636,11 @@ public class OsgiBoot { File baseDir = new File(base.replace('/', File.separatorChar)); File[] files = baseDir.listFiles(); - if (files == null && debug) { - OsgiBootUtils.warn("Base dir " + baseDir - + " has no children, exists=" + baseDir.exists() - + ", isDirectory=" + baseDir.isDirectory()); + if (files == null) { + if (debug) + OsgiBootUtils.warn("Base dir " + baseDir + + " has no children, exists=" + baseDir.exists() + + ", isDirectory=" + baseDir.isDirectory()); return; } @@ -793,6 +795,14 @@ public class OsgiBoot { this.modulesUrlSeparator = modulesUrlSeparator; } + public boolean isExcludeSvn() { + return excludeSvn; + } + + public void setExcludeSvn(boolean excludeSvn) { + this.excludeSvn = excludeSvn; + } + /* * INTERNAL CLASSES */