[jboss-user] [Microcontainer] - Re: Adding deployer to DeploymentUnit classpath
alesj
do-not-reply at jboss.com
Sat Oct 18 16:24:04 EDT 2008
"stan.silvert at jboss.com" wrote : Is there a better way to do this?
|
You can do it as I do it for Seam:
- http://anonsvn.jboss.org/repos/jbossas/projects/jboss-seam-int/trunk/microcontainer/src/main/java/org/jboss/seam/integration/microcontainer/deployers/SeamUrlIntegrationDeployer.java
Or, you're probably bundling your jfsunit-xyz-jboss-beans.xml in the same jar which you want to add to unit's classpath.
Why don't you just pull that file out with getClass().getClassLoader().getResource("jfsunit-xyz-jboss-beans.xml") and strip it to jar?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183046#4183046
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183046
More information about the jboss-user
mailing list