continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r642186 - in /continuum/trunk/continuum-webapp/src/main: resources/log4j.xml webapp/WEB-INF/applicationContext.xml
Date Fri, 28 Mar 2008 10:40:00 GMT
Author: olamy
Date: Fri Mar 28 03:39:54 2008
New Revision: 642186

URL: http://svn.apache.org/viewvc?rev=642186&view=rev
Log:
use PlexusServletContextPropertyPlaceholderConfigurer as propertyConfigurer spring bean to
have the plexus.home value 

Modified:
    continuum/trunk/continuum-webapp/src/main/resources/log4j.xml
    continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml

Modified: continuum/trunk/continuum-webapp/src/main/resources/log4j.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/resources/log4j.xml?rev=642186&r1=642185&r2=642186&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/resources/log4j.xml (original)
+++ continuum/trunk/continuum-webapp/src/main/resources/log4j.xml Fri Mar 28 03:39:54 2008
@@ -101,6 +101,17 @@
   <logger name="org.codehaus.plexus.component.manager.ClassicSingletonComponentManager">
     <level value="error"/>
   </logger>
+  
+  <logger name="org.springframework.beans.factory.xml.XmlBeanDefinitionReader">
+    <level value="error"/>
+  </logger>
+  <logger name="org.springframework.beans.factory.support.DefaultListableBeanFactory">
+    <level value="error"/>
+  </logger>
+  
+  <logger name="org.codehaus.plexus.spring.PlexusContextPropertyPlaceholderConfigurer">
+    <level value="debug"/>
+  </logger>
 
   <root>
     <priority value="info" />

Modified: continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml?rev=642186&r1=642185&r2=642186&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml (original)
+++ continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/applicationContext.xml Fri Mar
28 03:39:54 2008
@@ -7,4 +7,22 @@
   <bean id="loggerManager" class="org.codehaus.plexus.logging.slf4j.Slf4jLoggerManager"
     init-method="initialize"/>
 
+  <bean id="propertyConfigurer" 
+         class="org.codehaus.plexus.spring.PlexusServletContextPropertyPlaceholderConfigurer">
+    <property name="locations">
+      <list>
+        <value>classpath:plexus.properties</value>
+      </list>
+    </property> 
+    <!-- ignore if plexus.properties not found -->
+    <property name="ignoreResourceNotFound">
+      <value>true</value>
+    </property>  
+    <!-- ignore if a interpolated key not exists -->
+    <property name="ignoreUnresolvablePlaceholders">
+      <value>true</value>
+    </property> 
+  </bean>
+  
+  
 </beans>



Mime
View raw message