continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r654274 - /continuum/branches/builder/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml
Date Wed, 07 May 2008 21:07:03 GMT
Author: carlos
Date: Wed May  7 14:07:02 2008
New Revision: 654274

URL: http://svn.apache.org/viewvc?rev=654274&view=rev
Log:
Automatically inject ScmProvider implementations

Modified:
    continuum/branches/builder/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml

Modified: continuum/branches/builder/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml
URL: http://svn.apache.org/viewvc/continuum/branches/builder/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml?rev=654274&r1=654273&r2=654274&view=diff
==============================================================================
--- continuum/branches/builder/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml
(original)
+++ continuum/branches/builder/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml
Wed May  7 14:07:02 2008
@@ -26,51 +26,9 @@
   
   <bean id="scmManager"
     class="org.apache.continuum.scm.manager.ScmManager">
-    <!--  TODO: better way to add the providers without having to redeclare all this?
-->
     <property name="scmLogger" ref="scmLogger" />
     <property name="scmProviders">
-      <map>
-        <entry key="svn">
-          <bean
-            class="org.apache.maven.scm.provider.svn.svnexe.SvnExeScmProvider" />
-        </entry>
-        <entry key="bazaar">
-          <bean
-            class="org.apache.maven.scm.provider.bazaar.BazaarScmProvider" />
-        </entry>
-        <entry key="clearcase">
-          <bean
-            class="org.apache.maven.scm.provider.clearcase.ClearCaseScmProvider" />
-        </entry>
-        <entry key="cvs">
-          <bean
-            class="org.apache.maven.scm.provider.cvslib.cvsjava.CvsJavaScmProvider" />
-        </entry>
-        <entry key="cvs_native">
-          <bean
-            class="org.apache.maven.scm.provider.cvslib.cvsexe.CvsExeScmProvider" />
-        </entry>
-        <entry key="local">
-          <bean
-            class="org.apache.maven.scm.provider.local.LocalScmProvider" />
-        </entry>
-        <entry key="perforce">
-          <bean
-            class="org.apache.maven.scm.provider.perforce.PerforceScmProvider" />
-        </entry>
-        <entry key="starteam">
-          <bean
-            class="org.apache.maven.scm.provider.starteam.StarteamScmProvider" />
-        </entry>
-        <entry key="synergy">
-          <bean
-            class="org.apache.maven.scm.provider.synergy.SynergyScmProvider" />
-        </entry>
-        <entry key="vss">
-          <bean
-            class="org.apache.maven.scm.provider.vss.VssScmProvider" />
-        </entry>
-      </map>
+      <bean class="org.apache.continuum.scm.manager.spring.ScmProviderFactoryBean"/>
     </property>
   </bean>
   



Mime
View raw message