[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: The deployers project is a mess

adrian@jboss.org do-not-reply at jboss.com
Fri Feb 20 11:28:58 EST 2009


"adrian at jboss.org" wrote : Well this appears to be eclipse thing.
  | 
  | There's an "exclude" on copying *.java to test-classes which also stops .class files
  | getting copied.
  | 
  | This changed by Kabir, previously it just used the src/resources as a library folder
  | directly.
  | 
  | But if I change it back to be a library folder the AbstractSchemaResolver tests fail because there's now two folders with the same name and getResource() is choosing the
  | wrong one.
  | 
  | 
  |   |       String common = "/org/jboss/test/deployers/vfs/xb/test";
  |   |       URL url = getClass().getResource(common);
  |   | 

I've reverted this back to a class folder for src/test/resources and moved
the jbossxb "deployments" into a seperate unique folder.
Now the tests run in both eclipse and maven.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211883#4211883

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211883



More information about the jboss-dev-forums mailing list