[jboss-cvs] JBossAS SVN: r100831 - projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/support.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Feb 10 17:37:45 EST 2010
Author: johnbailey
Date: 2010-02-10 17:37:44 -0500 (Wed, 10 Feb 2010)
New Revision: 100831
Modified:
projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/support/AssembledDirectory.java
Log:
Use correct mechanism to the relative path between virtual files
Modified: projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/support/AssembledDirectory.java
===================================================================
--- projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/support/AssembledDirectory.java 2010-02-10 22:37:27 UTC (rev 100830)
+++ projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/support/AssembledDirectory.java 2010-02-10 22:37:44 UTC (rev 100831)
@@ -104,7 +104,7 @@
public boolean accepts(VirtualFile file)
{
boolean matched = false;
- String path = VFSUtils.getRelativePathString(parent, file);
+ String path = file.getPathNameRelativeTo(parent);
for (String include : includes)
{
if (antMatch(path, include))
More information about the jboss-cvs-commits
mailing list