summaryrefslogtreecommitdiffstats
path: root/src/targets
diff options
context:
space:
mode:
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 -->