"Kevin.Conner(a)jboss.com" wrote : "adrian(a)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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...