Creating Directory using Ant build

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rsrinivasan
    New Member
    • Mar 2007
    • 221

    Creating Directory using Ant build

    Hi all,

    I want to create directory with current timestamp by using ant build file. And im using ant 1.7.

    This is my ant build code.

    Code:
    <target name="createDir">
      <mkdir dir="myfolder"/>
    </target>
    I want the folder name like this "myfolder03-13-208".

    How can i do it?

    Thanks,
Working...