ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r821629 - /incubator/ace/trunk/test/src/org/apache/ace/test/repository/Activator.java
Date Sun, 04 Oct 2009 22:35:34 GMT
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)));



Mime
View raw message