You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rd...@apache.org on 2006/01/26 22:03:07 UTC

svn commit: r372608 - /jakarta/commons/proper/logging/trunk/build.xml

Author: rdonkin
Date: Thu Jan 26 13:03:05 2006
New Revision: 372608

URL: http://svn.apache.org/viewcvs?rev=372608&view=rev
Log:
Updated script so that target dist does not fail when maven site:generate has not been run.

Modified:
    jakarta/commons/proper/logging/trunk/build.xml

Modified: jakarta/commons/proper/logging/trunk/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/build.xml?rev=372608&r1=372607&r2=372608&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/build.xml (original)
+++ jakarta/commons/proper/logging/trunk/build.xml Thu Jan 26 13:03:05 2006
@@ -566,6 +566,7 @@
 
   <target name="clean"
    description="Clean build and distribution directories">
+  	<mkdir dir='${build.home}'/>
     <delete includeemptydirs='yes'>
     	<fileset dir="${build.home}" excludes='docs/**/*'/>
     </delete>
@@ -580,6 +581,15 @@
 
   <target name="dist" depends="all"
    description="Create binary distribution">
+  	
+  	<!--
+  	Maven is used to generate the documentation.
+  	However, we cannot assume that it has been run.
+  	So, create the appropriate directories.
+  	-->
+  	<mkdir dir='${build.home}'/>
+  	<mkdir dir='${build.home}/docs'/>
+  	<mkdir dir='${build.home}/docs/apidocs'/>
   	
     <!--
       - Create a dist directory to hold all the files that go into a distribution.



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org