2002-02-14 21:11:36 -05:00
|
|
|
<!-- =================================================================== -->
|
|
|
|
<!-- 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=" "/>
|
2002-03-03 19:05:33 -05:00
|
|
|
<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=" contrib ----------- build-run contributed components"/>
|
|
|
|
<echo message=" generate-records -- generate records from xml"/>
|
|
|
|
<taskdef name="user-input" classname="UserInput"
|
2002-02-14 21:11:36 -05:00
|
|
|
classpath="./tools/anttasks"/>
|
|
|
|
|
|
|
|
<property name="input.selection" value="compile"/>
|
|
|
|
<user-input name="input.selection">Please select a target </user-input>
|
|
|
|
|
|
|
|
<antcall target="${input.selection}"/>
|
|
|
|
|
|
|
|
</target>
|