[jboss-cvs] JBossAS SVN: r98863 - branches/vfs3-int/deployment/src/main/java/org/jboss/deployment/services.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 22 14:55:22 EST 2009
Author: johnbailey
Date: 2009-12-22 14:55:21 -0500 (Tue, 22 Dec 2009)
New Revision: 98863
Modified:
branches/vfs3-int/deployment/src/main/java/org/jboss/deployment/services/DeploymentManagerService.java
Log:
[JBAS-7345] - Update VFS references to VFS3 names/API
Modified: branches/vfs3-int/deployment/src/main/java/org/jboss/deployment/services/DeploymentManagerService.java
===================================================================
--- branches/vfs3-int/deployment/src/main/java/org/jboss/deployment/services/DeploymentManagerService.java 2009-12-22 19:46:12 UTC (rev 98862)
+++ branches/vfs3-int/deployment/src/main/java/org/jboss/deployment/services/DeploymentManagerService.java 2009-12-22 19:55:21 UTC (rev 98863)
@@ -54,8 +54,8 @@
import org.jboss.mx.util.MBeanServerLocator;
import org.jboss.system.metadata.ServiceMetaData;
import org.jboss.util.file.Files;
-import org.jboss.virtual.VFS;
-import org.jboss.virtual.VirtualFile;
+import org.jboss.vfs.VFS;
+import org.jboss.vfs.VirtualFile;
/**
* A service that supports the JSR-88 DeploymentManager operations.
@@ -353,7 +353,7 @@
String archive = path.getName();
File deployFile = new File(uploadDir, archive);
- VirtualFile root = VFS.getRoot(deployFile.toURI());
+ VirtualFile root = VFS.getChild(deployFile.toURI());
Deployment deployment = mainDeployer.getDeployment(getDeploymentName(root));
/* TODO: that is a hack */
@@ -405,7 +405,7 @@
if (deployFile.exists() == false)
throw new IOException("deployURL(" + url + ") has no local archive");
- VirtualFile root = VFS.getRoot(deployFile.toURI());
+ VirtualFile root = VFS.getChild(deployFile.toURI());
Deployment deployment = deploymentFactory.createVFSDeployment(root);
mainDeployer.addDeployment(deployment);
DeploymentContext context = null;
@@ -457,7 +457,7 @@
if (deployFile.exists() == false)
throw new IOException("deployURL(" + url + ") has no local archive");
- VirtualFile root = VFS.getRoot(deployFile.toURI());
+ VirtualFile root = VFS.getChild(deployFile.toURI());
mainDeployer.removeDeployment(getDeploymentName(root));
mainDeployer.process();
moduleID.setRunning(false);
More information about the jboss-cvs-commits
mailing list