taylor 2004/07/06 16:16:19
Modified: portal/src/java/org/apache/jetspeed/deployment/impl
VFSDeploymentObject.java
Log:
yes sir, call me "license boy"
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.3 +19 -8
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/deployment/impl/VFSDeploymentObject.java
Index: VFSDeploymentObject.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/deployment/impl/VFSDeploymentObject.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- VFSDeploymentObject.java 6 Jul 2004 14:27:03 -0000 1.2
+++ VFSDeploymentObject.java 6 Jul 2004 23:16:19 -0000 1.3
@@ -1,8 +1,17 @@
/*
- * Created on Jun 25, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
+ * Copyright 2000-2004 The Apache Software Foundation.
+ *
+ * Licensed 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.jetspeed.deployment.impl;
@@ -17,13 +26,13 @@
import org.apache.commons.vfs.FileSystemException;
import org.apache.commons.vfs.FileSystemManager;
import org.apache.commons.vfs.FileType;
+import org.apache.commons.vfs.impl.DefaultFileSystemManager;
import org.apache.jetspeed.deployment.DeploymentObject;
/**
- * @author scott
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
+ *
+ * @author <a href="mailto:[EMAIL PROTECTED]">Scott T. Weaver </a>
+ * @version $Id$
*/
public class VFSDeploymentObject implements DeploymentObject
{
@@ -114,6 +123,8 @@
fsObject.close();
fsManager.getFilesCache().removeFile(fsStructure.getFileSystem(),
fsStructure.getName());
fsManager.getFilesCache().removeFile(fsObject.getFileSystem(),
fsObject.getName());
+ //((DefaultFileSystemManager)fsManager).close();
+ //((DefaultFileSystemManager)fsManager).init();
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]