Added condition where it will only execute adding the core's javadocs api if it exist.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@358524 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Frederick G. Oconer 2005-12-22 08:07:24 +00:00
parent 92a698fe42
commit 09e95290f6
1 changed files with 11 additions and 8 deletions

View File

@ -175,14 +175,17 @@
</ant:copy>
<!-- Copy documentation -->
<!--
<j:set var="docsDest" value="${project.root}/activemq-core/target/docs"/>
<ant:copy todir="${maven.dist.bin.assembly.dir}/docs">
<ant:fileset dir="${docsDest}">
<ant:include name="**"/>
</ant:fileset>
</ant:copy>
-->
<echo>exist 2 ..............................................</echo>
<u:file var="file" name="${project.root}/activemq-core/target/docs"/>
<j:if test="${file.exists()}">
<j:set var="docsDest" value="${project.root}/activemq-core/target/docs"/>
<echo>exist ..............................................</echo>
<ant:copy todir="${maven.dist.bin.assembly.dir}/docs">
<ant:fileset dir="${docsDest}">
<ant:include name="**"/>
</ant:fileset>
</ant:copy>
</j:if>
</goal>
<goal