commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r372612 - /jakarta/commons/proper/logging/trunk/build.xml
Date Thu, 26 Jan 2006 21:34:18 GMT
Author: dennisl
Date: Thu Jan 26 13:34:03 2006
New Revision: 372612

URL: http://svn.apache.org/viewcvs?rev=372612&view=rev
Log:
Added a warning message that is shown if 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=372612&r1=372611&r2=372612&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/build.xml (original)
+++ jakarta/commons/proper/logging/trunk/build.xml Thu Jan 26 13:34:03 2006
@@ -279,6 +279,7 @@
 
     <available file="${log4j12.jar}" property="log4j12.present"/>
     <available file="${log4j13.jar}" property="log4j13.present"/>
+	<available file="${build.home}/docs" property="maven.generated.docs.present"/>
   </target>
 
   <target name="log4j12-warning" unless='log4j12.present' depends='init,discovery'>
@@ -579,7 +580,15 @@
    description="Clean and compile all components"/>
 
 
-  <target name="dist" depends="all"
+  <target name="maven-docs-warning" unless="maven.generated.docs.present" depends="discovery">
+    <echo>
+    *** WARNING ***
+    Maven generated documentation not found: Documentation distribution will be empty
+    </echo>
+  </target>
+  
+
+  <target name="dist" depends="all,maven-docs-warning"
    description="Create binary distribution">
   	
   	<!--



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


Mime
View raw message