Updated script so that target dist does not fail when maven site:generate has not been run.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@372608 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
10
build.xml
10
build.xml
@@ -566,6 +566,7 @@ This configuration is typically used to create a release only.
|
|||||||
|
|
||||||
<target name="clean"
|
<target name="clean"
|
||||||
description="Clean build and distribution directories">
|
description="Clean build and distribution directories">
|
||||||
|
<mkdir dir='${build.home}'/>
|
||||||
<delete includeemptydirs='yes'>
|
<delete includeemptydirs='yes'>
|
||||||
<fileset dir="${build.home}" excludes='docs/**/*'/>
|
<fileset dir="${build.home}" excludes='docs/**/*'/>
|
||||||
</delete>
|
</delete>
|
||||||
@@ -581,6 +582,15 @@ This configuration is typically used to create a release only.
|
|||||||
<target name="dist" depends="all"
|
<target name="dist" depends="all"
|
||||||
description="Create binary distribution">
|
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.
|
- Create a dist directory to hold all the files that go into a distribution.
|
||||||
- Copy the needed files from the build directory to the dist directory.
|
- Copy the needed files from the build directory to the dist directory.
|
||||||
|
|||||||
Reference in New Issue
Block a user