File tree Expand file tree Collapse file tree
test-harness/src/main/java/org/ocpsoft/rewrite/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,13 +206,16 @@ protected static JavaArchive getRewriteArchive()
206206 .addAsResource (new File ("../api-servlet/target/classes/org" ))
207207
208208 /*
209- * We have to manually create the META-NF/services entry for ServletRegistrationProvider,
210- * because the existing ones from the two modules overwrite each other when added to the
211- * archive.
209+ * We have to manually create the META-NF/services entry for ServletRegistrationProvider
210+ * and DispatcherTypeProvider, because the existing ones from the two modules overwrite
211+ * each other when added to the archive.
212212 */
213213 .addAsServiceProvider ("org.ocpsoft.rewrite.servlet.spi.ServletRegistrationProvider" ,
214214 "org.ocpsoft.rewrite.servlet.impl.Servlet3ServletRegistrationProvider" ,
215215 "org.ocpsoft.rewrite.servlet.impl.WebXmlServletRegistrationProvider" )
216+ .addAsServiceProvider ("org.ocpsoft.rewrite.servlet.spi.DispatcherTypeProvider" ,
217+ "org.ocpsoft.rewrite.servlet.impl.Servlet3DispatcherTypeProvider" ,
218+ "org.ocpsoft.rewrite.servlet.impl.Servlet25DispatcherTypeProvider" )
216219 .addAsResource (new File ("../impl-servlet-2.5/target/classes/org" ))
217220 .addAsResource (new File ("../impl-servlet-2.5/target/classes/META-INF" ))
218221 .addAsResource (new File ("../impl-servlet-3.0/target/classes/org" ))
You can’t perform that action at this time.
0 commit comments