[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to configure the order of the jars in Maven for Test

Fenixx do-not-reply at jboss.com
Wed Apr 1 04:03:31 EDT 2009


Btw the following code in MyTest.java does not solve this problem:
@BeforeClass
  |   public void init()
  |   {
  |     org.jboss.net.protocol.URLStreamHandlerFactory factory = new org.jboss.net.protocol.URLStreamHandlerFactory();
  |     URL.setURLStreamHandlerFactory(factory);
  |     try
  |     {
  |       Bootstrap.getInstance().bootstrap();
  |     }
  |     catch (DeploymentException e)
  |     {
  |       e.printStackTrace();
  |     }
  |    super.setupClass();
  |   }

Any help appreciated.

Regards
Fenixx

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

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



More information about the jboss-user mailing list