6 Replies Latest reply on Jul 5, 2007 4:48 PM by Alex Savitsky

    BaseSeamTest - unnecessary depencency on JBoss Embedded?

    Alex Savitsky Novice

      I noticed that the org.jboss.seam.mock.BaseSeamTest has some references to what it seems to be JBoss Embedded:

      import org.jboss.deployers.spi.DeploymentException;
      import org.jboss.embedded.Bootstrap;
      << snip >>
       protected void startJbossEmbeddedIfNecessary() throws DeploymentException, IOException {
       if ( !started ) {
       Bootstrap bootstrap = Bootstrap.getInstance();
       bootstrap.bootstrap();
       << snip >>
       }
       }


      Is this intentional? As a result, SeamTest refuses to start (throws ClassNotFoundException) unless JBoss Embedded is present. When I removed the above method, SeamTest executed normally in a standalone environment, so there's no real dependency there.