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
79
build.xml
79
build.xml
@ -1,16 +1,11 @@
|
||||
<?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 [
|
||||
<!-- antipede -->
|
||||
<!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">
|
||||
|
||||
@ -152,7 +147,7 @@
|
||||
description="Compile java source code">
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="centipede"/>
|
||||
<param name="cent-name" value="automagic"/>
|
||||
<param name="cent-target" value="compile"/>
|
||||
</antcall>
|
||||
|
||||
@ -167,8 +162,8 @@
|
||||
description="Compile java source code">
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="centipede"/>
|
||||
<param name="cent-target" value="package"/>
|
||||
<param name="cent-name" value="automagic"/>
|
||||
<param name="cent-target" value="jar"/>
|
||||
</antcall>
|
||||
|
||||
</target>
|
||||
@ -176,13 +171,11 @@
|
||||
<!-- ====================================== -->
|
||||
<!-- dist target wo single build checks -->
|
||||
<!-- ====================================== -->
|
||||
<!-- REALLY DIRTY HACK, ANDY REMOVED CLEAN TARGET, RE-ADD WHEN CENTIPEDE BUG -->
|
||||
<!-- is fixed!!!!!!!! -->
|
||||
<target name="dist" depends="-init, jar, test, site"
|
||||
<target name="dist" depends="-init"
|
||||
description="Build distribution packages wo single build checks">
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="centipede"/>
|
||||
<param name="cent-name" value="automagic"/>
|
||||
<param name="cent-target" value="dist"/>
|
||||
</antcall>
|
||||
|
||||
@ -197,7 +190,7 @@
|
||||
description="Compile java source code">
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="centipede"/>
|
||||
<param name="cent-name" value="automagic"/>
|
||||
<param name="cent-target" value="clean"/>
|
||||
</antcall>
|
||||
|
||||
@ -207,50 +200,27 @@
|
||||
<!-- Run Junit tests -->
|
||||
<!-- ================================== -->
|
||||
|
||||
<target name="test" depends="-init, compile"
|
||||
<target name="test" depends="-init"
|
||||
description="Compile java source code">
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="junit"/>
|
||||
<param name="cent-name" value="automagic"/>
|
||||
<param name="cent-target" value="test"/>
|
||||
</antcall>
|
||||
|
||||
</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 -->
|
||||
<!-- ================================== -->
|
||||
|
||||
<target name="metrics" depends="-init, compile"
|
||||
<target name="metrics" depends="-init"
|
||||
description="Generate project metrics">
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="jdepend"/>
|
||||
<param name="cent-target" value="jdepend-html"/>
|
||||
</antcall>
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="checkstyle"/>
|
||||
<param name="cent-target" value="check"/>
|
||||
<param name="cent-name" value="automagic"/>
|
||||
<param name="cent-target" value="metrics"/>
|
||||
</antcall>
|
||||
|
||||
</target>
|
||||
@ -264,7 +234,7 @@
|
||||
description="Compile java source code">
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="forrest"/>
|
||||
<param name="cent-name" value="automagic"/>
|
||||
<param name="cent-target" value="docs"/>
|
||||
</antcall>
|
||||
|
||||
@ -276,11 +246,14 @@
|
||||
|
||||
<target name="site"
|
||||
description="Makes all the site doco"
|
||||
depends="docs,
|
||||
test-report,
|
||||
javadocs,
|
||||
metrics"/>
|
||||
depends="-init">
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="automagic"/>
|
||||
<param name="cent-target" value="site"/>
|
||||
</antcall>
|
||||
|
||||
</target>
|
||||
|
||||
<!-- ================================== -->
|
||||
<!-- Generates the java docs -->
|
||||
@ -290,20 +263,10 @@
|
||||
description="Compile java source code">
|
||||
|
||||
<antcall target="call-cent">
|
||||
<param name="cent-name" value="umldoclet"/>
|
||||
<param name="cent-name" value="automagic"/>
|
||||
<param name="cent-target" value="javadocs"/>
|
||||
</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>
|
||||
|
||||
<!-- ================================== -->
|
||||
|
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