Note that there are some explanatory texts on larger screens.

plurals
  1. POAnt mkdir failed
    primarykey
    data
    text
    <p>i'm new to ant. Please highlight which goes wrong in my build.xml. Any help is appreciated. Thanks.</p> <p>Problem: The folders i wanted to make kept created on the upper level of current directory.</p> <ul> <li>ant version: 1.8.0 </li> <li>platform: LinuxMint 10.10</li> <li>java version "1.6.0_20"</li> <li>OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.10.2)</li> <li>OpenJDK Server VM (build 19.0-b09, mixed mode)</li> </ul> <p>build.xml:</p> <pre><code>&lt;property name="prj.root" value="." /&gt; &lt;property name="build.dir" value="${prj.root}/build"/&gt; &lt;property name="build.docs" value="${build.dir}/docs"/&gt; &lt;property name="build.models" value="${build.dir}/models"/&gt; &lt;property name="build.projects" value="${build.dir}/projects"/&gt; &lt;property name="dist.dir" value="${prj.root}/dist"/&gt; &lt;target name="clean"&gt; &lt;delete dir="${build.dir}" /&gt; &lt;delete dir="${dist.dir}" /&gt; &lt;/target&gt; &lt;target name="init" depends="clean" description="initialization target"&gt; &lt;echo message="&gt;&gt; Build JAS ${jas.version} at ${prj.root}"/&gt; &lt;echo message="build.dir = ${build.dir}" /&gt; &lt;mkdir dir="${build.dir}"/&gt; &lt;mkdir dir="${build.docs}" /&gt; &lt;mkdir dir="${build.models}" /&gt; &lt;mkdir dir="${build.projects}" /&gt; &lt;mkdir dir="${dist.dir}"/&gt; &lt;/target&gt; </code></pre> <p>Execution + Output:</p> <pre><code>yamhon@yamhon-g410 ~/projects/JAS $ ant init Buildfile: /home/yamhon/projects/JAS/build.xml clean: [delete] Deleting directory /home/yamhon/projects/build [delete] Deleting directory /home/yamhon/projects/dist init: [echo] &gt;&gt; Build JAS ${jas.version} at . [echo] build.dir = ./build [mkdir] Created dir: /home/yamhon/projects/build [mkdir] Created dir: /home/yamhon/projects/build/docs [mkdir] Created dir: /home/yamhon/projects/build/models [mkdir] Created dir: /home/yamhon/projects/build/projects [mkdir] Created dir: /home/yamhon/projects/dist BUILD SUCCESSFUL Total time: 0 seconds yamhon@yamhon-g410 ~/projects/JAS $ </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload