1
0

Added a warning message that is shown if maven site:generate has not been run.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372612 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dennis Lundberg
2006-01-26 21:34:03 +00:00
parent 8cf4bee745
commit 3d053f5969

View File

@@ -279,6 +279,7 @@
<available file="${log4j12.jar}" property="log4j12.present"/> <available file="${log4j12.jar}" property="log4j12.present"/>
<available file="${log4j13.jar}" property="log4j13.present"/> <available file="${log4j13.jar}" property="log4j13.present"/>
<available file="${build.home}/docs" property="maven.generated.docs.present"/>
</target> </target>
<target name="log4j12-warning" unless='log4j12.present' depends='init,discovery'> <target name="log4j12-warning" unless='log4j12.present' depends='init,discovery'>
@@ -579,7 +580,15 @@ This configuration is typically used to create a release only.
description="Clean and compile all components"/> 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"> description="Create binary distribution">
<!-- <!--