[Japi-cvs] SF.net SVN: japi:[1365] common/trunk/commonBuild.xml
Status: Beta
Brought to you by:
christianhujer
From: <chr...@us...> - 2009-07-25 13:24:08
|
Revision: 1365 http://japi.svn.sourceforge.net/japi/?rev=1365&view=rev Author: christianhujer Date: 2009-07-25 13:24:01 +0000 (Sat, 25 Jul 2009) Log Message: ----------- Auto-get java2html.jar if missing. Modified Paths: -------------- common/trunk/commonBuild.xml Modified: common/trunk/commonBuild.xml =================================================================== --- common/trunk/commonBuild.xml 2009-07-25 13:02:25 UTC (rev 1364) +++ common/trunk/commonBuild.xml 2009-07-25 13:24:01 UTC (rev 1365) @@ -85,6 +85,7 @@ </path> <available property="has3rdparty" file="lib/annotations.jar" /> +<available property="hasJava2html" file="${commonPath}/antlib.auto/java2html.jar" /> <available property="hasAntmeat" file="${commonPath}/antlib.auto/antmeat.jar" /> <available property="hasCheckstyle" file="${commonPath}/antlib.auto/checkstyle-all-4.4.jar" /> <available property="hasJunit" file="${commonPath}/antlib.auto/junit.jar" /> @@ -370,10 +371,17 @@ <get src="http://downloads.sourceforge.net/japi/japi-lib-taglets-0.1.0.jar" dest="${commonPath}/antlib.auto/japi-lib-taglets.jar" usetimestamp="true" /> </target> +<target name="getJava2html" unless="hasJava2htmL"> + <get src="http://www.java2html.de/java2html_50.zip" dest="${commonPath}/antlib.auto/java2html_50.zip" usetimestamp="true" /> + <unzip src="${commonPath}/antlib.auto/java2html_50.zip" dest="${commonPath}/antlib.auto"> + <patternset includes="java2html.jar" /> + </unzip> +</target> + <target name = "doc" description = "Creates public API documentation" - depends = "getTaglets" + depends = "getTaglets, getJava2html" > <mkdir dir="docs/api" /> <javadoc @@ -423,6 +431,7 @@ <target name = "privateDoc" description = "Creates private documentation" + depends = "getTaglets, getJava2html" > <mkdir dir="docs/private" /> <javadoc This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |