Thanks everybody, Mohammad
On 10/8/07, Vijay Aravamudhan <[EMAIL PROTECTED]> wrote: > > Your target for compile is incorrect. It should read: > > <target name="compile" depends="clean, init, copy-resources"> > <javac srcdir="${sourcedir}" destdir="${targetdir}" > classpathref="libraries"/> > </target> > > You are missing " in two places. > > hth, > Vijay > > > Mohammad Khan wrote: > > 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 > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Proper planning prevents poor performance." - Anonymous