Subject: How to use it?
Author: ant
In response to: Simple Buildfile -- mkdir.xml
Posted on: 04/19/2010 03:45:01 PM
C:\temp\ant-sample>ant -f mkdir.xml
Buildfile: C:\temp\ant-sample\mkdir.xml
init:
    [mkdir] Created dir: C:\temp\ant-sample\newSubDir
BUILD SUCCESSFUL
Total time: 0 seconds
 
> 
> On 04/19/2010 03:43:31 PM 
ant wrote:
<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>
References: