summaryrefslogtreecommitdiffstats
path: root/src/targets
diff options
context:
space:
mode:
authorMark Johnson <mjohnson@apache.org>2002-03-03 22:25:28 +0000
committerMark Johnson <mjohnson@apache.org>2002-03-03 22:25:28 +0000
commitc71a1680b80cf7eeb8fdadcaef49c23288fa5567 (patch)
tree4118b76b1d6f3f6ae3f3e86478cf9b21a3263d43 /src/targets
parente2aea827adec9f0cb29fad2afb9e807fb43b4499 (diff)
downloadpoi-c71a1680b80cf7eeb8fdadcaef49c23288fa5567.tar.gz
poi-c71a1680b80cf7eeb8fdadcaef49c23288fa5567.zip
more stuff from Ken's build patch
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352143 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/targets')
-rw-r--r--src/targets/interactive.xtarget32
-rw-r--r--src/targets/project.xtarget9
-rw-r--r--src/targets/try.xml15
3 files changed, 56 insertions, 0 deletions
diff --git a/src/targets/interactive.xtarget b/src/targets/interactive.xtarget
new file mode 100644
index 0000000000..3d17e26355
--- /dev/null
+++ b/src/targets/interactive.xtarget
@@ -0,0 +1,32 @@
+ <!-- =================================================================== -->
+ <!-- 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"/>
+
+ <property name="input.selection" value="compile"/>
+ <user-input name="input.selection">Please select a target </user-input>
+
+ <antcall target="${input.selection}"/>
+
+ </target>
diff --git a/src/targets/project.xtarget b/src/targets/project.xtarget
new file mode 100644
index 0000000000..bae5fa9ec7
--- /dev/null
+++ b/src/targets/project.xtarget
@@ -0,0 +1,9 @@
+ <!-- =================================================================== -->
+ <!-- Extra targets for this project -->
+ <!-- =================================================================== -->
+
+ <!--
+ <target name="ABC" description="Abc" depends="init">
+
+ </target>
+ -->
diff --git a/src/targets/try.xml b/src/targets/try.xml
new file mode 100644
index 0000000000..695b2253c8
--- /dev/null
+++ b/src/targets/try.xml
@@ -0,0 +1,15 @@
+<!-- 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 -->