go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  How to use it?
 
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:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.