geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r706589 - /geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/resources/META-INF/spring/components.xml
Date Tue, 21 Oct 2008 12:06:01 GMT
Author: jdillon
Date: Tue Oct 21 05:06:01 2008
New Revision: 706589

URL: http://svn.apache.org/viewvc?rev=706589&view=rev
Log:
Root tmp:// stuff under ${gshell.home}/var/tmp

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/resources/META-INF/spring/components.xml

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/resources/META-INF/spring/components.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/resources/META-INF/spring/components.xml?rev=706589&r1=706588&r2=706589&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/resources/META-INF/spring/components.xml
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/resources/META-INF/spring/components.xml
Tue Oct 21 05:06:01 2008
@@ -25,6 +25,8 @@
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"
        default-autowire="no">
 
+    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
+    
     <bean class="org.springframework.beans.factory.config.CustomEditorConfigurer">
         <property name="customEditors">
             <map>
@@ -35,10 +37,9 @@
         </property>
     </bean>
 
-    <!--
-    TODO: Set tempDir File arg in constructor to set the temporary location, may need 2 replicators?
-    -->
-    <bean id="defaultFileReplicator" class="org.apache.commons.vfs.impl.DefaultFileReplicator"/>
+    <bean id="org.apache.commons.vfs.provider.FileReplicator" class="org.apache.commons.vfs.impl.DefaultFileReplicator">
+        <constructor-arg value="${gshell.home}/var/tmp"/>
+    </bean>
 
     <bean id="fileSystemManager" class="org.apache.geronimo.gshell.vfs.config.FileSystemManagerFactoryBean">
         <property name="filesCache">
@@ -49,16 +50,11 @@
         
         <property name="fileReplicator">
             <bean class="org.apache.commons.vfs.impl.PrivilegedFileReplicator">
-                <constructor-arg ref="defaultFileReplicator"/>
+                <constructor-arg ref="org.apache.commons.vfs.provider.FileReplicator"/>
             </bean>
         </property>
 
-        <!--
-        TODO: Try and root the temporary store under ${gshell.home}/tmp or something
-        -->
-        <property name="temporaryFileStore">
-            <ref bean="defaultFileReplicator"/>
-        </property>
+        <property name="temporaryFileStore" ref="org.apache.commons.vfs.provider.FileReplicator"/>
 
         <property name="fileContentInfoFactory">
             <bean class="org.apache.commons.vfs.impl.FileContentInfoFilenameFactory"/>



Mime
View raw message