Author: foconer
Date: Thu Dec 22 00:07:24 2005
New Revision: 358524
URL: http://svn.apache.org/viewcvs?rev=358524&view=rev
Log:
Added condition where it will only execute adding the core's javadocs api if it
exist.
Modified:
incubator/activemq/trunk/assembly/maven.xml
Modified: incubator/activemq/trunk/assembly/maven.xml
URL:
http://svn.apache.org/viewcvs/incubator/activemq/trunk/assembly/maven.xml?rev=358524&r1=358523&r2=358524&view=diff
==============================================================================
--- incubator/activemq/trunk/assembly/maven.xml (original)
+++ incubator/activemq/trunk/assembly/maven.xml Thu Dec 22 00:07:24 2005
@@ -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