Update of Krysalis Centipede build system to version 1.0-dev

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352321 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nicola Ken Barozzi 2002-04-04 14:43:45 +00:00
parent e9fbe2355c
commit d971ae551c
19 changed files with 257 additions and 216 deletions

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Thu Apr 04 08:58:43 CEST 2002
build.number=85
#Thu Apr 04 16:21:43 CEST 2002
build.number=140

142
build.xml
View File

@ -93,22 +93,110 @@ printed.
<!-- Basic build targets for the project -->
<!-- =================================================================== -->
<!-- ================================== -->
<!-- Interactive -->
<!-- ================================== -->
<!-- =================================================================== -->
<!-- Interactive build -->
<!-- =================================================================== -->
<target name="interactive" description="Interactive Build" depends="-init">
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" ${xgump.module.project.name} ${xgump.module.project.version.major}.${xgump.module.project.version.minor} [${YEAR}] "/>
<echo message=" "/>
<echo message="--------------------------------------------------------------"/>
<echo message="Building with ${ant.version}"/>
<echo message="using build file ${ant.file}"/>
<echo message="--------------------------------------------------------------"/>
<echo message=" These are the most common build targets."/>
<echo message=" You can also invoke them directly; see build.xml for more info. "/>
<echo message=" Builds will be in /build directory, distributions in /dist."/>
<echo message=" "/>
<echo message=" compile ---------- compiles the source code "/>
<echo message=" docs ------------- generates the html docs"/>
<echo message=" cleandocs -------- cleans the build docs directory"/>
<echo message=" javadocs --------- generates the API documentation"/>
<echo message=" test ------------- performs the jUnit tests"/>
<echo message=" clean ------------ cleans the build directory"/>
<echo message=" dist ------------- creates src and bin distributions"/>
<echo message=" scratchpad ------- build-run scratchpad code"/>
<echo message=" contrib ---------- build-run contributed code"/>
<echo message=" generate-records - generate excel records"/>
<echo message=" generate-types --- generate word types"/>
<target name="interactive" depends="-init"
description="Interactive target">
<property name="input.selection" value="compile"/>
<centipede-user-input name="input.selection">Please select a target </centipede-user-input>
<pathconvert pathsep="," property="antipede.gif.url">
<path>
<filelist dir="./tools/antipede/resources/images" files="antipede.gif"/>
</path>
</pathconvert>
<splash imageurl="file:/${antipede.gif.url}" showduration="100"/>
<antcall target="${input.selection}"/>
</target>
<!-- =================================================================== -->
<!-- Interactive scratchpad builds -->
<!-- =================================================================== -->
<target name="scratchpad" depends="-init" description="Interactive Scratchpad Build">
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" ${xgump.module.project.name} ${xgump.module.project.version.major}.${xgump.module.project.version.minor} SCRATCHPAD "/>
<echo message=" "/>
<echo message="--------------------------------------------------------------"/>
<echo message="Building with ${ant.version}"/>
<echo message="using build file ${ant.file}"/>
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" These are SCRATCHPAD BUILDS. They are not guaranteed to work."/>
<echo message=" You have been warned. "/>
<echo message=" "/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" "/>
<property name="input.selection" value=""/>
<centipede-user-input name="input.selection">Please select a target </centipede-user-input>
<ant antfile="${xlayout.source.scratchpad.targets.dir}/${input.selection}/xbuild.xml"/>
</target>
<!-- =================================================================== -->
<!-- Interactive contrib builds -->
<!-- =================================================================== -->
<target name="contrib" depends="-init" description="Interactive Contributors' Build">
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" ${xgump.module.project.name} ${xgump.module.project.version.major}.${xgump.module.project.version.minor} CONTRIB"/>
<echo message=" "/>
<echo message="--------------------------------------------------------------"/>
<echo message="Building with ${ant.version}"/>
<echo message="using build file ${ant.file}"/>
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" These are CONTRIB BUILDS. They are not guaranteed to work."/>
<echo message=" You have been warned. "/>
<echo message=" "/>
<echo message=" poibrowser - POIBrowser 0.10 GUI POI Viewer"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" "/>
<property name="input.selection" value="poibrowser"/>
<centipede-user-input name="input.selection">Please select a target </centipede-user-input>
<ant antfile="${xlayout.source.contributions.targets.dir}/${input.selection}/xbuild.xml"/>
</target>
<splash/>
<antcall target="call-cent">
<param name="cent-name" value="centipede"/>
<param name="cent-target" value="compile"/>
</antcall>
</target>
<!-- ================================== -->
<!-- Compile -->
<!-- ================================== -->
@ -212,12 +300,36 @@ printed.
</target>
<!-- ================================== -->
<!-- Generate records -->
<!-- ================================== -->
<target name="generate-records" depends="-init"
description="generate-records">
<ant antfile="${xlayout.source.targets.dir}/record-generation/xbuild.xml"
target="generate-records"/>
</target>
<!-- ================================== -->
<!-- Generate types -->
<!-- ================================== -->
<target name="generate-types" depends="-init"
description="generate-types">
<ant antfile="${xlayout.source.targets.dir}/record-generation/xbuild.xml"
target="generate-types"/>
</target>
<!-- ================================== -->
<!-- Test the main module stuff -->
<!-- ================================== -->
<target name="test-module"
depends="clean, compile, test, jar, docs"
<target name="testmodule"
depends="clean, compile, test, jar, docs, javadocs"
description="Testing that all major targets work; useful before a commit"/>

View File

@ -7,6 +7,7 @@
<optional dir="./lib/optional"/>
</library>
<source dir="./src">
<targets dir="./src/targets"/>
<java dir="./src/java"/>
<test dir="./src/testcases"/>
<documentation dir="./src/documentation">
@ -18,14 +19,17 @@
</resources>
</documentation>
<scratchpad dir="./src/scratchpad">
<targets dir="./src/scratchpad/targets"/>
<java dir="./src/scratchpad/src"/>
<library dir="./src/scratchpad/lib"/>
</scratchpad>
<contributions dir="./src/contrib">
<targets dir="./src/contrib/targets"/>
<java dir="./src/contrib/src"/>
<library dir="./src/contrib/lib"/>
</contributions>
<examples dir="./src/examples">
<targets dir="./src/examples/targets"/>
<java dir="./src/examples/src"/>
<library dir="./src/examples/lib"/>
</examples>

View File

@ -5,19 +5,6 @@
<url href="http://jakarta.apache.org/poi/"/>
<info>
<link id="status" href="status.xml">
Status </link>
<link id="properties" href="properties.xml">
properties </link>
<link id="layout" href="layout.xml">
layout </link>
<link id="build" href="build.xml">
Build </link>
<link id="log" href="log.xml">
log </link>
</info>
<cvs repository="jakarta"/>
<mailing-lists>

View File

@ -1,30 +0,0 @@
<!-- =================================================================== -->
<!-- Interactive contrib builds -->
<!-- =================================================================== -->
<target name="contrib" depends="init" description="Interactive Contributors' Build">
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" ${fullname} ${version} CONTRIB"/>
<echo message=" "/>
<echo message="--------------------------------------------------------------"/>
<echo message="Building with ${ant.version}"/>
<echo message="using build file ${ant.file}"/>
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" These are CONTRIB BUILDS. They are not guaranteed to work."/>
<echo message=" You have been warned. "/>
<echo message=" "/>
<echo message=" poibrowser - POIBrowser 0.10 GUI POI Viewer"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" -"/>
<echo message=" "/>
<property name="input.selection" value="poibrowser"/>
<user-input name="input.selection">Please select a target </user-input>
<ant antfile="src/contrib/targets/${input.selection}.xml"/>
</target>

View File

@ -1,28 +0,0 @@
<!-- try.xml ... these are trial build targets which are currently
undergoing testing. When ready they can be moved into the main build.xml -->
<project default="poibrowser" basedir="../../" name="POIBrowser build">
<property name="build.root" value="build"/>
<!-- =================================================================== -->
<!-- GUI Run Target -->
<!-- =================================================================== -->
<target name="poibrowser">
<property name="contrib.input.selection" value=""/>
<user-input name="contrib.input.selection">Please select a file to view </user-input>
<java classname="org.apache.poi.contrib.poibrowser.POIBrowser" fork="true">
<arg value="${contrib.input.selection}"/>
<classpath>
<pathelement location="${build.root}/jakarta-poi/classes"/>
<pathelement location="${build.root}/jakarta-poi/contrib/classes"/>
</classpath>
</java>
</target>
</project>
<!-- End of file -->

View File

@ -0,0 +1,36 @@
<project default="poibrowser" basedir="../../" name="POIBrowser build">
<property name="build.root" value="build"/>
<!-- =================================================================== -->
<!-- GUI Run Target -->
<!-- =================================================================== -->
<target name="poibrowser">
<property name="contrib.input.selection" value=""/>
<centipede-user-input name="contrib.input.selection">Please select a file to view </centipede-user-input>
<java classname="org.apache.poi.contrib.poibrowser.POIBrowser" fork="true">
<arg value="${contrib.input.selection}"/>
<classpath>
<pathelement path="${xlayout.build.contributions.classes.dir}"/>
<path>
<fileset dir="${xlayout.library.dir}" casesensitive="yes">
<patternset>
<include name="*/*.jar"/>
<include name="*/*.zip"/>
</patternset>
</fileset>
<fileset dir="${xlayout.source.contributions.library.dir}" casesensitive="yes">
<patternset>
<include name="*.jar"/>
<include name="*.zip"/>
</patternset>
</fileset>
</path>
</classpath>
</java>
</target>
</project>

View File

@ -1 +0,0 @@
Manifest-Version: 1.0

View File

@ -0,0 +1 @@
Dummy file so this directory is not deleted by CVS. It's required for the build.

View File

@ -1,62 +0,0 @@
<!-- =================================================================== -->
<!-- Interactive scratchpad builds -->
<!-- =================================================================== -->
<target name="scratchpad" depends="prepare" description="Interactive Scratchpad Build">
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" ${fullname} ${version} SCRATCHPAD "/>
<echo message=" "/>
<echo message="--------------------------------------------------------------"/>
<echo message="Building with ${ant.version}"/>
<echo message="using build file ${ant.file}"/>
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" These are SCRATCHPAD BUILDS. They are not guaranteed to work."/>
<echo message=" You have been warned. "/>
<echo message=" "/>
<echo message=" generate-records - add description here"/>
<echo message=" generate-types - add description here"/>
<echo message=" --------------"/>
<echo message=" --------------"/>
<echo message=" --------------"/>
<echo message=" --------------"/>
<echo message=" "/>
<property name="input.selection" value=""/>
<user-input name="input.selection">Please select a target </user-input>
<antcall target="${input.selection}"/>
</target>
<target name="generate-records" depends="prepare"
description="Generates the record source code">
<java classname="org.apache.poi.dev.RecordGenerator" fork="yes">
<arg value="src/records/definitions"/>
<arg value="src/records/styles"/>
<arg value="src/java"/>
<arg value="src/testcases"/>
<classpath>
<path refid="scratchpad.classpath"/>
<pathelement location="${build.scratchpad.dest}"/>
</classpath>
</java>
</target>
<target name="generate-types" depends="prepare"
description="Generates the record source code">
<java classname="org.apache.poi.dev.RecordGenerator" fork="yes">
<arg value="src/types/definitions"/>
<arg value="src/types/styles"/>
<arg value="src/scratchpad/src"/>
<arg value="src/scratchpad/testcases"/>
<classpath>
<path refid="scratchpad.classpath"/>
<pathelement location="${build.scratchpad.dest}"/>
</classpath>
</java>
</target>

View File

@ -1,34 +0,0 @@
<!-- =================================================================== -->
<!-- Interactive build -->
<!-- =================================================================== -->
<target name="interactive" description="Interactive Build" depends="init">
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" ${fullname} ${version} [${year}] "/>
<echo message=" "/>
<echo message="--------------------------------------------------------------"/>
<echo message="Building with ${ant.version}"/>
<echo message="using build file ${ant.file}"/>
<echo message="--------------------------------------------------------------"/>
<echo message=" These are the most common build targets."/>
<echo message=" You can also invoke them directly; see build.xml for more info. "/>
<echo message=" Builds will be in /build directory, distributions in /dist."/>
<echo message=" "/>
<echo message=" compile ---------- compiles the source code "/>
<echo message=" docs ------------- generates the html docs"/>
<echo message=" cleandocs -------- cleans the build docs directory"/>
<echo message=" javadocs --------- generates the API documentation"/>
<echo message=" test ------------- performs the jUnit tests"/>
<echo message=" clean ------------ cleans the build directory"/>
<echo message=" dist ------------- creates src and bin distributions"/>
<echo message=" scratchpad ------- build-run scratchpad code"/>
<echo message=" contrib ---------- build-run contributed code"/>
<echo message=" generate-records - generate excel records"/>
<echo message=" generate-types --- generate word types"/>
<property name="input.selection" value="compile"/>
<user-input name="input.selection">Please select a target </user-input>
<antcall target="${input.selection}"/>
</target>

View File

@ -1,10 +0,0 @@
<!-- =================================================================== -->
<!-- Extra targets for this project -->
<!-- =================================================================== -->
<!--
<target name="ABC" description="Abc" depends="init">
</target>
-->

View File

@ -0,0 +1,60 @@
<project default="generate-records" basedir="../../" name="Record Generation build">
<target name="generate-records"
description="Generates the record source code">
<java classname="org.apache.poi.dev.RecordGenerator" fork="yes">
<arg value="src/records/definitions"/>
<arg value="src/records/styles"/>
<arg value="src/java"/>
<arg value="src/testcases"/>
<classpath>
<path>
<pathelement path="${xlayout.build.classes.dir}"/>
<fileset dir="${xlayout.library.dir}" casesensitive="yes">
<patternset>
<include name="*/*.jar"/>
<include name="*/*.zip"/>
</patternset>
</fileset>
<fileset dir="${xlayout.source.scratchpad.library.dir}" casesensitive="yes">
<patternset>
<include name="*.jar"/>
<include name="*.zip"/>
</patternset>
</fileset>
</path>
</classpath>
</java>
</target>
<target name="generate-types"
description="Generates the record source code">
<java classname="org.apache.poi.dev.RecordGenerator" fork="yes">
<arg value="src/types/definitions"/>
<arg value="src/types/styles"/>
<arg value="src/scratchpad/src"/>
<arg value="src/scratchpad/testcases"/>
<classpath>
<pathelement path="${xlayout.build.classes.dir}"/>
<path>
<fileset dir="${xlayout.library.dir}" casesensitive="yes">
<patternset>
<include name="*/*.jar"/>
<include name="*/*.zip"/>
</patternset>
</fileset>
<fileset dir="${xlayout.source.scratchpad.library.dir}" casesensitive="yes">
<patternset>
<include name="*.jar"/>
<include name="*.zip"/>
</patternset>
</fileset>
</path>
</classpath>
</java>
</target>
</project>

View File

@ -1,15 +0,0 @@
<!-- try.xml ... these are trial build targets which are currently
undergoing testing. When ready they can be moved into the main build.xml -->
<project default="trial-init" basedir="." name="Trial builds">
<!-- =================================================================== -->
<!-- Initialization target -->
<!-- =================================================================== -->
<target name="trial-init">
</target>
</project>
<!-- End of file -->

View File

@ -2,6 +2,21 @@
<?xml-stylesheet type="text/xsl" href="tools/antipede/resources/stylesheets/status.xsl"?>
<status>
<descriptors>
<descriptor id="status" href="status.xml">
Status </descriptor>
<descriptor id="module" href="module.xml">
Module </descriptor>
<descriptor id="properties" href="properties.xml">
Properties </descriptor>
<descriptor id="layout" href="layout.xml">
Layout </descriptor>
<descriptor id="build" href="build.xml">
Build </descriptor>
<descriptor id="log" href="log.xml">
Log </descriptor>
</descriptors>
<developers>
<!-- in strict alphabetical order -->
<person name="Andrew C. Oliver" id="acoliver" email="acoliver@apache.org"/>

View File

@ -49,7 +49,9 @@
</patternset>
</fileset>
</antipede-foreach>
<delete dir="${cents.dir}/META-INF"/>
<mkdir dir="${temp.dir}"/>
<delete file="${temp.dir}/${task.properties.name}"/>
@ -96,4 +98,4 @@
inheritAll="true"
dir="."
target="${cent-target}" />
</target>
</target>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -15,10 +15,6 @@
<xsl:value-of select="module/url/@href" />
</xsl:attribute><xsl:value-of select="module/url/@href" /></a>
<br/>cvs repository: <xsl:value-of select="module/cvs/@repository" />
<xsl:for-each select = "module/info/link">
<br/><xsl:value-of select="@id" />: <a><xsl:attribute name = "href" ><xsl:value-of select="@href" /></xsl:attribute>
<xsl:value-of select="." /></a>
</xsl:for-each>
<xsl:for-each select = "module/mailing-lists/mailing-list">
<br/><xsl:value-of select="@user" />&#160;mailing list:&#160;
<a><xsl:attribute name = "href" >mailto:<xsl:value-of select="@mail" /></xsl:attribute>

View File

@ -3,6 +3,14 @@
<xsl:output method = "html" encoding="Windows-1252" />
<xsl:template match="status">
<h1>Project Status</h1>
<h2>Descriptors</h2>
<xsl:for-each select = "descriptors/descriptor">
<br/><xsl:value-of select="@id" />: <a><xsl:attribute name = "href" ><xsl:value-of select="@href" /></xsl:attribute>
<xsl:value-of select="." /></a>
</xsl:for-each>
<h2>Developers</h2>
<table>
<xsl:for-each select = "developers/person">