Update of the build system.
Gump target works ok. All docs generate ok. Jar task is ok. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352353 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
606609224f
commit
7d9a386b0b
@ -6,7 +6,7 @@ set ANT_HOME=tools\antipede
|
||||
set OLD_CLASSPATH=%CLASSPATH%
|
||||
for %%i in (.\lib\endorsed\*.jar) do call appendcp.bat %%i
|
||||
|
||||
call %ANT_HOME%\bin\ant -listener org.apache.tools.ant.XmlLogger %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||
call %ANT_HOME%\bin\ant -emacs -listener org.apache.tools.ant.XmlLogger %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||
|
||||
set ANT_HOME=%OLD_ANT_HOME%
|
||||
set CLASSPATH=%OLD_CLASSPATH%
|
2
build.sh
2
build.sh
@ -29,7 +29,7 @@ unset CLASSPATH
|
||||
CLASSPATH="`echo ./lib/endorsed/*.jar | tr ' ' $S`"
|
||||
export CLASSPATH
|
||||
|
||||
$PWD/./tools/antipede/bin/ant -listener org.apache.tools.ant.XmlLogger $@
|
||||
$PWD/./tools/antipede/bin/ant -emacs -listener org.apache.tools.ant.XmlLogger $@
|
||||
|
||||
unset CLASSPATH
|
||||
|
||||
|
46
build.xml
46
build.xml
@ -336,6 +336,21 @@ printed.
|
||||
|
||||
</target>
|
||||
|
||||
<!-- ================================== -->
|
||||
<!-- Generates the XML javadocs -->
|
||||
<!-- ================================== -->
|
||||
|
||||
<target name="xjavadocs" depends="-init"
|
||||
description="Compile java source code">
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="centipede"/>
|
||||
<param name="cent-target" value="xjavadocs"/>
|
||||
</antcall>
|
||||
|
||||
</target>
|
||||
|
||||
|
||||
<!-- ================================== -->
|
||||
<!-- Generate UML -WIP- -->
|
||||
<!-- ================================== -->
|
||||
@ -345,11 +360,17 @@ printed.
|
||||
|
||||
<javadoc packagenames="${xgump.module.project.package}.*"
|
||||
sourcepath="${xlayout.build.java.dir}"
|
||||
destdir="${xlayout.build.documentation.javadocs.dir}"
|
||||
destdir="${xlayout.build.documentation.metrics.dir}"
|
||||
failonerror="true">
|
||||
|
||||
<!--
|
||||
<classpath>
|
||||
<path>
|
||||
<fileset dir=".">
|
||||
<patternset>
|
||||
<include name="${cents.dir}/uml.${cent.dir.suffix}/*/*.jar"/>
|
||||
<include name="${cents.dir}/uml.${cent.dir.suffix}/*/*.zip"/>
|
||||
</patternset>
|
||||
</fileset>
|
||||
<fileset dir="${xlayout.library.dir}" casesensitive="yes">
|
||||
<patternset>
|
||||
<include name="*/*.jar"/>
|
||||
@ -358,10 +379,25 @@ printed.
|
||||
</fileset>
|
||||
</path>
|
||||
</classpath>
|
||||
<bootclasspath>
|
||||
<path>
|
||||
<fileset dir="." casesensitive="yes">
|
||||
<patternset>
|
||||
<include name="${cents.dir}/uml.${cent.dir.suffix}/*/*.jar"/>
|
||||
<include name="${cents.dir}/uml.${cent.dir.suffix}/*/*.zip"/>
|
||||
</patternset>
|
||||
</fileset>
|
||||
<fileset dir="${xlayout.library.dir}" casesensitive="yes">
|
||||
<patternset>
|
||||
<include name="*/*.jar"/>
|
||||
<include name="*/*.zip"/>
|
||||
</patternset>
|
||||
</fileset>
|
||||
</path>
|
||||
</bootclasspath>
|
||||
-->
|
||||
|
||||
<doclet name="JP.co.esm.caddies.doclets.UMLDoclet"
|
||||
path="./tools/antipede/lib/UMLDoclet.jar">
|
||||
<param name="-d" value="docs/metrics"/>
|
||||
<doclet name="JP.co.esm.caddies.doclets.UMLDoclet">
|
||||
</doclet>
|
||||
|
||||
</javadoc>
|
||||
|
@ -38,12 +38,12 @@
|
||||
<java dir="./build/java"/>
|
||||
<classes dir="./build/classes"/>
|
||||
<test dir="./build/testcases"/>
|
||||
<work dir="./build/work"/>
|
||||
<documentation dir="./build/documentation">
|
||||
<javadocs dir="./build/docs/javadocs"/>
|
||||
<test dir="./build/docs/test"/>
|
||||
<metrics dir="./build/docs/metrics"/>
|
||||
</documentation>
|
||||
<work dir="./build/work"/>
|
||||
<scratchpad dir="./build/scratchpad">
|
||||
<java dir="./build/scratchpad/java"/>
|
||||
<classes dir="./build/scratchpad/classes"/>
|
||||
|
@ -42,6 +42,8 @@
|
||||
Why not?
|
||||
</why>
|
||||
|
||||
<vendor>Apache Software Foundation</vendor>
|
||||
|
||||
<licence>This software is released under the Apache Public License 1.1.
|
||||
For detailed legal and licensing issues, please read the LICENSE.* files
|
||||
in the /legal directory.
|
||||
|
@ -32,8 +32,20 @@
|
||||
jakarta-site
|
||||
scarab-site
|
||||
xml-apache-site
|
||||
cocoon-printer -->
|
||||
<skin name="jakarta-site"/>
|
||||
basic -->
|
||||
<skin name="jakarta-site">
|
||||
<navlinks>
|
||||
<link1 href="http://www.apache.org/">apache.org</link1>
|
||||
<link2 href="http://jakarta.apache.org/">jakarta.apache.org</link2>
|
||||
<link3 href="http://jakarta.apache.org/poi/">jakarta.apache.org/poi</link3>
|
||||
</navlinks>
|
||||
<logo>
|
||||
<group src="images/group-logo.gif" href="http://jakarta.apache.org"/>
|
||||
<project src="images/project-logo.gif" href="http://jakarta.apache.org/poi/"/>
|
||||
</logo>
|
||||
|
||||
</skin>
|
||||
|
||||
</forrest>
|
||||
|
||||
</properties>
|
@ -87,7 +87,31 @@
|
||||
<!-- Used only by the -init target -->
|
||||
<!-- =================================-->
|
||||
<target name="-cent-unjar">
|
||||
|
||||
<basename property="current.cent.jar.name" file="${current.cent.jar}" suffix=".jar"/>
|
||||
|
||||
<condition property="cent-unjar.not.required">
|
||||
<and>
|
||||
<uptodate targetfile="${current.cent.jar}">
|
||||
<srcfiles dir= "." includes="${cents.dir}/*.${cent.dir.suffix}/${task.properties.name}"/>
|
||||
</uptodate>
|
||||
<available type="dir" file="${cents.dir}/${current.cent.jar.name}"/>
|
||||
</and>
|
||||
</condition>
|
||||
|
||||
<antipede-if>
|
||||
<equals arg1="cent-unjar.not.required" arg2="true" />
|
||||
<then>
|
||||
<echo message="${current.cent.jar} is uptodate with respect to ${current.cent.jar.name}." />
|
||||
<echo message="No need to expand it." />
|
||||
</then>
|
||||
<else>
|
||||
<echo message="Expanding ${current.cent.jar}..." />
|
||||
<unjar src="${current.cent.jar}" dest="${cents.dir}"/>
|
||||
<echo message="... ${current.cent.jar} expanded in ${current.cent.jar.name}." />
|
||||
</else>
|
||||
</antipede-if>
|
||||
|
||||
</target>
|
||||
|
||||
<!-- ============================================= -->
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user