123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- <?xml version="1.0"?>
-
- <project default="interactive" basedir="." name="project build file">
-
- <description>
- * ===================================== *
- | Krysalis Centipede Build System |
- * ===================================== *
- by
-
- Nicola Ken Barozzi (nicolaken@apache.org)
- Marc Johnson (mjohnson@apache.org)
-
-
- For a simple interactive build, simply
- run the build script (build.bar or build.sh)
- </description>
-
- <import file="${ant.home}/src/core/xbuild.xml"/>
- <taskdef file="${ant.home}/src/core/tasks.properties"/>
-
- <importcent name="java" />
- <importcent name="junit" />
-
- <!-- commenting these out till the base build works on Gump
- <importcent name="checkstyle" />
- <importcent name="forrest" />
- <importcent name="changelog" />
- <importcent name="changelog" />
- -->
-
-
- <!-- =================================================================== -->
- <!-- Basic build targets for the project -->
- <!-- =================================================================== -->
-
- <!-- =================================================================== -->
- <!-- Interactive build -->
- <!-- =================================================================== -->
- <target name="interactive" description="Interactive Build">
- <echo>
- --------------------------------------------------------------
-
- ${jxpath:/references/module.xml/root/module/project[1]/@name} [${YEAR}]
-
- --------------------------------------------------------------
- Using ${ant.version}
- Build file ${ant.file}
- --------------------------------------------------------------
- These are the most common build targets.
- You can also invoke them directly; see build.xml for more info.
- Builds will be in /build directory, distributions in /dist.
-
- all -------------- creates the jars and the site
- compile ---------- compiles the source code
- test ------------- performs the jUnit tests
- jar -------------- create the jar files
- docs ------------- generates the html docs - clean not needed
- javadocs --------- generates the API documentation
- site ------------- generates the html site (docs+reports)
- clean ------------ cleans the build directory
- dist ------------- creates src and bin distributions
- scratchpad ------- build-run scratchpad code
- contrib ---------- build-run contributed code
- generate-records - generate excel records
- generate-types --- generate word types
- poibrowser - POIBrowser 0.10 GUI POI Viewer
- sheetviewer - SheetViewer 0.20 GUI Applet/Application Viewer for XLS files
-
- </echo>
-
- <input message="Please select a target "
- addproperty="input.selection"/>
-
- <condition property="do.abort">
- <equals arg1="" arg2="input.selection" />
- </condition>
-
- <fail if="do.abort">Build aborted by user.</fail>
-
- <antrun target="splash"/>
- <antrun target="${input.selection}"/>
-
- </target>
-
-
-
- <!-- ================================== -->
- <!-- Generate records -->
- <!-- ================================== -->
-
- <target name="generate-records"
- description="generate-records">
-
- <ant antfile="${project.src.dir}/targets/record-generation/xbuild.xml"
- target="generate-records"/>
-
- </target>
-
- <!-- ================================== -->
- <!-- Generate types -->
- <!-- ================================== -->
-
- <target name="generate-types"
- description="generate-types">
-
- <ant antfile="${project.src.dir}/targets/record-generation/xbuild.xml"
- target="generate-types"/>
-
- </target>
-
-
- <!-- ================================== -->
- <!-- Target used by Gump -->
- <!-- ================================== -->
-
- <target name="gump"
- depends="compile, package, test"
- description="Target used by Gump"/>
-
- <!-- ================================== -->
- <!-- Generate all -->
- <!-- ================================== -->
-
- <target name="all"
- depends="package"
- description="Generate all"/>
-
-
-
- </project>
|