You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2017/06/25 16:42:34 UTC

svn commit: r1799830 - /ant/site/README.txt

Author: hibou
Date: Sun Jun 25 16:42:34 2017
New Revision: 1799830

URL: http://svn.apache.org/viewvc?rev=1799830&view=rev
Log:
document the new targets for Ivy

Modified:
    ant/site/README.txt

Modified: ant/site/README.txt
URL: http://svn.apache.org/viewvc/ant/site/README.txt?rev=1799830&r1=1799829&r2=1799830&view=diff
==============================================================================
--- ant/site/README.txt (original)
+++ ant/site/README.txt Sun Jun 25 16:42:34 2017
@@ -13,13 +13,24 @@ To generate the site for Ant:
 $ cd site/ant
 $ ant docs
 
-To generate the site for Ivy or IvyDE:
+For Ivy and IvyDE sites, some parts of the site depends on the source in git. To checkout a specific histroy version:
 $ cd site/ivy(de)
+$ ant checkout-history -Dhistory.version=2.4.0 
+And for the last stable version:
+$ ant checkout-history -Dhistory.version=2.4.0 -Dtarget.history.folder=latest-milestone 
+
+Then to actually generate the site:
 $ ant generate-site
-To force the generation of the entire website (usefull when we change the template)
+
+To force the generation of the entire website (usefull when we change the template or the toc)
 $ ant /all generate-site
-To generate a 'history' sub part of the website (here tunk):
-$ ant generate-history -Dhistory.version=trunk
+To generate a 'history' sub part of the website (here 2.4.0):
+$ ant generate-history -Dhistory.version=2.4.0
+
+The master of Ivy is now managed with asciidoc. So the doc is already generated and just need to be copied here. To help with that there is an Ant target:
+$ ant install-doc -Divydoc.dir=....../local-path/doc
+Or:
+$ ant install-doc -Divy-dist.zip.url=https://builds.apache.org/job/Ivy/lastSuccessfulBuild/artifact/build/distrib/dist/2.5.0-local-20170625153258/apache-ivy-2.5.0-local-20170625153258-bin.zip
 
 To generate the site for EasyAnt:
 Generation with xooki requires Java 1.6.