incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ange...@apache.org
Subject svn commit: r1073880 - /incubator/ace/trunk/ace-launcher/src/main/java/org/apache/ace/launcher/Main.java
Date Wed, 23 Feb 2011 18:52:36 GMT
Author: angelos
Date: Wed Feb 23 18:52:36 2011
New Revision: 1073880

URL: http://svn.apache.org/viewvc?rev=1073880&view=rev
Log:
>From the launcher, we now export all packages that are exported from the ManagementAgent
bundle.

Modified:
    incubator/ace/trunk/ace-launcher/src/main/java/org/apache/ace/launcher/Main.java

Modified: incubator/ace/trunk/ace-launcher/src/main/java/org/apache/ace/launcher/Main.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-launcher/src/main/java/org/apache/ace/launcher/Main.java?rev=1073880&r1=1073879&r2=1073880&view=diff
==============================================================================
--- incubator/ace/trunk/ace-launcher/src/main/java/org/apache/ace/launcher/Main.java (original)
+++ incubator/ace/trunk/ace-launcher/src/main/java/org/apache/ace/launcher/Main.java Wed Feb
23 18:52:36 2011
@@ -20,6 +20,7 @@
 package org.apache.ace.launcher;
 
 import org.apache.ace.managementagent.Activator;
+import org.osgi.framework.Constants;
 import org.osgi.framework.launch.FrameworkFactory;
 
 import java.util.*;
@@ -45,6 +46,13 @@ public class Main {
         activators.add(new Activator());
         Map frameworkProperties = new HashMap();
         frameworkProperties.put("felix.systembundle.activators", activators);
+        frameworkProperties.put(Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA, "org.osgi.service.deploymentadmin;version=\"1.0\","
+                + "org.osgi.service.deploymentadmin.spi;version=\"1.0\","
+                + "org.osgi.service.cm;version=\"1.3\","
+                + "org.osgi.service.event;version=\"1.2\","
+                + "org.osgi.service.log;version=\"1.3\","
+                + "org.osgi.service.metatype;version=\"1.1\"");
+
         frameworkProperties.putAll(findFrameworkProperties(args));
 
         factory.newFramework(frameworkProperties).start();



Mime
View raw message