You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Bart van Leeuwen <an...@apache.org> on 2015/01/23 18:15:17 UTC

CMS diff: Deployments

Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://tomee.apache.org/deployments.mdtext

Bart van Leeuwen

Index: trunk/content/deployments.mdtext
===================================================================
--- trunk/content/deployments.mdtext	(revision 1654100)
+++ trunk/content/deployments.mdtext	(working copy)
@@ -49,6 +49,19 @@
 openejb.base for holding ejb jars.  This declaration is simply convention
 and not required.
 
+<a name="Deployments-autodeployment"></a>
+##  Automatic deployment of Apps
+
+If you want you app to be deployed when copying the ear to the 'apps' 
+directory you need to add the 'autoDeploy' attribute.
+   
+    
+    <openejb>
+    ...
+       <Deployments dir="apps" autoDeploy="true" />
+    </openejb>
+
+
 <a name="Deployments-Anunpackedjar"></a>
 ##  An unpacked jar