This page last changed on 20.05.2011 by mark.

With this File you specify Class-Path-Elements

Standalone WAR Deployments

<development>
    <webapp-path>C:/Workspace/webapp.war</webapp-path>
    <classpath>../../target/classes</classpath>
    <classpath>C:/Workspace/webapp.war/WEB-INF/lib</classpath>
</development>

You can easily define a redirection of your deployed WAR-File. Just drop your WAR-File (built as usual) into JBoss, specify the path to your Dev-Directory and have fun.
The number of classpath-Elements (specifying relative/absolute Paths) is unlimited. Relative paths can be specified relative to the WEB-INF-Directory. For WAR-Deployments this file needs to be in your WEB-INF-Directory.

EAR Deployments

<development>
    <classpath id="my-ejbs.jar">C:/Workspace/my-ejbs/target/classes</classpath>
    <classpath id="my-webapp.war">C:/Workspace/my-webapp/src/webapp</classpath>
    <classpath>C:/Workspace/my-webapp/target/classes</classpath>
</development>

Within EAR files the JBoss Development Deployer does a map-based redirection. Just specify the final sub-archive name as id and the mapping path to tell JBoss to use the substitute path as deployment input. All EAR Class-Paths have to be absolute.

Back to Main

Document generated by Confluence on 22 Mai 2011 13:19