https://jira.jboss.org/jira/browse/SHRINKWRAP-125
I hijacked some prototyping code I did awhile back and ported it into an extension component allowing for Jetty integration. Client code looks similar to:
import org.mortbay.jetty.Server; import org.mortbay.jetty.servlet.Context; // ... // Create the Jetty Server Server server = new Server(12345); // Create the archive final WebArchive archive = Archives.create(NAME_WAR, WebArchive.class); archive.add(stuff); // Assume we do this log.info(archive.toString(true)); // Deploy into Jetty final Context context = archive.as(ShrinkWrapWebAppContext.class); server.addHandler(context); // Start the Server server.start();
Arquillian container time?
S,
ALR
Our introduction to the Jetty dev team:
http://dev.eclipse.org/mhonarc/lists/jetty-dev/msg00357.html
S,
ALR