[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Tests don't work in eclipse
adrian@jboss.org
do-not-reply at jboss.com
Tue Apr 3 06:48:04 EDT 2007
"Kevin.Conner at jboss.com" wrote : "adrian at jboss.org" wrote : All the xml parsing tests fail because it cannot find the xml url using getResource().
| |
| | Now delete src/resources as a source folder and make it a class library,
| | i.e.
| |
| | | - <classpathentry kind="src" path="src/resources" including="schema/**" excluding="**/*.java"/>
| | | + <classpathentry kind="lib" path="src/resources">
| | |
| |
| Okay, this is caused because the resources you require are explicitly excluded from the source path.
|
| If there are no objections then I will change the structure of the projects so that the test resources are not embedded within the compile resources. This should fix this issue.
|
This also needs to different things like src/resources/schema
which should get included in the jar file and the resources that are
only used for tests.
Of course, the tests need to use both.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033979#4033979
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033979
More information about the jboss-dev-forums
mailing list