below is the part of my build.xml

   <target name="clean">
        <delete dir="${targetdir}"/>
    </target>

    <target name="init" depends="clean">
        <mkdir dir="${targetdir}"/>
    </target>

    <target name="copy-resources" depends="clean, init">
        <copy todir="${targetdir}">
            <fileset dir="${sourcedir}">
                <exclude name="**/*.java"/>
            </fileset>
        </copy>
    </target>

    <target name="compile" depends="clean, init, copy-resources">
        <javac srcdir="${sourcedir} destdir=${targetdir}"
classpathref="libraries"/>
    </target>



ant returned:

BUILD FAILED
srcdir "/home/user/project/src destdir=/home/user/project/bin" does not
exist!

I see both src and bin directory exist in my project root.
Would anybody give a light on it?

Thanks,
Mohammad


-- 
"Proper planning prevents poor performance."
- Anonymous

Reply via email to