[jboss-cvs] JBossAS SVN: r99310 - 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
Tue Jan 12 13:36:19 EST 2010
Author: johnbailey
Date: 2010-01-12 13:36:18 -0500 (Tue, 12 Jan 2010)
New Revision: 99310
Modified:
projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/support/AssembledDirectory.java
Log:
Added additional helper methods to AssembledDirectory
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-01-12 18:15:38 UTC (rev 99309)
+++ projects/jboss-deployers/branches/vfs3/deployers-vfs/src/test/java/org/jboss/test/deployers/support/AssembledDirectory.java 2010-01-12 18:36:18 UTC (rev 99310)
@@ -59,6 +59,11 @@
return this;
}
+ public AssembledDirectory addPackage(Class<?> reference) throws Exception
+ {
+ return addPackage("", reference);
+ }
+
public AssembledDirectory addPackage(String path, Class<?> reference) throws Exception
{
String packagePath = ClassLoaderUtils.packageNameToPath(reference.getName());
@@ -137,6 +142,11 @@
return this;
}
+ public AssembledDirectory addPath(VirtualFile existingPath) throws Exception
+ {
+ return addPath(existingPath, "");
+ }
+
public AssembledDirectory addPath(VirtualFile existingPath, String assemblyPath) throws Exception
{
SuffixesExcludeFilter noJars = new SuffixesExcludeFilter(JARStructure.DEFAULT_JAR_SUFFIXES);
More information about the jboss-cvs-commits
mailing list