Return-Path: Delivered-To: apmail-incubator-ace-commits-archive@minotaur.apache.org Received: (qmail 80062 invoked from network); 23 Feb 2011 18:53:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2011 18:53:01 -0000 Received: (qmail 6849 invoked by uid 500); 23 Feb 2011 18:53:01 -0000 Delivered-To: apmail-incubator-ace-commits-archive@incubator.apache.org Received: (qmail 6825 invoked by uid 500); 23 Feb 2011 18:53:00 -0000 Mailing-List: contact ace-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ace-dev@incubator.apache.org Delivered-To: mailing list ace-commits@incubator.apache.org Received: (qmail 6817 invoked by uid 99); 23 Feb 2011 18:52:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 18:52:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Feb 2011 18:52:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C2FFE23889D7; Wed, 23 Feb 2011 18:52:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: ace-commits@incubator.apache.org From: angelos@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110223185236.C2FFE23889D7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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();