Note that there are some explanatory texts on larger screens.

plurals
  1. POisDirectory returns false for ant task on a folder under svn
    primarykey
    data
    text
    <p>Hello i'm running an ant task through eclipse that generates some code but the error i'm getting is on the arguments checking</p> <pre><code>build/classes is not a readable directory </code></pre> <p>relevant code is:</p> <pre><code>if (!destDirectory.isDirectory()) { error(destDirectory.toString() + " is not a readable directory"); } </code></pre> <p>I'm doing this under Windows 7 and the folder is under svn and a shared folder to CentOS with VirtualBox. The directory is created by another ant task that just does <code>mkdir</code>.</p> <p>i'm running has user but with UAC off and has far i can tell there shouldn't be any problems with permissions.</p> <p>EDIT:</p> <p>some parts of the ant file:</p> <pre><code>&lt;project name="xpto" default="compile" basedir="."&gt; &lt;target name="prepare"&gt; &lt;echo message="Preparing the project for build..."/&gt; &lt;mkdir dir="${classes.build.rel-dir}"/&gt; &lt;mkdir dir="${db.rel-dir}"/&gt; &lt;mkdir dir="${build.rel-dir}" /&gt; &lt;mkdir dir="${dist.dir}" /&gt; &lt;/target&gt; &lt;property name="src.rel-dir" value="src"/&gt; &lt;property name="build.rel-dir" value="build"/&gt; &lt;property name="classes.build.rel-dir" value="${build.rel-dir}/classes"/&gt; &lt;target name="instrument-classes" depends="compile"&gt; &lt;dml-post-processor dir="${classes.build.rel-dir}"&gt; &lt;fileset file="${dml.rel-file}"/&gt; &lt;classpath refid="project.classpath" /&gt; &lt;/dml-post-processor&gt; &lt;/target&gt; &lt;/project&gt; </code></pre> <p>so i think the path is correct and will use <code>./build/classes</code></p> <p>EDIT: </p> <pre><code>instrument-classes: [echo] Injecting FenixFramework Voodoo Magic... [echo] path -&gt; build/classes </code></pre> <p>the output of running <code>echo</code> on <code>${classes.build.rel-dir}</code></p>
    singulars
    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.
 

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