title: Build.xml for Mac OS
body: <p>I have a build.xml to execute junit Java files. Will the following build.xml work fine on MAC OS or do I have to make any changes should in the XML (I mean with respect to OSX should we need to change anything)?</p>
  
  <pre><code>&lt;project name="JunitTest" default="test" basedir="."&gt;
     &lt;property name="testdir" location="test" /&gt;
     &lt;property name="srcdir" location="src" /&gt;
     &lt;property name="full-compile" value="true" /&gt;
     &lt;path id="classpath.base"/&gt;
     &lt;path id="classpath.test"&gt;
        &lt;pathelement location="/lib/junit-4.10.jar"&gt;
        &lt;pathelement location="${testdir}" /&gt;
        &lt;pathelement location="${srcdir}" /&gt;
        &lt;path refid="classpath.base" /&gt;
     &lt;/path&gt;
     &lt;target name="clean" &gt;
        &lt;delete verbose="${full-compile}"&gt;
           &lt;fileset dir="${testdir}" includes="**/*.class" /&gt;
        &lt;/delete&gt;
     &lt;/target&gt;
     &lt;target name="compile" depends="clean"&gt;
        &lt;javac srcdir="${srcdir}" destdir="${testdir}" &gt;
           &lt;classpath refid="classpath.test"/&gt;
        &lt;/javac&gt;
     &lt;/target&gt;
     &lt;target name="test" depends="compile"&gt;
        &lt;junit&gt;
           &lt;classpath refid="classpath.test" /&gt;
           &lt;formatter type="brief" usefile="false" /&gt;
           &lt;test name="TestMessageUtil" /&gt;
        &lt;/junit&gt;
     &lt;/target&gt;
  &lt;/project&gt;
  </code></pre>