mirror of https://github.com/apache/activemq.git
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:
parent
92a698fe42
commit
09e95290f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue