From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../files/felix-gogo-runtime-0.10.0-build.xml | 294 +++++++++++++++++++++ ...go-runtime-0.10.0-event-properties-to-map.patch | 22 ++ 2 files changed, 316 insertions(+) create mode 100644 dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-build.xml create mode 100644 dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-event-properties-to-map.patch (limited to 'dev-java/felix-gogo-runtime/files') diff --git a/dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-build.xml b/dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-build.xml new file mode 100644 index 000000000000..4bcd4c42ad62 --- /dev/null +++ b/dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-build.xml @@ -0,0 +1,294 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-event-properties-to-map.patch b/dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-event-properties-to-map.patch new file mode 100644 index 000000000000..ae2e67cf3abe --- /dev/null +++ b/dev-java/felix-gogo-runtime/files/felix-gogo-runtime-0.10.0-event-properties-to-map.patch @@ -0,0 +1,22 @@ +--- src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java 2013-05-13 13:40:57.071766332 +0200 ++++ src/main/java/org/apache/felix/gogo/runtime/activator/EventAdminListener.java.2 2013-05-13 13:41:30.725096685 +0200 +@@ -18,7 +18,7 @@ + */ + package org.apache.felix.gogo.runtime.activator; + +-import java.util.Properties; ++import java.util.HashMap; + + import org.apache.felix.gogo.api.CommandSessionListener; + import org.apache.felix.service.command.CommandSession; +@@ -43,8 +43,8 @@ + public void beforeExecute(CommandSession session, CharSequence command) { + EventAdmin admin = (EventAdmin) tracker.getService(); + if (admin != null) { +- Properties props = new Properties(); +- props.setProperty("command", command.toString()); ++ HashMap props = new HashMap(); ++ props.put(new String("command"), command.toString()); + Event event = new Event("org/apache/felix/service/command/EXECUTING", props); + admin.postEvent(event); + } -- cgit v1.2.3