Subject: Simple Buildfile -- mkdir.xml
Author: ant
In response to: Check Installation
Posted on: 04/19/2010 03:43:31 PM
<project name="MyProject" default="init" basedir="."> 
  <description>
	simple example to create a directory
	</description>
  <!-- set global properties -->
  <property name="dist"  location="newSubDir"/>
  <target name="init">
    <!-- Create the directory  -->
    <mkdir dir="${dist}"/>
  </target>
</project>
 
> 
> On 04/19/2010 03:42:16 PM 
ant wrote:
You can check the basic installation with opening a new shell and typing ant. You should get a message like this 
C:\ant
Buildfile: build.xml does not exist!
Build failed
So Ant works. This message is there because you need to write an individual buildfile for your project. With a ant -version you should get an output like
C:\ant -version
Apache Ant version 1.8.0 compiled on February 1 2010
References: