[jboss-dev-forums] [Design of JBoss ESB] - scoped deployments committed: new deployment.xml file
bill.burke@jboss.com
do-not-reply at jboss.com
Fri Mar 16 00:49:20 EDT 2007
I just committed a working version of .esb archive classloader scoping. In a previous post I stated that you do the scoping in a classloader.xml file. I have changed the name of this file to deployment.xml as I want to be able to define kernel dependencies as well as classloader scoping and thought it was stupid to add another xml file.
You can see an example of this file here:
https://svn.jboss.org/repos/labs/labs/jbossesb/trunk/qa/junit/resources/server/simple-scoped/META-INF/deployment.xml
There is a unit test for this. Here is how you run:
1. cd jbossesb/product
2. ant dist
3. ant -f build-distr.xml server.dist
4. cd build/jbossesb-server-4.0.1/bin
5. run
6. cd jbossesb/qa/junit
7. ant jars
8. ant -Dtest=server one-test
Look in build.xml "jars" target to see how jars are built.
The unit test code is here:
https://svn.jboss.org/repos/labs/labs/jbossesb/trunk/qa/junit/src/org/jboss/soa/esb/server/
and here:
https://svn.jboss.org/repos/labs/labs/jbossesb/trunk/qa/junit/resources/server/
This uses the JBoss Test Harness.
[/url]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028667#4028667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028667
More information about the jboss-dev-forums
mailing list