You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/11/17 18:34:43 UTC

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

Author: jleroux
Date: Mon Nov 17 17:34:43 2014
New Revision: 1640196

URL: http://svn.apache.org/r1640196
Log:
Improve the way build-AREA_NAME targets are used - https://issues.apache.org/jira/browse/OFBIZ-5880

Since the introduction of the build-dev target, a build-AREA_NAME (test, qa, production) should not chain the main build target. Because servers use the patch command and patches applied by the build-dev target are rejected and the process fails.

Of course this also means to change the scripts which are using build-AREA_NAME since now the main build is not chained, eg
from
./ant clean build-qa
to 
./ant clean build-qa build

Modified:
    ofbiz/trunk/build.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1640196&r1=1640195&r2=1640196&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Mon Nov 17 17:34:43 2014
@@ -345,7 +345,7 @@ under the License.
                 <include name="*/build.xml"/>
             </fileset>
         </subant>
-        <antcall target="build"/>
+        <!--antcall target="build"/--><!-- you can chain if you don't use build-dev  see MVP-256-->
     </target>
     
     <target name="build-qa" 
@@ -356,7 +356,7 @@ under the License.
                 <include name="*/build.xml"/>
             </fileset>
         </subant>
-        <antcall target="build"/>
+      <!--antcall target="build"/--><!-- you can chain if you don't use build-dev  see MVP-256-->
     </target>
 
     <target name="build-production" 
@@ -367,7 +367,7 @@ under the License.
                 <include name="*/build.xml"/>
             </fileset>
         </subant>
-        <antcall target="build"/>
+      <!--antcall target="build"/--><!-- you can chain if you don't use build-dev  see MVP-256-->
     </target>    
     
     <!-- ================================================================== -->