You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by br...@apache.org on 2011/01/19 14:44:55 UTC
svn commit: r1060812 -
/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java
Author: brett
Date: Wed Jan 19 13:44:54 2011
New Revision: 1060812
URL: http://svn.apache.org/viewvc?rev=1060812&view=rev
Log:
back to -r1060355, it was working, Maven just wasn't picking up the test-jar changes due to the way it was used
Modified:
maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java
Modified: maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java?rev=1060812&r1=1060811&r2=1060812&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java (original)
+++ maven/doxia/doxia/trunk/doxia-core/src/test/java/org/apache/maven/doxia/xsd/AbstractXmlValidatorTest.java Wed Jan 19 13:44:54 2011
@@ -45,7 +45,6 @@ import org.codehaus.plexus.util.FileUtil
import org.codehaus.plexus.util.IOUtil;
import org.codehaus.plexus.util.ReaderFactory;
import org.codehaus.plexus.util.SelectorUtils;
-import org.codehaus.plexus.util.StringUtils;
import org.codehaus.plexus.util.xml.XmlUtil;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
@@ -248,7 +247,7 @@ public abstract class AbstractXmlValidat
else
{
// IDE projects
- File testDocsDir = new File( StringUtils.replace( testJar.getPath(), "%20", " " ) ).getParentFile();
+ File testDocsDir = FileUtils.toFile( testJar ).getParentFile();
List files = FileUtils.getFiles( testDocsDir, "**/*.*", FileUtils.getDefaultExcludesAsString(), true );
for ( Iterator it = files.iterator(); it.hasNext();)