git commit: [KARAF-2990]url list order for org.ops4j.pax.url.mvn.repositories property in org.ops4j.pax.url.mvn.cfg matters

2014-05-20 Thread ffang
Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x ee022a275 - 183c8706b


[KARAF-2990]url list order for org.ops4j.pax.url.mvn.repositories property in 
org.ops4j.pax.url.mvn.cfg matters


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/183c8706
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/183c8706
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/183c8706

Branch: refs/heads/karaf-3.0.x
Commit: 183c8706bb7ab7b616d9004601299975f6b8637c
Parents: ee022a2
Author: Freeman Fang freeman.f...@gmail.com
Authored: Tue May 20 14:44:39 2014 +0800
Committer: Freeman Fang freeman.f...@gmail.com
Committed: Tue May 20 14:44:39 2014 +0800

--
 .../src/main/release/resources/etc/org.ops4j.pax.url.mvn.cfg   | 2 +-
 .../src/main/snapshot/resources/etc/org.ops4j.pax.url.mvn.cfg  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/183c8706/assemblies/features/framework/src/main/release/resources/etc/org.ops4j.pax.url.mvn.cfg
--
diff --git 
a/assemblies/features/framework/src/main/release/resources/etc/org.ops4j.pax.url.mvn.cfg
 
b/assemblies/features/framework/src/main/release/resources/etc/org.ops4j.pax.url.mvn.cfg
index f2244b2..35f6de9 100644
--- 
a/assemblies/features/framework/src/main/release/resources/etc/org.ops4j.pax.url.mvn.cfg
+++ 
b/assemblies/features/framework/src/main/release/resources/etc/org.ops4j.pax.url.mvn.cfg
@@ -99,8 +99,8 @@ org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false
 #
http://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases
 #
 org.ops4j.pax.url.mvn.repositories= \
+file:${karaf.home}/${karaf.default.repository}@id=system.repository, \
 http://repo1.maven.org/maven2@id=central, \
 
http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, 
\
 
http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external,
 \
-file:${karaf.home}/${karaf.default.repository}@id=system.repository, \
 file:${karaf.data}/kar@id=kar.repository@multi

http://git-wip-us.apache.org/repos/asf/karaf/blob/183c8706/assemblies/features/framework/src/main/snapshot/resources/etc/org.ops4j.pax.url.mvn.cfg
--
diff --git 
a/assemblies/features/framework/src/main/snapshot/resources/etc/org.ops4j.pax.url.mvn.cfg
 
b/assemblies/features/framework/src/main/snapshot/resources/etc/org.ops4j.pax.url.mvn.cfg
index ac31bdd..123db8f 100644
--- 
a/assemblies/features/framework/src/main/snapshot/resources/etc/org.ops4j.pax.url.mvn.cfg
+++ 
b/assemblies/features/framework/src/main/snapshot/resources/etc/org.ops4j.pax.url.mvn.cfg
@@ -95,11 +95,11 @@ org.ops4j.pax.url.mvn.defaultLocalRepoAsRemote=false
 #@id=repository.id : the id for the repository, just like in the 
settings.xml this is optional but recommended
 #
 org.ops4j.pax.url.mvn.repositories= \
+file:${karaf.home}/${karaf.default.repository}@id=system.repository, \
 http://repo1.maven.org/maven2@id=central, \
 
http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases,
 \
 
http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, 
\
 
http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external,
 \
 
http://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@norelease,
 \
 
http://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases,
 \
-file:${karaf.home}/${karaf.default.repository}@id=system.repository, \
 file:${karaf.data}/kar@id=kar.repository@multi



git commit: [KARAF-2991] Shell Console throws exception when a service contains int[] as value for a property

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/master 4817ea00e - d68fba1da


[KARAF-2991] Shell Console throws exception when a service contains int[] as 
value for a property


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/d68fba1d
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/d68fba1d
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/d68fba1d

Branch: refs/heads/master
Commit: d68fba1da6c68a28d59ba6c2ee3bfcf4ca41a9df
Parents: 4817ea0
Author: Guillaume Nodet gno...@gmail.com
Authored: Tue May 20 14:52:30 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Tue May 20 14:55:22 2014 +0200

--
 .../org/apache/karaf/shell/util/ShellUtil.java  | 43 ---
 .../apache/karaf/shell/support/ShellUtil.java   | 45 
 2 files changed, 35 insertions(+), 53 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/d68fba1d/shell/console/src/main/java/org/apache/karaf/shell/util/ShellUtil.java
--
diff --git 
a/shell/console/src/main/java/org/apache/karaf/shell/util/ShellUtil.java 
b/shell/console/src/main/java/org/apache/karaf/shell/util/ShellUtil.java
index 5d678c7..d819870 100644
--- a/shell/console/src/main/java/org/apache/karaf/shell/util/ShellUtil.java
+++ b/shell/console/src/main/java/org/apache/karaf/shell/util/ShellUtil.java
@@ -23,11 +23,9 @@ import static 
org.apache.karaf.shell.commands.ansi.SimpleAnsi.COLOR_RED;
 import static org.apache.karaf.shell.commands.ansi.SimpleAnsi.INTENSITY_BOLD;
 import static org.apache.karaf.shell.commands.ansi.SimpleAnsi.INTENSITY_NORMAL;
 
-import java.net.MalformedURLException;
-import java.net.URI;
-import java.net.URL;
 import java.security.AccessControlContext;
 import java.security.AccessController;
+import java.util.Arrays;
 
 import javax.security.auth.Subject;
 
@@ -68,6 +66,22 @@ public class ShellUtil {
 public static String getValueString(Object obj) {
 if (obj == null) {
 return null;
+} else if (obj instanceof boolean[]) {
+return Arrays.toString((boolean[]) obj);
+} else if (obj instanceof byte[]) {
+return Arrays.toString((byte[]) obj);
+} else if (obj instanceof char[]) {
+return Arrays.toString((char[]) obj);
+} else if (obj instanceof double[]) {
+return Arrays.toString((double[]) obj);
+} else if (obj instanceof float[]) {
+return Arrays.toString((float[]) obj);
+} else if (obj instanceof int[]) {
+return Arrays.toString((int[]) obj);
+} else if (obj instanceof long[]) {
+return Arrays.toString((long[]) obj);
+} else if (obj instanceof short[]) {
+return Arrays.toString((short[]) obj);
 } else if (obj.getClass().isArray()) {
 Object[] array = (Object[]) obj;
 StringBuilder sb = new StringBuilder();
@@ -80,29 +94,6 @@ public class ShellUtil {
 }
 sb.append(]);
 return sb.toString();
-} else if (obj instanceof String) {
-return (String) obj;
-} else if (obj instanceof Boolean) {
-return ((Boolean) obj).toString();
-} else if (obj instanceof Long) {
-return ((Long) obj).toString();
-} else if (obj instanceof Integer) {
-return ((Integer) obj).toString();
-} else if (obj instanceof Short) {
-return ((Short) obj).toString();
-} else if (obj instanceof Double) {
-return ((Double) obj).toString();
-} else if (obj instanceof Float) {
-return ((Float) obj).toString();
-} else if (obj instanceof URL) {
-return ((URL) obj).toExternalForm();
-} else if (obj instanceof URI) {
-try {
-return ((URI) obj).toURL().toExternalForm();
-} catch (MalformedURLException e) {
-LOGGER.error(URI could not be transformed to URL, e);
-return obj.toString();
-}
 } else {
 return obj.toString();
 }

http://git-wip-us.apache.org/repos/asf/karaf/blob/d68fba1d/shell/core/src/main/java/org/apache/karaf/shell/support/ShellUtil.java
--
diff --git 
a/shell/core/src/main/java/org/apache/karaf/shell/support/ShellUtil.java 
b/shell/core/src/main/java/org/apache/karaf/shell/support/ShellUtil.java
index 3887565..4fc95c8 100644
--- a/shell/core/src/main/java/org/apache/karaf/shell/support/ShellUtil.java
+++ b/shell/core/src/main/java/org/apache/karaf/shell/support/ShellUtil.java
@@ -18,11 +18,9 @@
  */
 package org.apache.karaf.shell.support;
 
-import 

git commit: [KARAF-2991] Shell Console throws exception when a service contains int[] as value for a property

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x 183c8706b - 605e68026


[KARAF-2991] Shell Console throws exception when a service contains int[] as 
value for a property


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/605e6802
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/605e6802
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/605e6802

Branch: refs/heads/karaf-3.0.x
Commit: 605e68026b1801dfe4fbcd3521c5fadda54f55b5
Parents: 183c870
Author: Guillaume Nodet gno...@gmail.com
Authored: Tue May 20 14:52:30 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Tue May 20 15:00:20 2014 +0200

--
 .../org/apache/karaf/shell/util/ShellUtil.java  | 40 +---
 1 file changed, 17 insertions(+), 23 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/605e6802/shell/console/src/main/java/org/apache/karaf/shell/util/ShellUtil.java
--
diff --git 
a/shell/console/src/main/java/org/apache/karaf/shell/util/ShellUtil.java 
b/shell/console/src/main/java/org/apache/karaf/shell/util/ShellUtil.java
index 3f3bf76..2ffef9f 100644
--- a/shell/console/src/main/java/org/apache/karaf/shell/util/ShellUtil.java
+++ b/shell/console/src/main/java/org/apache/karaf/shell/util/ShellUtil.java
@@ -26,6 +26,7 @@ import java.io.StringWriter;
 import java.net.MalformedURLException;
 import java.net.URI;
 import java.net.URL;
+import java.util.Arrays;
 
 import jline.console.ConsoleReader;
 import org.apache.felix.service.command.CommandSession;
@@ -64,6 +65,22 @@ public class ShellUtil {
 public static String getValueString(Object obj) {
 if (obj == null) {
 return null;
+} else if (obj instanceof boolean[]) {
+return Arrays.toString((boolean[]) obj);
+} else if (obj instanceof byte[]) {
+return Arrays.toString((byte[]) obj);
+} else if (obj instanceof char[]) {
+return Arrays.toString((char[]) obj);
+} else if (obj instanceof double[]) {
+return Arrays.toString((double[]) obj);
+} else if (obj instanceof float[]) {
+return Arrays.toString((float[]) obj);
+} else if (obj instanceof int[]) {
+return Arrays.toString((int[]) obj);
+} else if (obj instanceof long[]) {
+return Arrays.toString((long[]) obj);
+} else if (obj instanceof short[]) {
+return Arrays.toString((short[]) obj);
 } else if (obj.getClass().isArray()) {
 Object[] array = (Object[]) obj;
 StringBuilder sb = new StringBuilder();
@@ -76,29 +93,6 @@ public class ShellUtil {
 }
 sb.append(]);
 return sb.toString();
-} else if (obj instanceof String) {
-return (String) obj;
-} else if (obj instanceof Boolean) {
-return ((Boolean) obj).toString();
-} else if (obj instanceof Long) {
-return ((Long) obj).toString();
-} else if (obj instanceof Integer) {
-return ((Integer) obj).toString();
-} else if (obj instanceof Short) {
-return ((Short) obj).toString();
-} else if (obj instanceof Double) {
-return ((Double) obj).toString();
-} else if (obj instanceof Float) {
-return ((Float) obj).toString();
-} else if (obj instanceof URL) {
-return ((URL) obj).toExternalForm();
-} else if (obj instanceof URI) {
-try {
-return ((URI) obj).toURL().toExternalForm();
-} catch (MalformedURLException e) {
-LOGGER.error(URI could not be transformed to URL, e);
-return obj.toString();
-}
 } else {
 return obj.toString();
 }



git commit: [KARAF-2991] Shell Console throws exception when a service contains int[] as value for a property

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/karaf-2.3.x 5e2989c0e - 8f7d9edf7


[KARAF-2991] Shell Console throws exception when a service contains int[] as 
value for a property


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/8f7d9edf
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/8f7d9edf
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/8f7d9edf

Branch: refs/heads/karaf-2.3.x
Commit: 8f7d9edf77ec7e0c6ba562fadeb5da94ee7bce5f
Parents: 5e2989c
Author: Guillaume Nodet gno...@gmail.com
Authored: Tue May 20 14:52:30 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Tue May 20 15:12:46 2014 +0200

--
 .../karaf/shell/osgi/ListBundleServices.java|  67 +
 .../java/org/apache/karaf/shell/osgi/Util.java  | 143 +--
 2 files changed, 38 insertions(+), 172 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/8f7d9edf/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java
--
diff --git 
a/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java 
b/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java
index edbaac2..354efb3 100644
--- 
a/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java
+++ 
b/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java
@@ -26,6 +26,7 @@ import org.osgi.framework.ServiceReference;
 import java.net.MalformedURLException;
 import java.net.URI;
 import java.net.URL;
+import java.util.Arrays;
 import java.util.List;
 
 @Command(scope = osgi, name = bundle-services, description = List OSGi 
services per bundle)
@@ -79,7 +80,7 @@ public class ListBundleServices extends BundlesCommand {
 if (showProperties) {
 printProperties(serviceRef);
 } else {
-
System.out.println(ListBundleServices.getValueString(objectClass));
+System.out.println(Util.getValueString(objectClass));
 }
 
 needSeparator = true;
@@ -98,70 +99,8 @@ public class ListBundleServices extends BundlesCommand {
 
 private void printProperties(ServiceReference serviceRef) {
 for (String key : serviceRef.getPropertyKeys()) {
-System.out.println(key +  =  + 
ListBundleServices.getValueString(serviceRef.getProperty(key)));
+System.out.println(key +  =  + 
Util.getValueString(serviceRef.getProperty(key)));
 }
 }
 
-private static String getBundleName(Bundle bundle) {
-if (bundle != null) {
-String name = (String) 
bundle.getHeaders().get(Constants.BUNDLE_NAME);
-return (name == null)
-? Bundle  + Long.toString(bundle.getBundleId())
-: name +  ( + Long.toString(bundle.getBundleId()) + );
-}
-return [STALE BUNDLE];
-}
-
-private static String getUnderlineString(String s) {
-StringBuilder sb = new StringBuilder(s.length());
-for (int i = 0; i  s.length(); i++) {
-sb.append('-');
-}
-return sb.toString();
-}
-
-
-private static String getValueString(Object obj) {
-if (obj == null) {
-return null;
-} else if (obj.getClass().isArray()) {
-Object[] array = (Object[]) obj;
-StringBuilder sb = new StringBuilder();
-sb.append([);
-for (int i = 0; i  array.length; i++) {
-if (i != 0) {
-sb.append(, );
-}
-sb.append(getValueString(array[i]));
-}
-sb.append(]);
-return sb.toString();
-} else if (obj instanceof String) {
-return (String) obj;
-} else if (obj instanceof Boolean) {
-return ((Boolean) obj).toString();
-} else if (obj instanceof Long) {
-return ((Long) obj).toString();
-} else if (obj instanceof Integer) {
-return ((Integer) obj).toString();
-} else if (obj instanceof Short) {
-return ((Short) obj).toString();
-} else if (obj instanceof Double) {
-return ((Double) obj).toString();
-} else if (obj instanceof Float) {
-return ((Float) obj).toString();
-} else if (obj instanceof URL) {
-return ((URL) obj).toExternalForm();
-} else if (obj instanceof URI) {
-try {
-return ((URI) obj).toURL().toExternalForm();
-} catch (MalformedURLException e) {
-return obj.toString();
-}
-} else {
-return obj.toString();
-}
-}
-
-
 }


git commit: [KARAF-2991] Shell Console throws exception when a service contains int[] as value for a property

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/karaf-2.x 8a9e7d1f5 - 85c6e2e9f


[KARAF-2991] Shell Console throws exception when a service contains int[] as 
value for a property


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/85c6e2e9
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/85c6e2e9
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/85c6e2e9

Branch: refs/heads/karaf-2.x
Commit: 85c6e2e9f5e2cde4cea850dca3da684652c92a6d
Parents: 8a9e7d1
Author: Guillaume Nodet gno...@gmail.com
Authored: Tue May 20 14:52:30 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Tue May 20 15:12:19 2014 +0200

--
 .../karaf/shell/osgi/ListBundleServices.java|  67 +
 .../java/org/apache/karaf/shell/osgi/Util.java  | 143 +--
 2 files changed, 38 insertions(+), 172 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/85c6e2e9/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java
--
diff --git 
a/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java 
b/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java
index edbaac2..354efb3 100644
--- 
a/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java
+++ 
b/shell/osgi/src/main/java/org/apache/karaf/shell/osgi/ListBundleServices.java
@@ -26,6 +26,7 @@ import org.osgi.framework.ServiceReference;
 import java.net.MalformedURLException;
 import java.net.URI;
 import java.net.URL;
+import java.util.Arrays;
 import java.util.List;
 
 @Command(scope = osgi, name = bundle-services, description = List OSGi 
services per bundle)
@@ -79,7 +80,7 @@ public class ListBundleServices extends BundlesCommand {
 if (showProperties) {
 printProperties(serviceRef);
 } else {
-
System.out.println(ListBundleServices.getValueString(objectClass));
+System.out.println(Util.getValueString(objectClass));
 }
 
 needSeparator = true;
@@ -98,70 +99,8 @@ public class ListBundleServices extends BundlesCommand {
 
 private void printProperties(ServiceReference serviceRef) {
 for (String key : serviceRef.getPropertyKeys()) {
-System.out.println(key +  =  + 
ListBundleServices.getValueString(serviceRef.getProperty(key)));
+System.out.println(key +  =  + 
Util.getValueString(serviceRef.getProperty(key)));
 }
 }
 
-private static String getBundleName(Bundle bundle) {
-if (bundle != null) {
-String name = (String) 
bundle.getHeaders().get(Constants.BUNDLE_NAME);
-return (name == null)
-? Bundle  + Long.toString(bundle.getBundleId())
-: name +  ( + Long.toString(bundle.getBundleId()) + );
-}
-return [STALE BUNDLE];
-}
-
-private static String getUnderlineString(String s) {
-StringBuilder sb = new StringBuilder(s.length());
-for (int i = 0; i  s.length(); i++) {
-sb.append('-');
-}
-return sb.toString();
-}
-
-
-private static String getValueString(Object obj) {
-if (obj == null) {
-return null;
-} else if (obj.getClass().isArray()) {
-Object[] array = (Object[]) obj;
-StringBuilder sb = new StringBuilder();
-sb.append([);
-for (int i = 0; i  array.length; i++) {
-if (i != 0) {
-sb.append(, );
-}
-sb.append(getValueString(array[i]));
-}
-sb.append(]);
-return sb.toString();
-} else if (obj instanceof String) {
-return (String) obj;
-} else if (obj instanceof Boolean) {
-return ((Boolean) obj).toString();
-} else if (obj instanceof Long) {
-return ((Long) obj).toString();
-} else if (obj instanceof Integer) {
-return ((Integer) obj).toString();
-} else if (obj instanceof Short) {
-return ((Short) obj).toString();
-} else if (obj instanceof Double) {
-return ((Double) obj).toString();
-} else if (obj instanceof Float) {
-return ((Float) obj).toString();
-} else if (obj instanceof URL) {
-return ((URL) obj).toExternalForm();
-} else if (obj instanceof URI) {
-try {
-return ((URI) obj).toURL().toExternalForm();
-} catch (MalformedURLException e) {
-return obj.toString();
-}
-} else {
-return obj.toString();
-}
-}
-
-
 }


git commit: [KARAF-2992] Generate the shutdown command at first boot

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/master d68fba1da - 78bf566d5


[KARAF-2992] Generate the shutdown command at first boot

Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/78bf566d
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/78bf566d
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/78bf566d

Branch: refs/heads/master
Commit: 78bf566d5104aa5ed91754ba3dcdb88c9c498ed7
Parents: d68fba1
Author: Guillaume Nodet gno...@gmail.com
Authored: Tue May 20 15:18:11 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Tue May 20 15:18:11 2014 +0200

--
 .../java/org/apache/karaf/main/ConfigProperties.java| 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/78bf566d/main/src/main/java/org/apache/karaf/main/ConfigProperties.java
--
diff --git a/main/src/main/java/org/apache/karaf/main/ConfigProperties.java 
b/main/src/main/java/org/apache/karaf/main/ConfigProperties.java
index d30c9c1..32947d9 100644
--- a/main/src/main/java/org/apache/karaf/main/ConfigProperties.java
+++ b/main/src/main/java/org/apache/karaf/main/ConfigProperties.java
@@ -22,6 +22,9 @@ import java.io.File;
 import java.io.FileNotFoundException;
 import java.net.URI;
 import java.net.URISyntaxException;
+import java.util.Arrays;
+import java.util.UUID;
+
 import org.apache.felix.utils.properties.Properties;
 
 import org.apache.karaf.main.lock.SimpleFileLock;
@@ -231,10 +234,17 @@ public class ConfigProperties {
 this.shutdownPort = 
Integer.parseInt(props.getProperty(KARAF_SHUTDOWN_PORT, 0));
 this.shutdownHost = props.getProperty(KARAF_SHUTDOWN_HOST, 
localhost);
 this.portFile = props.getProperty(KARAF_SHUTDOWN_PORT_FILE);
-this.shutdownCommand = props.getProperty(KARAF_SHUTDOWN_COMMAND, 
DEFAULT_SHUTDOWN_COMMAND);
+this.shutdownCommand = props.getProperty(KARAF_SHUTDOWN_COMMAND);
 this.startupMessage = props.getProperty(KARAF_STARTUP_MESSAGE, Apache 
Karaf starting up. Press Enter to open the shell now...);
 this.delayConsoleStart = 
Boolean.parseBoolean(props.getProperty(KARAF_DELAY_CONSOLE, false));
 System.setProperty(KARAF_DELAY_CONSOLE, new 
Boolean(this.delayConsoleStart).toString());
+
+if (shutdownCommand == null || shutdownCommand.isEmpty()) {
+shutdownCommand = UUID.randomUUID().toString();
+Properties temp = new Properties(file);
+temp.put(KARAF_SHUTDOWN_COMMAND, Arrays.asList(, #, # 
Generated command shutdown, #), shutdownCommand);
+temp.save();
+}
 }
 
 private String getPropertyOrFail(String propertyName) {



git commit: [KARAF-2992] Generate the shutdown command at first boot

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/karaf-2.3.x 8f7d9edf7 - dfeefb8b8


[KARAF-2992] Generate the shutdown command at first boot


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/dfeefb8b
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/dfeefb8b
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/dfeefb8b

Branch: refs/heads/karaf-2.3.x
Commit: dfeefb8b8463f59b3da6164834f1014f79dafdf3
Parents: 8f7d9ed
Author: Guillaume Nodet gno...@gmail.com
Authored: Tue May 20 15:18:11 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Tue May 20 15:35:12 2014 +0200

--
 main/src/main/java/org/apache/karaf/main/Main.java | 14 +-
 1 file changed, 13 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/dfeefb8b/main/src/main/java/org/apache/karaf/main/Main.java
--
diff --git a/main/src/main/java/org/apache/karaf/main/Main.java 
b/main/src/main/java/org/apache/karaf/main/Main.java
index 9ba5a30..65e9ae0 100644
--- a/main/src/main/java/org/apache/karaf/main/Main.java
+++ b/main/src/main/java/org/apache/karaf/main/Main.java
@@ -40,6 +40,7 @@ import java.util.Properties;
 import java.util.Random;
 import java.util.StringTokenizer;
 import java.util.TreeMap;
+import java.util.UUID;
 import java.util.jar.Manifest;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -1457,7 +1458,18 @@ public class Main {
 int port = Integer.parseInt(props.getProperty(KARAF_SHUTDOWN_PORT, 
0));
 String host = props.getProperty(KARAF_SHUTDOWN_HOST, localhost);
 String portFile = props.getProperty(KARAF_SHUTDOWN_PORT_FILE);
-final String shutdown = props.getProperty(KARAF_SHUTDOWN_COMMAND, 
DEFAULT_SHUTDOWN_COMMAND);
+String shutdown = props.getProperty(KARAF_SHUTDOWN_COMMAND);
+if (shutdown == null) {
+shutdown = UUID.randomUUID().toString();
+File file = new File(karafBase, etc/ + 
CONFIG_PROPERTIES_FILE_NAME);
+Writer writer = new FileWriter(file, true);
+try {
+writer.write(\n#\n# Generated command shutdown\n,#\n
++ KARAF_SHUTDOWN_COMMAND +  =  + shutdown + 
\n);
+} finally {
+writer.close();
+}
+}
 if (port = 0) {
 shutdownSocket = new ServerSocket(port, 1, 
InetAddress.getByName(host));
 if (port == 0) {



git commit: [KARAF-2992] Generate the shutdown command at first boot

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x 605e68026 - 830251463


[KARAF-2992] Generate the shutdown command at first boot


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/83025146
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/83025146
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/83025146

Branch: refs/heads/karaf-3.0.x
Commit: 830251463955740cac12fbf38d59b0459716829f
Parents: 605e680
Author: Guillaume Nodet gno...@gmail.com
Authored: Tue May 20 15:18:11 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Tue May 20 15:20:41 2014 +0200

--
 .../java/org/apache/karaf/main/ConfigProperties.java| 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/83025146/main/src/main/java/org/apache/karaf/main/ConfigProperties.java
--
diff --git a/main/src/main/java/org/apache/karaf/main/ConfigProperties.java 
b/main/src/main/java/org/apache/karaf/main/ConfigProperties.java
index d30c9c1..32947d9 100644
--- a/main/src/main/java/org/apache/karaf/main/ConfigProperties.java
+++ b/main/src/main/java/org/apache/karaf/main/ConfigProperties.java
@@ -22,6 +22,9 @@ import java.io.File;
 import java.io.FileNotFoundException;
 import java.net.URI;
 import java.net.URISyntaxException;
+import java.util.Arrays;
+import java.util.UUID;
+
 import org.apache.felix.utils.properties.Properties;
 
 import org.apache.karaf.main.lock.SimpleFileLock;
@@ -231,10 +234,17 @@ public class ConfigProperties {
 this.shutdownPort = 
Integer.parseInt(props.getProperty(KARAF_SHUTDOWN_PORT, 0));
 this.shutdownHost = props.getProperty(KARAF_SHUTDOWN_HOST, 
localhost);
 this.portFile = props.getProperty(KARAF_SHUTDOWN_PORT_FILE);
-this.shutdownCommand = props.getProperty(KARAF_SHUTDOWN_COMMAND, 
DEFAULT_SHUTDOWN_COMMAND);
+this.shutdownCommand = props.getProperty(KARAF_SHUTDOWN_COMMAND);
 this.startupMessage = props.getProperty(KARAF_STARTUP_MESSAGE, Apache 
Karaf starting up. Press Enter to open the shell now...);
 this.delayConsoleStart = 
Boolean.parseBoolean(props.getProperty(KARAF_DELAY_CONSOLE, false));
 System.setProperty(KARAF_DELAY_CONSOLE, new 
Boolean(this.delayConsoleStart).toString());
+
+if (shutdownCommand == null || shutdownCommand.isEmpty()) {
+shutdownCommand = UUID.randomUUID().toString();
+Properties temp = new Properties(file);
+temp.put(KARAF_SHUTDOWN_COMMAND, Arrays.asList(, #, # 
Generated command shutdown, #), shutdownCommand);
+temp.save();
+}
 }
 
 private String getPropertyOrFail(String propertyName) {



git commit: [KARAF-2992] Generate the shutdown command at first boot

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/karaf-2.x 85c6e2e9f - 89b6d789c


[KARAF-2992] Generate the shutdown command at first boot


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/89b6d789
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/89b6d789
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/89b6d789

Branch: refs/heads/karaf-2.x
Commit: 89b6d789cf7c96a53f91aaa35e092096c849540d
Parents: 85c6e2e
Author: Guillaume Nodet gno...@gmail.com
Authored: Tue May 20 15:18:11 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Tue May 20 15:28:42 2014 +0200

--
 main/src/main/java/org/apache/karaf/main/Main.java | 15 ++-
 1 file changed, 14 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/89b6d789/main/src/main/java/org/apache/karaf/main/Main.java
--
diff --git a/main/src/main/java/org/apache/karaf/main/Main.java 
b/main/src/main/java/org/apache/karaf/main/Main.java
index 359dcfd..59b89a4 100644
--- a/main/src/main/java/org/apache/karaf/main/Main.java
+++ b/main/src/main/java/org/apache/karaf/main/Main.java
@@ -34,6 +34,7 @@ import java.io.File;
 import java.io.FileInputStream;
 import java.io.FileNotFoundException;
 import java.io.FileOutputStream;
+import java.io.FileWriter;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.InputStreamReader;
@@ -60,6 +61,7 @@ import java.util.Properties;
 import java.util.Random;
 import java.util.StringTokenizer;
 import java.util.TreeMap;
+import java.util.UUID;
 import java.util.jar.Manifest;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -1506,7 +1508,18 @@ public class Main {
 int port = Integer.parseInt(props.getProperty(KARAF_SHUTDOWN_PORT, 
0));
 String host = props.getProperty(KARAF_SHUTDOWN_HOST, localhost);
 String portFile = props.getProperty(KARAF_SHUTDOWN_PORT_FILE);
-final String shutdown = props.getProperty(KARAF_SHUTDOWN_COMMAND, 
DEFAULT_SHUTDOWN_COMMAND);
+String shutdown = props.getProperty(KARAF_SHUTDOWN_COMMAND);
+if (shutdown == null) {
+shutdown = UUID.randomUUID().toString();
+File file = new File(karafEtc, CONFIG_PROPERTIES_FILE_NAME);
+Writer writer = new FileWriter(file, true);
+try {
+writer.write(\n#\n# Generated command shutdown\n,#\n
++ KARAF_SHUTDOWN_COMMAND +  =  + shutdown + 
\n);
+} finally {
+writer.close();
+}
+}
 if (port = 0) {
 shutdownSocket = new ServerSocket(port, 1, 
InetAddress.getByName(host));
 if (port == 0) {



git commit: [KARAF-2991] Add unit tests

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/master 78bf566d5 - c8bb82323


[KARAF-2991] Add unit tests

Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/c8bb8232
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/c8bb8232
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/c8bb8232

Branch: refs/heads/master
Commit: c8bb82323749c36ca6451680ebb13a92190bb9f8
Parents: 78bf566
Author: Guillaume Nodet gno...@gmail.com
Authored: Tue May 20 16:01:57 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Tue May 20 16:01:57 2014 +0200

--
 .../karaf/shell/support/ShellUtilTest.java  | 79 
 1 file changed, 79 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/c8bb8232/shell/core/src/test/java/org/apache/karaf/shell/support/ShellUtilTest.java
--
diff --git 
a/shell/core/src/test/java/org/apache/karaf/shell/support/ShellUtilTest.java 
b/shell/core/src/test/java/org/apache/karaf/shell/support/ShellUtilTest.java
new file mode 100644
index 000..f6d0ba9
--- /dev/null
+++ b/shell/core/src/test/java/org/apache/karaf/shell/support/ShellUtilTest.java
@@ -0,0 +1,79 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * License); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.karaf.shell.support;
+
+import java.util.Arrays;
+import java.util.HashSet;
+import java.util.LinkedHashSet;
+
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+
+public class ShellUtilTest {
+
+@Test
+public void testGetValueString() {
+Object data;
+data = Hello World;
+assertEquals(Hello World, ShellUtil.getValueString(data));
+
+data = new int[]{1, 2, 3, 5, 7, 9};
+assertEquals([1, 2, 3, 5, 7, 9], ShellUtil.getValueString(data));
+
+data = new short[]{1, 2, 3, 5, 7, 9};
+assertEquals([1, 2, 3, 5, 7, 9], ShellUtil.getValueString(data));
+
+data = new long[]{1, 2, 3, 5, 7, 9};
+assertEquals([1, 2, 3, 5, 7, 9], ShellUtil.getValueString(data));
+
+data = new byte[]{1, 2, 3, 5, 7, 9};
+assertEquals([1, 2, 3, 5, 7, 9], ShellUtil.getValueString(data));
+
+data = new float[]{1, 2, 3, 5, 7, 9};
+assertEquals([1.0, 2.0, 3.0, 5.0, 7.0, 9.0], 
ShellUtil.getValueString(data));
+
+data = new double[]{1, 2, 3, 5, 7, 9};
+assertEquals([1.0, 2.0, 3.0, 5.0, 7.0, 9.0], 
ShellUtil.getValueString(data));
+
+data = new boolean[]{true, true, false};
+assertEquals([true, true, false], ShellUtil.getValueString(data));
+
+data = new char[]{'a', 'c', 'e'};
+assertEquals([a, c, e], ShellUtil.getValueString(data));
+
+data = new Object[]{
+new int[]{1, 2, 3, 5, 8},
+new char[]{'h', 'e', 'l', 'l', 'o'},
+World
+};
+assertEquals([[1, 2, 3, 5, 8], [h, e, l, l, o], World], 
ShellUtil.getValueString(data));
+
+data = Arrays.asList(5, 10, 15, 25);
+assertEquals([5, 10, 15, 25], ShellUtil.getValueString(data));
+
+data = new LinkedHashSet(Arrays.asList(5, 10, 15, 25));
+assertEquals([5, 10, 15, 25], ShellUtil.getValueString(data));
+
+data = new int[][]{{1, 2, 3}, {5, 7, 9}};
+assertEquals([[1, 2, 3], [5, 7, 9]], ShellUtil.getValueString(data));
+
+}
+
+}



git commit: [KARAF-448] Make scanning for MANIFEST.MF in jar consistent between osgi:install and feature:install

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x 830251463 - 0581f0786


[KARAF-448] Make scanning for MANIFEST.MF in jar consistent between 
osgi:install and feature:install

Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/0581f078
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/0581f078
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/0581f078

Branch: refs/heads/karaf-3.0.x
Commit: 0581f0786340960a4f28dccc25fb6660ea620a18
Parents: 8302514
Author: Guillaume Nodet gno...@gmail.com
Authored: Wed May 21 00:28:08 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Wed May 21 00:28:08 2014 +0200

--
 .../apache/karaf/features/internal/BundleManager.java | 14 +-
 1 file changed, 13 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/0581f078/features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java
--
diff --git 
a/features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java
 
b/features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java
index cd744f0..1eb0d06 100644
--- 
a/features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java
+++ 
b/features/core/src/main/java/org/apache/karaf/features/internal/BundleManager.java
@@ -37,6 +37,7 @@ import java.util.Map;
 import java.util.Set;
 import java.util.jar.JarInputStream;
 import java.util.jar.Manifest;
+import java.util.zip.ZipEntry;
 
 import org.apache.felix.utils.manifest.Clause;
 import org.apache.felix.utils.manifest.Parser;
@@ -61,6 +62,8 @@ import org.osgi.util.tracker.ServiceTracker;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+import static java.util.jar.JarFile.MANIFEST_NAME;
+
 public class BundleManager {
 
 private static final Logger LOGGER = 
LoggerFactory.getLogger(BundleManager.class);
@@ -96,7 +99,16 @@ public class BundleManager {
 JarInputStream jar = new JarInputStream(is);
 Manifest m = jar.getManifest();
 if (m == null) {
-throw new BundleException(Manifest not present in the first 
entry of the zip  + bundleLocation);
+ZipEntry entry;
+while ((entry = jar.getNextEntry()) != null) {
+if (MANIFEST_NAME.equals(entry.getName())) {
+m = new Manifest(jar);
+break;
+}
+}
+if (m == null) {
+throw new BundleException(Manifest not present in the zip 
 + bundleLocation);
+}
 }
 String sn = 
m.getMainAttributes().getValue(Constants.BUNDLE_SYMBOLICNAME);
 if (sn == null) {



git commit: [KARAF-448] Make scanning for MANIFEST.MF in jar consistent between osgi:install and feature:install

2014-05-20 Thread gnodet
Repository: karaf
Updated Branches:
  refs/heads/karaf-2.x 89b6d789c - f1f2f1b5c


[KARAF-448] Make scanning for MANIFEST.MF in jar consistent between 
osgi:install and feature:install


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/f1f2f1b5
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/f1f2f1b5
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/f1f2f1b5

Branch: refs/heads/karaf-2.x
Commit: f1f2f1b5c8fdcfe8e4d3bd901002aee8b78d1322
Parents: 89b6d78
Author: Guillaume Nodet gno...@gmail.com
Authored: Wed May 21 00:28:08 2014 +0200
Committer: Guillaume Nodet gno...@gmail.com
Committed: Wed May 21 00:32:31 2014 +0200

--
 .../karaf/features/internal/FeaturesServiceImpl.java   | 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/karaf/blob/f1f2f1b5/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java
--
diff --git 
a/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java
 
b/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java
index 7a3bc7a..9b04a44 100644
--- 
a/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java
+++ 
b/features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java
@@ -50,6 +50,7 @@ import java.util.jar.JarInputStream;
 import java.util.jar.Manifest;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
+import java.util.zip.ZipEntry;
 
 import org.apache.felix.utils.manifest.Clause;
 import org.apache.felix.utils.manifest.Parser;
@@ -83,6 +84,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import static java.lang.String.format;
+import static java.util.jar.JarFile.MANIFEST_NAME;
 
 /**
  * The Features service implementation.
@@ -834,7 +836,16 @@ public class FeaturesServiceImpl implements 
FeaturesService, FrameworkListener {
 JarInputStream jar = new JarInputStream(is);
 Manifest m = jar.getManifest();
 if (m == null) {
-throw new BundleException(Manifest not present in the first 
entry of the zip  + bundleLocation);
+ZipEntry entry;
+while ((entry = jar.getNextEntry()) != null) {
+if (MANIFEST_NAME.equals(entry.getName())) {
+m = new Manifest(jar);
+break;
+}
+}
+if (m == null) {
+throw new BundleException(Manifest not present in the zip 
 + bundleLocation);
+}
 }
 String sn = 
m.getMainAttributes().getValue(Constants.BUNDLE_SYMBOLICNAME);
 if (sn == null) {



Build failed in Jenkins: karaf-master » Apache Karaf #2534

2014-05-20 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/karaf-master/org.apache.karaf$karaf/2534/changes

Changes:

[gnodet] [KARAF-2985] Provide a plugin to automatically generate generic 
requirements / dependencies for karaf internal activators

[gnodet] Fix manual and command help generation

[gnodet] Add missing snapshot repo for plugins

--
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
===[JENKINS REMOTING CAPACITY]===   channel started
Executing Maven:  -B -f 
https://builds.apache.org/job/karaf-master/org.apache.karaf$karaf/ws/pom.xml 
-Dmaven.repo.local=https://builds.apache.org/job/karaf-master/org.apache.karaf$karaf/ws/.repository
 -B -e clean deploy
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading: 
http://repository.apache.org/content/groups/snapshots-group/org/apache/felix/maven-bundle-plugin/2.4.1-SNAPSHOT/maven-metadata.xml
Downloaded: 
http://repository.apache.org/content/groups/snapshots-group/org/apache/felix/maven-bundle-plugin/2.4.1-SNAPSHOT/maven-metadata.xml
 (785 B at 1.6 KB/sec)
Downloading: 
http://repository.apache.org/content/groups/snapshots-group/org/apache/felix/maven-bundle-plugin/2.4.1-SNAPSHOT/maven-bundle-plugin-2.4.1-20140519.071320-3.pom
Downloaded: 
http://repository.apache.org/content/groups/snapshots-group/org/apache/felix/maven-bundle-plugin/2.4.1-SNAPSHOT/maven-bundle-plugin-2.4.1-20140519.071320-3.pom
 (5 KB at 28.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/biz/aQute/bnd/bndlib/2.2.0/bndlib-2.2.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/biz/aQute/bnd/bndlib/2.2.0/bndlib-2.2.0.pom 
(2 KB at 7.3 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/biz/aQute/bnd/parent/2.2.0/parent-2.2.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/biz/aQute/bnd/parent/2.2.0/parent-2.2.0.pom 
(3 KB at 222.6 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.utils/1.6.0/org.apache.felix.utils-1.6.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/felix/org.apache.felix.utils/1.6.0/org.apache.felix.utils-1.6.0.pom
 (4 KB at 246.1 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/osgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/osgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.pom
 (463 B at 34.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.pom
 (5 KB at 308.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-sitetools/1.0/doxia-sitetools-1.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-sitetools/1.0/doxia-sitetools-1.0.pom
 (10 KB at 668.7 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.pom
 (3 KB at 167.1 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.pom
 (8 KB at 562.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.pom
 (4 KB at 220.0 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.pom
 (3 KB at 146.7 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-modules/1.0/doxia-modules-1.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-modules/1.0/doxia-modules-1.0.pom
 (3 KB at 194.8 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.pom
 (3 KB at 219.1 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.pom
Downloaded: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.pom
 (3 KB at 168.4 KB/sec)
Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.pom
Downloaded: 

Build failed in Jenkins: karaf-master #2534

2014-05-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/karaf-master/2534/changes

Changes:

[gnodet] Remove unused files

[gnodet] [KARAF-751] Provide a quartz based scheduler

[gnodet] [KARAF-751] Add two commands for scheduling scripts and unscheduling 
jobs

[gnodet] [KARAF-413] Tab completion on path when installing bundles

[gnodet] [KARAF-132] The user name for the main console session is always 
karaf

[gnodet] [KARAF-2983] Support window size change signals in Terminal

[gnodet] [KARAF-2069] Provide a less pager command

[janstey] KARAF-2984 - Improve setenv script to include placeholder for extra 
java options

[janstey] Fix misplaced quote

[jbonofre] [KARAF-2974] Specify the syntax format in OBR commands

[jbonofre] [KARAF-2974] Document the syntax to use to identify bundles in the 
OBR MBean

[gnodet] [KARAF-413] Add a file or uri completer for cat command

[gnodet] [KARAF-2985] Provide a plugin to automatically generate generic 
requirements / dependencies for karaf internal activators

[gnodet] [KARAF-2986] Use urls for features repository completion mapping

[freeman.fang] [KARAF-2980]strip off tabs/spaces around role|group names

[jbonofre] Fix build of the manual

[gnodet] Fix scr feature to add missing capabilities

[gnodet] Fix manual and command help generation

[gnodet] Clean some warnings and unused code in features/core

[gnodet] Fix web module activator

[gnodet] [KARAF-2988] Add support for prerequisites on features

[gnodet] Add missing snapshot repo for plugins

[anierbeck] [KARAF-2818] - Add ECF to feature repo

[freeman.fang] [KARAF-2989]rmiServerHost configruation doesn't work on Karaf 3.x

[gnodet] [KARAF-2991] Shell Console throws exception when a service contains 
int[] as value for a property

[gnodet] [KARAF-2992] Generate the shutdown command at first boot

[gnodet] [KARAF-2991] Add unit tests

--
[...truncated 237 lines...]
[INFO] Apache Karaf :: Tooling ... SKIPPED
[INFO] Apache Karaf :: Tooling :: Maven Karaf Plugin for Services Metadata  
SKIPPED
[INFO] Apache Karaf :: Features :: Core .. SKIPPED
[INFO] Apache Karaf :: JAAS :: Config  SKIPPED
[INFO] Apache Karaf :: JAAS :: Modules ... SKIPPED
[INFO] Apache Karaf :: Service ... SKIPPED
[INFO] Apache Karaf :: Service :: Guard .. SKIPPED
[INFO] Apache Karaf :: Shell . SKIPPED
[INFO] Apache Karaf :: Shell :: Core . SKIPPED
[INFO] Apache Karaf :: Features :: Command ... SKIPPED
[INFO] Apache Karaf :: KAR :: Core ... SKIPPED
[INFO] Apache Karaf :: Bundle  SKIPPED
[INFO] Apache Karaf :: Bundle :: Core  SKIPPED
[INFO] Apache Karaf :: Bundle :: BlueprintStateService ... SKIPPED
[INFO] Apache Karaf :: Bundle :: SpringStateService .. SKIPPED
[INFO] Apache Karaf :: ConfigAdmin :: Core ... SKIPPED
[INFO] Apache Karaf :: Instance :: Core .. SKIPPED
[INFO] Apache Karaf :: Package :: Core ... SKIPPED
[INFO] Apache Karaf :: HTTP :: Core .. SKIPPED
[INFO] Apache Karaf :: Service :: Core ... SKIPPED
[INFO] Apache Karaf :: Log :: Core ... SKIPPED
[INFO] Apache Karaf :: Deployer .. SKIPPED
[INFO] Apache Karaf :: Deployer :: Spring  SKIPPED
[INFO] Apache Karaf :: Deployer :: Blueprint . SKIPPED
[INFO] Apache Karaf :: Deployer :: Features .. SKIPPED
[INFO] Apache Karaf :: Deployer :: Karaf Archive (.kar) .. SKIPPED
[INFO] Apache Karaf :: Deployer :: Wrap Non OSGi Jar . SKIPPED
[INFO] Apache Karaf :: Shell :: Various Commands . SKIPPED
[INFO] Apache Karaf :: Shell :: Console .. SKIPPED
[INFO] Apache Karaf :: Shell :: SSH .. SKIPPED
[INFO] Apache Karaf :: Shell :: Table  SKIPPED
[INFO] Apache Karaf :: JAAS :: Jasypt Encryption . SKIPPED
[INFO] Apache Karaf :: JAAS :: Command ... SKIPPED
[INFO] Apache Karaf :: JAAS :: Blueprint . SKIPPED
[INFO] Apache Karaf :: JAAS :: Blueprint :: Config ... SKIPPED
[INFO] Apache Karaf :: JAAS :: Blueprint :: Jasypt ... SKIPPED
[INFO] Apache Karaf :: Client  SKIPPED
[INFO] Apache Karaf :: Management  SKIPPED
[INFO] Apache Karaf :: Management :: Boot  SKIPPED
[INFO] Apache Karaf :: Management  SKIPPED
[INFO] Apache Karaf :: System :: Core  SKIPPED
[INFO] Apache Karaf :: Web :: Core ... SKIPPED
[INFO] Apache Karaf :: Wrapper :: Core ... SKIPPED
[INFO] Apache Karaf :: Web Console ... SKIPPED
[INFO] Apache Karaf :: Web Console :: Console  SKIPPED
[INFO] Apache Karaf :: Web Console :: Branding 

Jenkins build is back to normal : karaf-3.0.x #73

2014-05-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/karaf-3.0.x/73/changes



Jenkins build is back to stable : karaf-3.0.x » Apache Karaf :: JAAS :: Jasypt Encryption #73

2014-05-20 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/karaf-3.0.x/org.apache.karaf.jaas$org.apache.karaf.jaas.jasypt/73/



Jenkins build is still unstable: karaf-2.x » Apache Karaf :: Integration Tests #76

2014-05-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/karaf-2.x/org.apache.karaf.itests$itests/76/



Jenkins build is unstable: karaf-2.x #76

2014-05-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/karaf-2.x/76/changes



Build failed in Jenkins: Karaf-WebConsole #601

2014-05-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/Karaf-WebConsole/601/

--
Started by timer
Building remotely on ubuntu5 (Ubuntu ubuntu) in workspace 
https://builds.apache.org/job/Karaf-WebConsole/ws/
ERROR: A Maven installation needs to be available for this project to be 
built.Either your server has no Maven installations defined, or the requested 
Maven version does not exist.
Retrying after 10 seconds
ERROR: A Maven installation needs to be available for this project to be 
built.Either your server has no Maven installations defined, or the requested 
Maven version does not exist.
Retrying after 10 seconds
ERROR: A Maven installation needs to be available for this project to be 
built.Either your server has no Maven installations defined, or the requested 
Maven version does not exist.