Changes

Jump to: navigation, search

User:Minooz/RepoSyncProj/Ant

3 bytes added, 14:49, 14 October 2010
Tips
: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 use 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_MY" basedir="." default="myTarget">
1
edit

Navigation menu