[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: testNotAnEar
scott.stark@jboss.org
do-not-reply at jboss.com
Thu Mar 20 23:48:53 EDT 2008
It looks like empty directories are not being copied over to target/test-classes:
| [starksm at valkyrie deployers-vfs]$ ls target/tests-classes/structure/ear/
| archive.ear* noappxml.ear/ someappxml.ear/
| complexwithappxml.ear/ simplewithappxml.ear/ strict.ear/
|
| ...
| Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec <<< FAILURE!
| testNotAnEAR(org.jboss.test.deployers.vfs.structure.ear.test.EARStructureRecognizeTestCase) Time elapsed: 0.016 sec <<< ERROR!
| java.io.FileNotFoundException: File does not exist: C:\home\svn\JBossMC\jboss-deployers\trunk\deployers-vfs\target\tests-classes\structure\ear\notanear
|
If I just add an empty file to notanear, the mvn test output consistently passes:
| [starksm at valkyrie deployers-vfs]$ touch src/resources/tests/structure/ear/notanear/empty
| [starksm at valkyrie deployers-vfs]$ mvn test
| ...
| Results :
|
| Tests run: 155, Failures: 0, Errors: 0, Skipped: 0
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138223#4138223
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138223
More information about the jboss-dev-forums
mailing list