The Apache POI project Ant build.
project.setProperty(attributes.get("name"), attributes.get("value"));
This is POI ${version.id}
Java Version ${ant.java.version}
Timestamp ${DSTAMP}
The main targets of interest are:
- clean Erase all build work products (ie. everything in the build directory)
- compile Compile all files from main, ooxml and scratchpad
- test Run all unit tests from main, ooxml and scratchpad
- jar Produce jar files
- jar-src Produce source-jar files
- assemble Produce the zipped distribution files
- site Generate all documentation (Requires Apache Forrest)
- dist Create a distribution (Requires Apache Forrest)
var rel = ("REL_"+project.getProperty("version.id")).toUpperCase().replace(/\W/g,"_");
if (rel.search(/BETA/) == -1) rel += "_FINAL";
project.setProperty("RELEASE_TAG", rel);
org.apache.xmlbeans.XmlBeans.getContextTypeLoader()org.apache.poi.POIXMLTypeLoaderPlease install Apache Forrest (see
<https://forrest.apache.org/index.html>) and set the
FORREST_HOME environment variable!
Broken links:POI API Documentation]]>
Copyright ${tstamp.year} The Apache Software Foundation or
its licensors, as applicable.]]>
DDF - Dreadful Drawing FormatHPSF - Horrible Property Set FormatSS - Common Spreadsheet FormatHSSF - Horrible Spreadsheet FormatXSSF - Open Office XML Spreadsheet FormatSL - Common Slideshow FormatHSLF - Horrible Slideshow FormatXSLF - Open Office XML Slideshow FormatHWPF - Horrible Word Processor FormatXWPF - Open Office XML Word Processor FormatHDGF - Horrible Diagram FormatXDGF - Open Office XML Diagram FormatPOIFS - POI File SystemUtilitiesExamplesMaven POMs are located in ${dist.dir}Use ant dist-nexus to deploy the artifacts in the remote repositoryCreating Maven POMsDistribution located in ${dist.dir}Use "ant dist-checksum" to create md5/sha1 checksums and GPG signatures
Maven ant tasks not found.
Please make sure the maven-ant-tasks jar is in ANT_HOME/lib, or made
available to Ant using other mechanisms like -lib or CLASSPATH.
You can download the Maven Ant Tasks from https://maven.apache.org/ant-tasks/download.html
${rat.reportcontent}org.apache.poi@{artifactId}${version.id}${version.id}${version.id}${lastUpdated}]]>
var relCurr = new String(project.getProperty("version.id"));
var relNext = relCurr.replace(/[0-9]+$/, function(lastNum){ return new String(new Number(lastNum)+1); });
if (relNext.search(/beta/i) == -1) relNext += "-beta1";
project.setProperty("rel_next", relNext);