Author: rob.stryker(a)jboss.com
Date: 2009-05-18 06:18:49 -0400 (Mon, 18 May 2009)
New Revision: 15323
Modified:
branches/jbosstools-3.0.x/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/DirectoryScannerFactory.java
branches/jbosstools-3.0.x/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/ArchivesTestSuite.java
Log:
JBIDE-4330 in branch
Modified:
branches/jbosstools-3.0.x/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/DirectoryScannerFactory.java
===================================================================
---
branches/jbosstools-3.0.x/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/DirectoryScannerFactory.java 2009-05-18
09:21:04 UTC (rev 15322)
+++
branches/jbosstools-3.0.x/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/DirectoryScannerFactory.java 2009-05-18
10:18:49 UTC (rev 15323)
@@ -112,7 +112,7 @@
protected File getChild(File file, String element) {
if( !fs.inWorkspace)
- return super.getChild(file, element);
+ return new FileWrapper(file, new Path(file.getAbsolutePath()));
FileWrapper pWrapper = (FileWrapper)file;
File child = super.getChild(file, element);
FileWrapper childWrapper = new FileWrapper(child,
pWrapper.getWrapperPath().append(element));
Modified:
branches/jbosstools-3.0.x/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/ArchivesTestSuite.java
===================================================================
---
branches/jbosstools-3.0.x/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/ArchivesTestSuite.java 2009-05-18
09:21:04 UTC (rev 15322)
+++
branches/jbosstools-3.0.x/archives/tests/org.jboss.ide.eclipse.archives.test/src/org/jboss/ide/eclipse/archives/test/ArchivesTestSuite.java 2009-05-18
10:18:49 UTC (rev 15323)
@@ -15,6 +15,7 @@
import org.jboss.ide.eclipse.archives.test.core.ArchivesCoreTest;
import org.jboss.ide.eclipse.archives.test.core.ant.SimpleAntTest;
+import org.jboss.ide.eclipse.archives.test.model.DirectoryScannerTest;
import org.jboss.ide.eclipse.archives.test.model.ModelCreationTest;
import org.jboss.ide.eclipse.archives.test.model.ModelTruezipBridgeTest;
import org.jboss.ide.eclipse.archives.test.model.ModelUtilTest;
@@ -40,7 +41,8 @@
suite.addTestSuite(ModelCreationTest.class);
suite.addTestSuite(ModelTruezipBridgeTest.class);
suite.addTestSuite(SimpleAntTest.class);
-
+ suite.addTestSuite(DirectoryScannerTest.class);
+
// jiras
suite.addTestSuite(JBIDE1406Test.class);
suite.addTestSuite(JBIDE2099Test.class);
Show replies by date