[jboss-cvs] JBossAS SVN: r95244 - branches/vfs3-integration/deployment/src/main/java/org/jboss/deployment/services.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Oct 20 23:31:38 EDT 2009
Author: johnbailey
Date: 2009-10-20 23:31:38 -0400 (Tue, 20 Oct 2009)
New Revision: 95244
Modified:
branches/vfs3-integration/deployment/src/main/java/org/jboss/deployment/services/DeploymentManagerService.java
Log:
Updated as-deployment for VFS3 integration
Modified: branches/vfs3-integration/deployment/src/main/java/org/jboss/deployment/services/DeploymentManagerService.java
===================================================================
--- branches/vfs3-integration/deployment/src/main/java/org/jboss/deployment/services/DeploymentManagerService.java 2009-10-21 03:26:19 UTC (rev 95243)
+++ branches/vfs3-integration/deployment/src/main/java/org/jboss/deployment/services/DeploymentManagerService.java 2009-10-21 03:31:38 UTC (rev 95244)
@@ -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