You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2012/04/02 17:04:18 UTC

svn commit: r1308377 - /ofbiz/trunk/build.xml

Author: jacopoc
Date: Mon Apr  2 15:04:17 2012
New Revision: 1308377

URL: http://svn.apache.org/viewvc?rev=1308377&view=rev
Log:
New target to show the status of the OFBiz instance; thanks to Francis ANDRE for the patch (OFBIZ-4775)

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1308377&r1=1308376&r2=1308377&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Mon Apr  2 15:04:17 2012
@@ -431,6 +431,14 @@ under the License.
             <arg value="-shutdown"/>
         </java>
     </target>
+    <target name="status"
+            description="Display status of OFBiz">
+        <java jar="ofbiz.jar" fork="true">
+            <sysproperty key="ofbiz.admin.port" value="${ofbiz.admin.port}"/>
+            <sysproperty key="ofbiz.admin.key" value="${ofbiz.admin.key}"/>
+            <arg value="-status"/>
+        </java>
+    </target>
 
     <!-- ================================================================== -->
     <!-- Setup OFBiz Data                                                   -->