no message
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/BUILD_BRANCH@353057 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ead0829da9
commit
31f5749449
26
newbuild.xml
26
newbuild.xml
|
@ -62,7 +62,8 @@
|
|||
<property name="contrib.testokfile" value="build/contrib-testokfile.txt"/>
|
||||
<property name="junit.jar1.dir" value="${main.lib}/junit-3.8.1.jar"/>
|
||||
<property name="junit.jar1.url" value="${repository}/junit/jars/junit-3.8.1.jar"/>
|
||||
<property name="build.site" value="build/site"/>
|
||||
<property name="build.site" value="build/tmp/site/build/site"/>
|
||||
<property name="build.tmp.site" value="build/tmp/site"/>
|
||||
<property name="junit.report.dir" value="${build.site}/junit"/>
|
||||
<property name="jdepend.report.dir" value="${build.site}/jdepend"/>
|
||||
<property name="apidocs.report.dir" value="${build.site}/apidocs"/>
|
||||
|
@ -108,6 +109,13 @@
|
|||
<mkdir dir="${jdepend.report.dir}"/>
|
||||
<mkdir dir="${apidocs.report.dir}"/>
|
||||
<mkdir dir="${dist.dir}"/>
|
||||
<mkdir dir="${build.tmp.site}/${main.documentation}"/>
|
||||
|
||||
<copy todir="${build.tmp.site}/${main.documentation}" preservelastmodified="true">
|
||||
<fileset dir="${main.documentation}" />
|
||||
</copy>
|
||||
<copy file="forrest.properties" tofile="${build.tmp.site}/forrest.properties"
|
||||
preservelastmodified="true" />
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
|
@ -285,14 +293,24 @@
|
|||
|
||||
<target name="-check-docs">
|
||||
<uptodate property="main.docs.notRequired" targetfile="${build.site}/index.html" >
|
||||
<srcfiles dir= "${main.documentation}"/>
|
||||
<srcfiles dir= "${build.tmp.site}"/>
|
||||
</uptodate>
|
||||
</target>
|
||||
|
||||
<target name="docs" depends="init,-check-docs" unless="main.docs.notRequired"
|
||||
description="Builds the POI website">
|
||||
<mkdir dir="${build.tmp.site}/src/documentation/content/apidocs"/>
|
||||
<copy todir="${build.tmp.site}/src/documentation/content/apidocs">
|
||||
<fileset dir="${apidocs.report.dir}" />
|
||||
</copy>
|
||||
<copy tofile="${build.tmp.site}/src/documentation/content/jdepend.ehtml" file="${jdepend.report.dir}/index.html"/>
|
||||
<mkdir dir="${build.tmp.site}/src/documentation/content/junit"/>
|
||||
<copy todir="${build.tmp.site}/src/documentation/content/junit">
|
||||
<fileset dir="${junit.report.dir}"/>
|
||||
</copy>
|
||||
|
||||
<ant antfile="${forrest.home}/forrest.antproxy.xml" target="site">
|
||||
<property name="project.home" value="${basedir}"/>
|
||||
<property name="project.home" value="${build.tmp.site}"/>
|
||||
</ant>
|
||||
</target>
|
||||
|
||||
|
@ -371,7 +389,7 @@
|
|||
</javadoc>
|
||||
</target>
|
||||
|
||||
<target name="site" depends="docs,reports"
|
||||
<target name="site" depends="reports,docs"
|
||||
description="generate the documentation and reports"/>
|
||||
|
||||
<target name="jar" depends="compile" description="Creates jar files for distribution">
|
||||
|
|
|
@ -25,7 +25,7 @@ See http://xml.apache.org/forrest/linking.html for more info
|
|||
<cocoon href="cocoon/"/>
|
||||
</xml.apache.org>
|
||||
<junit href="junit/index.html"/>
|
||||
<jdepend href="jdepend/index.html"/>
|
||||
<jdepend href="jdepend.ehtml"/>
|
||||
<javadoc href="apidocs/index.html"/>
|
||||
</external-refs>
|
||||
|
||||
|
|
Loading…
Reference in New Issue