My build.xml worked in a the previous version of ant but in version 1.2 I
get:

prepare:
    [mkdir] Created dir: C:\dev\theproject\${build}
    [mkdir] Created dir: C:\dev\theproject\${dist}


build and dist are properties set in the init target.

<target name="init">
      <property name="build"            value="build" />
      <property name="dist"             value="dist" />
</target>

the prepare target looks like:

<target name="prepare">
        <mkdir dir="${build}"/>
        <mkdir dir="${dist}"/>
</target>


I'm amazed this doesn't work, you must get this question all the time.

David

Reply via email to