You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ja...@apache.org on 2018/06/15 04:47:05 UTC

svn commit: r1833574 - /ant/site/ivy/build.xml

Author: jaikiran
Date: Fri Jun 15 04:47:05 2018
New Revision: 1833574

URL: http://svn.apache.org/viewvc?rev=1833574&view=rev
Log:
Allow "install-doc" to install the documentation (optionally) into a different target directory

Modified:
    ant/site/ivy/build.xml

Modified: ant/site/ivy/build.xml
URL: http://svn.apache.org/viewvc/ant/site/ivy/build.xml?rev=1833574&r1=1833573&r2=1833574&view=diff
==============================================================================
--- ant/site/ivy/build.xml (original)
+++ ant/site/ivy/build.xml Fri Jun 15 04:47:05 2018
@@ -98,8 +98,9 @@
 
     <target name="install-doc" depends="download-doc">
         <property name="history.version" value="master" />
-        <delete dir="${target.dir}/history/${history.version}" />
-        <copy todir="${target.dir}/history/${history.version}">
+        <property name="target.history.folder" value="${history.version}" />
+        <delete dir="${target.dir}/history/${target.history.folder}" />
+        <copy todir="${target.dir}/history/${target.history.folder}">
             <fileset dir="${ivydoc.dir}" />
         </copy>
     </target>