[jboss-cvs] JBossAS SVN: r58205 - projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/vfs
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Nov 8 13:48:29 EST 2006
Author: bill.burke at jboss.com
Date: 2006-11-08 13:48:28 -0500 (Wed, 08 Nov 2006)
New Revision: 58205
Modified:
projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/vfs/AbstractStructureDeployer.java
Log:
don't modify classpath if rootPath is empty string.
Modified: projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/vfs/AbstractStructureDeployer.java
===================================================================
--- projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/vfs/AbstractStructureDeployer.java 2006-11-08 18:35:41 UTC (rev 58204)
+++ projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/vfs/AbstractStructureDeployer.java 2006-11-08 18:48:28 UTC (rev 58205)
@@ -94,7 +94,7 @@
/**
* See if a file corresponds to a top-level deployment.
*
- * @param root
+ * @param file
* @param metaData
* @return
*/
@@ -151,7 +151,7 @@
{
// Set the path relative to the root
String cp = vf.getPathName();
- if( cp.startsWith(rootPath) )
+ if( !"".equals(rootPath) && cp.startsWith(rootPath) )
{
if( cp.length() == rootPath.length() )
cp = "";
More information about the jboss-cvs-commits
mailing list