Jump to: navigation, search


544 bytes removed, 12:21, 15 October 2010
CI System Project Related
::4- Available tasks and the instruction of using them can be found in this [ documentation].
==CI System Project RelatedTips==
:In Cygwin in the ''build'' folder. Just typing <code>ant</code>, will build the default target of the project. But typing <code>ant assign1.test</code> for example, will start from mentioned target.
:Also, option -f will build any files that's not named ''build.xml'' e.g. <code>ant -f buildHudson.xml</code>
:We can create a new ant script e.g. ''buildHudson.xml'' that triggers the target(assign1.test) of main build file(build.xml) of the project. See below:
<source lang=java>
<project name="assign1" basedir="." default="myTarget">
<target name="">
<!-- Call the target that does everything -->
<ant antfile="build.xml" target="assign1.test"/>
<target name="myTarget.check" depends="">
<echo>The was called!</echo>

Navigation menu