Update to latest version of cents.
Most notably: - added automagic cent that uses all available cents on common targets automagically - corrected forrest problems in rendering faqs, todos and changes (icons too) - corrected dist target git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352545 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1e7eb23ac0
commit
a7ad9decb6
83
build.xml
83
build.xml
@ -1,16 +1,11 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<?xml-stylesheet type="text/xsl" href="./tools/antipede/resources/stylesheets/layout.xsl"?>
|
<?xml-stylesheet type="text/xsl" href="./tools/antipede/resources/stylesheets/build.xsl"?>
|
||||||
|
|
||||||
<!--<!DOCTYPE project SYSTEM "./tools/antipede/build.dtd" >-->
|
<!--<!DOCTYPE project SYSTEM "./tools/antipede/build.dtd" >-->
|
||||||
<!DOCTYPE project [
|
<!DOCTYPE project [
|
||||||
<!-- antipede -->
|
<!-- antipede -->
|
||||||
<!ENTITY import-antipede SYSTEM "./tools/antipede/build.xtarget">
|
<!ENTITY import-antipede SYSTEM "./tools/antipede/build.xtarget">
|
||||||
|
|
||||||
<!ELEMENT project ANY>
|
|
||||||
<!ATTLIST project default CDATA #REQUIRED
|
|
||||||
basedir CDATA #IMPLIED
|
|
||||||
name CDATA #IMPLIED>
|
|
||||||
|
|
||||||
]>
|
]>
|
||||||
<project default="interactive" basedir="." name="project build file">
|
<project default="interactive" basedir="." name="project build file">
|
||||||
|
|
||||||
@ -152,7 +147,7 @@
|
|||||||
description="Compile java source code">
|
description="Compile java source code">
|
||||||
|
|
||||||
<antcall target="call-cent">
|
<antcall target="call-cent">
|
||||||
<param name="cent-name" value="centipede"/>
|
<param name="cent-name" value="automagic"/>
|
||||||
<param name="cent-target" value="compile"/>
|
<param name="cent-target" value="compile"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
@ -167,8 +162,8 @@
|
|||||||
description="Compile java source code">
|
description="Compile java source code">
|
||||||
|
|
||||||
<antcall target="call-cent">
|
<antcall target="call-cent">
|
||||||
<param name="cent-name" value="centipede"/>
|
<param name="cent-name" value="automagic"/>
|
||||||
<param name="cent-target" value="package"/>
|
<param name="cent-target" value="jar"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
@ -176,13 +171,11 @@
|
|||||||
<!-- ====================================== -->
|
<!-- ====================================== -->
|
||||||
<!-- dist target wo single build checks -->
|
<!-- dist target wo single build checks -->
|
||||||
<!-- ====================================== -->
|
<!-- ====================================== -->
|
||||||
<!-- REALLY DIRTY HACK, ANDY REMOVED CLEAN TARGET, RE-ADD WHEN CENTIPEDE BUG -->
|
<target name="dist" depends="-init"
|
||||||
<!-- is fixed!!!!!!!! -->
|
|
||||||
<target name="dist" depends="-init, jar, test, site"
|
|
||||||
description="Build distribution packages wo single build checks">
|
description="Build distribution packages wo single build checks">
|
||||||
|
|
||||||
<antcall target="call-cent">
|
<antcall target="call-cent">
|
||||||
<param name="cent-name" value="centipede"/>
|
<param name="cent-name" value="automagic"/>
|
||||||
<param name="cent-target" value="dist"/>
|
<param name="cent-target" value="dist"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
@ -197,7 +190,7 @@
|
|||||||
description="Compile java source code">
|
description="Compile java source code">
|
||||||
|
|
||||||
<antcall target="call-cent">
|
<antcall target="call-cent">
|
||||||
<param name="cent-name" value="centipede"/>
|
<param name="cent-name" value="automagic"/>
|
||||||
<param name="cent-target" value="clean"/>
|
<param name="cent-target" value="clean"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
@ -207,50 +200,27 @@
|
|||||||
<!-- Run Junit tests -->
|
<!-- Run Junit tests -->
|
||||||
<!-- ================================== -->
|
<!-- ================================== -->
|
||||||
|
|
||||||
<target name="test" depends="-init, compile"
|
<target name="test" depends="-init"
|
||||||
description="Compile java source code">
|
description="Compile java source code">
|
||||||
|
|
||||||
<antcall target="call-cent">
|
<antcall target="call-cent">
|
||||||
<param name="cent-name" value="junit"/>
|
<param name="cent-name" value="automagic"/>
|
||||||
<param name="cent-target" value="test"/>
|
<param name="cent-target" value="test"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ================================== -->
|
|
||||||
<!-- Run Junit tests -->
|
|
||||||
<!-- ================================== -->
|
|
||||||
|
|
||||||
<target name="test-report" depends="-init, compile"
|
|
||||||
description="Compile java source code">
|
|
||||||
|
|
||||||
<antcall target="call-cent">
|
|
||||||
<param name="cent-name" value="junit"/>
|
|
||||||
<param name="cent-target" value="failsafe-test"/>
|
|
||||||
</antcall>
|
|
||||||
|
|
||||||
<antcall target="call-cent">
|
|
||||||
<param name="cent-name" value="junit"/>
|
|
||||||
<param name="cent-target" value="report"/>
|
|
||||||
</antcall>
|
|
||||||
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!-- ================================== -->
|
<!-- ================================== -->
|
||||||
<!-- Generate project metrics -->
|
<!-- Generate project metrics -->
|
||||||
<!-- ================================== -->
|
<!-- ================================== -->
|
||||||
|
|
||||||
<target name="metrics" depends="-init, compile"
|
<target name="metrics" depends="-init"
|
||||||
description="Generate project metrics">
|
description="Generate project metrics">
|
||||||
|
|
||||||
<antcall target="call-cent">
|
<antcall target="call-cent">
|
||||||
<param name="cent-name" value="jdepend"/>
|
<param name="cent-name" value="automagic"/>
|
||||||
<param name="cent-target" value="jdepend-html"/>
|
<param name="cent-target" value="metrics"/>
|
||||||
</antcall>
|
|
||||||
|
|
||||||
<antcall target="call-cent">
|
|
||||||
<param name="cent-name" value="checkstyle"/>
|
|
||||||
<param name="cent-target" value="check"/>
|
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
@ -264,7 +234,7 @@
|
|||||||
description="Compile java source code">
|
description="Compile java source code">
|
||||||
|
|
||||||
<antcall target="call-cent">
|
<antcall target="call-cent">
|
||||||
<param name="cent-name" value="forrest"/>
|
<param name="cent-name" value="automagic"/>
|
||||||
<param name="cent-target" value="docs"/>
|
<param name="cent-target" value="docs"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
@ -276,12 +246,15 @@
|
|||||||
|
|
||||||
<target name="site"
|
<target name="site"
|
||||||
description="Makes all the site doco"
|
description="Makes all the site doco"
|
||||||
depends="docs,
|
depends="-init">
|
||||||
test-report,
|
|
||||||
javadocs,
|
|
||||||
metrics"/>
|
|
||||||
|
|
||||||
|
<antcall target="call-cent">
|
||||||
|
<param name="cent-name" value="automagic"/>
|
||||||
|
<param name="cent-target" value="site"/>
|
||||||
|
</antcall>
|
||||||
|
|
||||||
|
</target>
|
||||||
|
|
||||||
<!-- ================================== -->
|
<!-- ================================== -->
|
||||||
<!-- Generates the java docs -->
|
<!-- Generates the java docs -->
|
||||||
<!-- ================================== -->
|
<!-- ================================== -->
|
||||||
@ -290,20 +263,10 @@
|
|||||||
description="Compile java source code">
|
description="Compile java source code">
|
||||||
|
|
||||||
<antcall target="call-cent">
|
<antcall target="call-cent">
|
||||||
<param name="cent-name" value="umldoclet"/>
|
<param name="cent-name" value="automagic"/>
|
||||||
<param name="cent-target" value="javadocs"/>
|
<param name="cent-target" value="javadocs"/>
|
||||||
</antcall>
|
</antcall>
|
||||||
|
|
||||||
<antcall target="call-cent">
|
|
||||||
<param name="cent-name" value="umldoclet"/>
|
|
||||||
<param name="cent-target" value="doclet"/>
|
|
||||||
</antcall>
|
|
||||||
|
|
||||||
<antcall target="call-cent">
|
|
||||||
<param name="cent-name" value="javasrc"/>
|
|
||||||
<param name="cent-target" value="javasrc"/>
|
|
||||||
</antcall>
|
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ================================== -->
|
<!-- ================================== -->
|
||||||
|
BIN
tools/cents/automagic.cent.jar
Normal file
BIN
tools/cents/automagic.cent.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user