I added some code to VFS that allows you to programmtically create a virtual directory
structure composed of any URL, classloader resource, or byte array. The code is here:
https://svn.jboss.org/repos/jbossas/projects/vfs/trunk/src/main/java/org/...
Its incorporated into the VFS testsuite as well.
If you want to see it in action, look here:
https://svn.jboss.org/repos/jbossas/trunk/embedded/src/test/java/org/jbos...
The two tests in there dynamically define an abstract jar from resources in the classpath
and deploy it into an Embedded JBoss runtime. An EJB jar with a persistence unit is
defined and deployed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034156#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...