Open main menu

CDOT Wiki β

Changes

User:Minooz/RepoSyncProj/Ant

2 bytes removed, 14:30, 14 October 2010
Tutorials
<echo>Files foo.txt and bar.txt are present.</echo>
</target>
 
<target name="myTarget.check">
</target>
</source>
 
 
:A project can have a set of properties
:A ''property'' has a name and a value; the name is case-sensitive. Properties may be used in the value of task attributes. This is done by placing the property name between "${" and "}" in the attribute value. Example:
::This could be used in an attribute like this: ${builddir}/classes
::This is resolved at run-time as c:/test/classes
 
==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.
1
edit