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

    BaseSeamTest - unnecessary depencency on JBoss Embedded?


      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();
       << 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.