Return-Path: Delivered-To: apmail-incubator-ace-commits-archive@minotaur.apache.org Received: (qmail 91632 invoked from network); 4 Oct 2009 22:36:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Oct 2009 22:36:27 -0000 Received: (qmail 67767 invoked by uid 500); 4 Oct 2009 22:36:27 -0000 Delivered-To: apmail-incubator-ace-commits-archive@incubator.apache.org Received: (qmail 67749 invoked by uid 500); 4 Oct 2009 22:36:27 -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 67739 invoked by uid 99); 4 Oct 2009 22:36:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Oct 2009 22:36:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Sun, 04 Oct 2009 22:36:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2033C238889D; Sun, 4 Oct 2009 22:35:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r821629 - /incubator/ace/trunk/test/src/org/apache/ace/test/repository/Activator.java Date: Sun, 04 Oct 2009 22:35:34 -0000 To: ace-commits@incubator.apache.org From: marrs@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091004223534.2033C238889D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: marrs Date: Sun Oct 4 22:35:33 2009 New Revision: 821629 URL: http://svn.apache.org/viewvc?rev=821629&view=rev Log: Test now waits for HttpService to come up. Modified: incubator/ace/trunk/test/src/org/apache/ace/test/repository/Activator.java Modified: incubator/ace/trunk/test/src/org/apache/ace/test/repository/Activator.java URL: http://svn.apache.org/viewvc/incubator/ace/trunk/test/src/org/apache/ace/test/repository/Activator.java?rev=821629&r1=821628&r2=821629&view=diff ============================================================================== --- incubator/ace/trunk/test/src/org/apache/ace/test/repository/Activator.java (original) +++ incubator/ace/trunk/test/src/org/apache/ace/test/repository/Activator.java Sun Oct 4 22:35:33 2009 @@ -22,6 +22,7 @@ import org.apache.felix.dependencymanager.DependencyManager; import org.osgi.framework.BundleContext; import org.osgi.service.cm.ConfigurationAdmin; +import org.osgi.service.http.HttpService; import org.osgi.service.log.LogService; import org.osgi.service.prefs.PreferencesService; @@ -34,6 +35,7 @@ protected void initServices(BundleContext context, DependencyManager manager) { manager.add(createService() .setImplementation(RepositoryTest.class) + .add(createServiceDependency().setService(HttpService.class).setRequired(true)) .add(createServiceDependency().setService(ConfigurationAdmin.class).setRequired(true)) .add(createServiceDependency().setService(PreferencesService.class).setRequired(true)) .add(createServiceDependency().setService(LogService.class).setRequired(false)));