geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r701461 - /geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml
Date Fri, 03 Oct 2008 17:39:18 GMT
Author: jdillon
Date: Fri Oct  3 10:39:18 2008
New Revision: 701461

URL: http://svn.apache.org/viewvc?rev=701461&view=rev
Log:
Add .tar support

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

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml?rev=701461&r1=701460&r2=701461&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml
Fri Oct  3 10:39:18 2008
@@ -43,6 +43,25 @@
         <property name="scheme" value="zip"/>
     </bean>
 
+    <!-- TAR -->
+
+    <bean class="org.apache.geronimo.gshell.vfs.config.FileProviderConfigurer">
+        <property name="scheme" value="tar"/>
+        <property name="provider">
+            <bean class="org.apache.geronimo.gshell.support.vfs.provider.truezip.TruezipFileProvider"/>
+        </property>
+    </bean>
+
+    <bean class="org.apache.geronimo.gshell.vfs.config.ExtentionMapConfigurer">
+        <property name="extention" value="tar"/>
+        <property name="scheme" value="tar"/>
+    </bean>
+
+    <bean class="org.apache.geronimo.gshell.vfs.config.MimeTypeMapConfigurer">
+        <property name="mimeType" value="application/x-tar"/>
+        <property name="scheme" value="tar"/>
+    </bean>
+
     <!-- JAR -->
     
     <bean class="org.apache.geronimo.gshell.vfs.config.FileProviderConfigurer">



Mime
View raw message