This content has been marked as final.
Show 1 reply
-
1. Re: AS7 Resource Adapter deployment dependency
lafr Aug 16, 2013 2:52 PM (in response to rssole)For me it was easier to use a entry in manifest file of deployment unit.
In my case it's an ear file, but should work the same way for war.
{code:xml}
<ear earfile="${BIN}/${pre-stage.ear.name}" appxml="${etc.dir}/application.xml"> <fileset dir="${build.deploy.dir}" includes="ejb-entity.jar"/> <fileset dir="${build.deploy.dir}" includes="ejb-session-*.jar"/> <fileset dir="${build.deploy.dir}" includes="ws-*.war"/> <fileset dir="${build.deploy.dir}" includes="web.war"/> <fileset dir="${build.deploy.dir}" includes="lib/**"/> <fileset dir="${etc.dir}" includes="mbi_deploy.xml"/> <manifest> <attribute name="Dependencies" value="deployment.controller.rar, deployment.filesystem.rar"/> </manifest> </ear> {code}
The name is always the prefix "deployment." + name of the rar-file.