FELIX-1098: Remove strong dependencies on spring / spring-dm
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@771269 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/gshell/gshell-packages/src/main/resources/META-INF/spring/gshell-packages.xml b/karaf/gshell/gshell-packages/src/main/resources/META-INF/spring/gshell-packages.xml
index 5b3c92b..c0e9cc1 100644
--- a/karaf/gshell/gshell-packages/src/main/resources/META-INF/spring/gshell-packages.xml
+++ b/karaf/gshell/gshell-packages/src/main/resources/META-INF/spring/gshell-packages.xml
@@ -32,14 +32,16 @@
http://servicemix.apache.org/schema/servicemix-gshell
http://servicemix.apache.org/schema/servicemix-gshell/servicemix-gshell.xsd">
- <import resource="classpath:org/apache/felix/karaf/gshell/core/commands.xml" />
-
<gshell:command-bundle>
<gshell:command name="packages/exports">
- <gshell:action class="org.apache.felix.karaf.gshell.packages.ExportsCommand" />
+ <gshell:action class="org.apache.felix.karaf.gshell.packages.ExportsCommand">
+ <property name="bundleContext" ref="bundleContext"/>
+ </gshell:action>
</gshell:command>
<gshell:command name="packages/imports">
- <gshell:action class="org.apache.felix.karaf.gshell.packages.ImportsCommand" />
+ <gshell:action class="org.apache.felix.karaf.gshell.packages.ImportsCommand">
+ <property name="bundleContext" ref="bundleContext"/>
+ </gshell:action>
</gshell:command>
</gshell:command-bundle>