geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r701458 - in /geronimo/gshell/trunk/gshell-support: gshell-vfs-truezip/src/main/java/org/ gshell-vfs-truezip/src/main/java/org/apache/ gshell-vfs-truezip/src/main/java/org/apache/geronimo/ gshell-vfs-truezip/src/main/java/org/apache/geronim...
Date Fri, 03 Oct 2008 17:33:19 GMT
Author: jdillon
Date: Fri Oct  3 10:33:18 2008
New Revision: 701458

URL: http://svn.apache.org/viewvc?rev=701458&view=rev
Log:
Adding Truezip provider, which allows us to edit the contents of zip/jar/<archive> bits


Added:
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileObject.java
  (with props)
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileProvider.java
  (with props)
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileSystem.java
  (with props)
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml
  (with props)
Removed:
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/test/
Modified:
    geronimo/gshell/trunk/gshell-support/gshell-vfs/src/main/resources/META-INF/spring/components.xml

Added: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileObject.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileObject.java?rev=701458&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileObject.java
(added)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileObject.java
Fri Oct  3 10:33:18 2008
@@ -0,0 +1,201 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.geronimo.gshell.support.vfs.provider.truezip;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+import org.apache.commons.vfs.impl.DefaultFileSystemManager;
+import org.apache.commons.vfs.provider.AbstractFileObject;
+import org.apache.commons.vfs.provider.UriParser;
+import org.apache.commons.vfs.provider.LayeredFileName;
+import org.apache.commons.vfs.util.RandomAccessMode;
+import org.apache.commons.vfs.FileObject;
+import org.apache.commons.vfs.FileSystemException;
+import org.apache.commons.vfs.VFS;
+import org.apache.commons.vfs.FileName;
+import org.apache.commons.vfs.FileType;
+import org.apache.commons.vfs.RandomAccessContent;
+
+import de.schlichtherle.io.ArchiveDetector;
+import de.schlichtherle.io.File;
+import de.schlichtherle.io.FileInputStream;
+import de.schlichtherle.io.FileOutputStream;
+
+/**
+ * <h href="https://truezip.dev.java.net">Truezip</a> file object.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TruezipFileObject
+    extends AbstractFileObject
+    implements FileObject
+{
+    private File file;
+
+    private FileObject fileObject;
+
+    /**
+     * Creates a non-root file.
+     */
+    protected TruezipFileObject(final TruezipFileSystem fileSystem, final FileName name)
throws FileSystemException {
+        super(name, fileSystem);
+    }
+
+    /**
+     * Returns the local file that this file object represents.
+     */
+    protected File getLocalFile() {
+        return file;
+    }
+
+    /**
+     * Attaches this file object to its file resource.
+     */
+    protected void doAttach() throws Exception {
+        if (file == null) {
+            LayeredFileName layeredFileName = (LayeredFileName) getName();
+            String fileName = layeredFileName.getOuterName().getRootURI() + layeredFileName.getOuterName().getPathDecoded();
+
+            FileObject outer = getFileSystem().resolveFile(fileName);
+            if (outer instanceof TruezipFileObject) {
+                fileName = layeredFileName.getOuterName().getPathDecoded() + getName().getPathDecoded();
+                file = new File(fileName, ArchiveDetector.ALL);
+            }
+            else {
+                fileObject = outer;
+                DefaultFileSystemManager dfsMgr = (DefaultFileSystemManager) VFS.getManager();
+                file = new File(dfsMgr.getTemporaryFileStore().allocateFile(getName().getBaseName()));
+            }
+        }
+    }
+
+    /**
+     * Returns the file's type.
+     */
+    protected FileType doGetType() throws Exception {
+        if (fileObject != null) {
+            return fileObject.getType();
+        }
+        if (!file.exists() && file.length() < 1) {
+            return FileType.IMAGINARY;
+        }
+        if (file.isDirectory()) {
+            return FileType.FOLDER;
+        }
+        return FileType.FILE;
+    }
+
+    /**
+     * Returns the children of the file.
+     */
+    protected String[] doListChildren() throws Exception {
+        return UriParser.encode(file.list());
+    }
+
+    /**
+     * Deletes this file, and all children.
+     */
+    protected void doDelete() throws Exception {
+        if (!file.deleteAll()) {
+            throw new FileSystemException("vfs.provider.truezip/delete-file.error", file);
+        }
+    }
+
+    /**
+     * Rename this file
+     */
+    protected void doRename(FileObject newfile) throws Exception {
+        if (!file.renameTo(((TruezipFileObject) newfile).getLocalFile())) {
+            throw new FileSystemException("vfs.provider.truezip/rename-file.error", new String[]{file.toString(),
newfile.toString()});
+        }
+    }
+
+    /**
+     * Creates this folder.
+     */
+    protected void doCreateFolder() throws Exception {
+        if (!file.mkdirs()) {
+            throw new FileSystemException("vfs.provider.truezip/create-folder.error", file);
+        }
+    }
+
+    /**
+     * Determines if this file can be written to.
+     */
+    protected boolean doIsWriteable() throws FileSystemException {
+        return file.canWrite();
+    }
+
+    /**
+     * Determines if this file is hidden.
+     */
+    protected boolean doIsHidden() {
+        return file.isHidden();
+    }
+
+    /**
+     * Determines if this file can be read.
+     */
+    protected boolean doIsReadable() throws FileSystemException {
+        return file.canRead();
+    }
+
+    /**
+     * Gets the last modified time of this file.
+     */
+    protected long doGetLastModifiedTime() throws FileSystemException {
+        return file.lastModified();
+    }
+
+    /**
+     * Sets the last modified time of this file.
+     */
+    protected void doSetLastModifiedTime(final long modtime) throws FileSystemException {
+        // noinspection ResultOfMethodCallIgnored
+        file.setLastModified(modtime);
+    }
+
+    /**
+     * Creates an input stream to read the content from.
+     */
+    protected InputStream doGetInputStream() throws Exception {
+        return new FileInputStream(file);
+    }
+
+    /**
+     * Creates an output stream to write the file content to.
+     */
+    protected OutputStream doGetOutputStream(boolean bAppend) throws Exception {
+        return new FileOutputStream(file, bAppend);
+    }
+
+    /**
+     * Returns the size of the file content (in bytes).
+     */
+    protected long doGetContentSize() throws Exception {
+        return file.length();
+    }
+
+    protected RandomAccessContent doGetRandomAccessContent(final RandomAccessMode mode) throws
Exception {
+        throw new IOException("Not implemented"); //return new LocalFileRandomAccessContent(file,
mode);
+    }
+}
\ No newline at end of file

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileObject.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileObject.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileObject.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileProvider.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileProvider.java?rev=701458&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileProvider.java
(added)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileProvider.java
Fri Oct  3 10:33:18 2008
@@ -0,0 +1,91 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.geronimo.gshell.support.vfs.provider.truezip;
+
+import org.apache.commons.vfs.Capability;
+import org.apache.commons.vfs.FileName;
+import org.apache.commons.vfs.FileObject;
+import org.apache.commons.vfs.FileSystem;
+import org.apache.commons.vfs.FileSystemException;
+import org.apache.commons.vfs.FileSystemOptions;
+import org.apache.commons.vfs.FileType;
+import org.apache.commons.vfs.provider.AbstractLayeredFileProvider;
+import org.apache.commons.vfs.provider.LayeredFileName;
+import org.apache.commons.vfs.provider.local.LocalFileName;
+import org.apache.commons.vfs.provider.local.LocalFileNameParser;
+
+import java.util.Arrays;
+import java.util.Collection;
+import java.util.Collections;
+
+/**
+ * <h href="https://truezip.dev.java.net">Truezip</a> file provider.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TruezipFileProvider
+    extends AbstractLayeredFileProvider
+{
+    public final static Collection capabilities = Collections.unmodifiableCollection(Arrays.asList(
+        Capability.CREATE,
+        Capability.DELETE,
+        Capability.RENAME,
+        Capability.GET_TYPE,
+        Capability.GET_LAST_MODIFIED,
+        Capability.SET_LAST_MODIFIED_FILE,
+        Capability.SET_LAST_MODIFIED_FOLDER,
+        Capability.LIST_CHILDREN,
+        Capability.READ_CONTENT,
+        Capability.URI,
+        Capability.WRITE_CONTENT,
+        Capability.APPEND_CONTENT
+    ));
+
+    /**
+     * Creates a layered file system.  This method is called if the file system is not cached.
+     *
+     * @param scheme    The URI scheme.
+     * @param file      The file to create the file system on top of.
+     * @return          The file system.
+     */
+    protected FileSystem doCreateFileSystem(final String scheme, final FileObject file, final
FileSystemOptions options) throws FileSystemException {
+        FileName name = new LayeredFileName(scheme, file.getName(), FileName.ROOT_PATH, FileType.FOLDER);
+        return new TruezipFileSystem(name, file, options);
+    }
+
+    /**
+     * Determines if a name is an absolute file name.
+     */
+    public boolean isAbsoluteLocalName(final String name) {
+        return ((LocalFileNameParser) getFileNameParser()).isAbsoluteName(name);
+    }
+
+    /**
+     * Creates the filesystem.
+     */
+    protected FileSystem doCreateFileSystem(final FileName name, final FileSystemOptions
options) throws FileSystemException {
+        LocalFileName rootName = (LocalFileName) name;
+        return new TruezipFileSystem(rootName, rootName.getRootFile(), options);
+    }
+
+    public Collection getCapabilities() {
+        return capabilities;
+    }
+}

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileSystem.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileSystem.java?rev=701458&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileSystem.java
(added)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileSystem.java
Fri Oct  3 10:33:18 2008
@@ -0,0 +1,96 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.geronimo.gshell.support.vfs.provider.truezip;
+
+import java.io.FilePermission;
+import java.util.Collection;
+
+import org.apache.commons.vfs.FileName;
+import org.apache.commons.vfs.FileObject;
+import org.apache.commons.vfs.FileSelector;
+import org.apache.commons.vfs.FileSystem;
+import org.apache.commons.vfs.FileSystemException;
+import org.apache.commons.vfs.FileSystemOptions;
+import org.apache.commons.vfs.provider.AbstractFileSystem;
+
+import de.schlichtherle.io.ArchiveException;
+import de.schlichtherle.io.File;
+
+/**
+ * <h href="https://truezip.dev.java.net">Truezip</a> file system.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TruezipFileSystem
+    extends AbstractFileSystem
+    implements FileSystem
+{
+    public TruezipFileSystem(final FileName rootName, final String rootFile, final FileSystemOptions
opts) {
+        super(rootName, null, opts);
+    }
+
+    protected TruezipFileSystem(final FileName rootName,
+        final FileObject file,
+        final FileSystemOptions fileSystemOptions) throws FileSystemException {
+        super(rootName, file, fileSystemOptions);
+    }
+
+    /**
+     * Creates a file object.
+     */
+    protected FileObject createFile(final FileName name) throws FileSystemException {
+        // Create the file
+        return new TruezipFileObject(this, name);
+    }
+
+    /**
+     * Returns the capabilities of this file system.
+     */
+    protected void addCapabilities(final Collection caps) {
+        // noinspection unchecked
+        caps.addAll(TruezipFileProvider.capabilities);
+    }
+
+    /**
+     * Creates a temporary local copy of a file and its descendents.
+     */
+    protected java.io.File doReplicateFile(final FileObject fileObject, final FileSelector
selector) throws Exception {
+        final TruezipFileObject localFile = (TruezipFileObject) fileObject;
+        final File file = localFile.getLocalFile();
+
+        final SecurityManager sm = System.getSecurityManager();
+        if (sm != null) {
+            final FilePermission requiredPerm = new FilePermission(file.getAbsolutePath(),
"read");
+            sm.checkPermission(requiredPerm);
+        }
+
+        return file;
+    }
+
+    protected void doCloseCommunicationLink() {
+        try {
+            File.umount();
+        }
+        catch (ArchiveException e) {
+            throw new RuntimeException(e);
+        }
+    }
+
+}

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileSystem.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileSystem.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/support/vfs/provider/truezip/TruezipFileSystem.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: 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=701458&view=auto
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml
(added)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml
Fri Oct  3 10:33:18 2008
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+    <!-- ZIP -->
+
+    <bean class="org.apache.geronimo.gshell.vfs.config.FileProviderConfigurer">
+        <property name="scheme" value="zip"/>
+        <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="zip"/>
+        <property name="scheme" value="zip"/>
+    </bean>
+
+    <bean class="org.apache.geronimo.gshell.vfs.config.MimeTypeMapConfigurer">
+        <property name="mimeType" value="application/zip"/>
+        <property name="scheme" value="zip"/>
+    </bean>
+
+    <!-- JAR -->
+    
+    <bean class="org.apache.geronimo.gshell.vfs.config.FileProviderConfigurer">
+        <property name="scheme" value="jar"/>
+        <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="jar"/>
+        <property name="scheme" value="jar"/>
+    </bean>
+
+    <bean class="org.apache.geronimo.gshell.vfs.config.MimeTypeMapConfigurer">
+        <property name="mimeType" value="application/jar"/>
+        <property name="scheme" value="jar"/>
+    </bean>
+
+</beans>
\ No newline at end of file

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/resources/META-INF/spring/components.xml
------------------------------------------------------------------------------
    svn:mime-type = text/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=701458&r1=701457&r2=701458&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
Fri Oct  3 10:33:18 2008
@@ -93,11 +93,7 @@
           or maybe just one bean for both.  This is too verbose.
     -->
 
-    <bean class="org.apache.geronimo.gshell.vfs.config.ExtentionMapConfigurer">
-        <property name="extention" value="zip"/>
-        <property name="scheme" value="zip"/>
-    </bean>
-
+    <!--
     <bean class="org.apache.geronimo.gshell.vfs.config.ExtentionMapConfigurer">
         <property name="extention" value="tar"/>
         <property name="scheme" value="tar"/>
@@ -152,6 +148,7 @@
         <property name="mimeType" value="application/zip"/>
         <property name="scheme" value="zip"/>
     </bean>
+    -->
 
     <bean id="fileSystemAccess" class="org.apache.geronimo.gshell.vfs.FileSystemAccessImpl"/>
 



Mime
View raw message