svn commit: r430993 - /incubator/ofbiz/trunk/build.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r430993 - /incubator/ofbiz/trunk/build.xml

jonesde
Author: jonesde
Date: Sat Aug 12 01:28:44 2006
New Revision: 430993

URL: http://svn.apache.org/viewvc?rev=430993&view=rev
Log:
Changed to not bug out when applications directory is not there, but instead just show a warning message

Modified:
    incubator/ofbiz/trunk/build.xml

Modified: incubator/ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/build.xml?rev=430993&r1=430992&r2=430993&view=diff
==============================================================================
--- incubator/ofbiz/trunk/build.xml (original)
+++ incubator/ofbiz/trunk/build.xml Sat Aug 12 01:28:44 2006
@@ -78,11 +78,13 @@
     <target name="clean">
         <subant target="clean">
             <filelist dir="." files="framework/build.xml"/>
-            <filelist dir="." files="applications/build.xml"/>
             <fileset dir="${basedir}/hot-deploy" casesensitive="no">
                 <include name="**/build.xml"/>
             </fileset>
         </subant>
+        <subant target="clean" failonerror="false"> <!-- use failonerror=false in case the applications directory is not there -->
+            <filelist dir="." files="applications/build.xml"/>
+        </subant>
         <delete file="ofbiz.jar"/>
         <echo message="[clean] ========== Done Cleaning =========="/>
     </target>
@@ -96,12 +98,16 @@
 
         <subant inheritall="false">
             <filelist dir="." files="framework/build.xml"/>
+        </subant>
+        <subant inheritall="false" failonerror="false">
             <filelist dir="." files="applications/build.xml"/>
+        </subant>
+        <subant inheritall="false">
             <fileset dir="${basedir}/hot-deploy" casesensitive="no">
                 <include name="**/build.xml"/>
             </fileset>
         </subant>
-
+        
         <echo message="[build] ========== Done Building (Compile) =========="/>
     </target>
 
@@ -114,12 +120,16 @@
 
         <subant target="docs">
             <filelist dir="." files="framework/build.xml"/>
+        </subant>
+        <subant target="docs" failonerror="false">
             <filelist dir="." files="applications/build.xml"/>
+        </subant>
+        <subant target="docs">
             <fileset dir="${basedir}/hot-deploy" casesensitive="no">
                 <include name="**/build.xml"/>
             </fileset>
         </subant>
-
+        
         <echo message="[docs] ========== Done Building (JavaDocs) =========="/>
     </target>