Sorry, my mail was incomple because it really did not specify what my actual problem was.
Actual problem is : After compilation is failed build doest not stop and continue to execute next target. Thanks. -----Original Message----- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Saturday, August 25, 2007 5:36 PM To: 'user@ant.apache.org' Subject: Failonerror attribute of Delete and Javac task Hi All, My product build scripts are spanned across serveral build scripts. At times, while deleting the temp folder, I use the following : <target name="clean.temp"> <delete failonerror="false" includeemptydirs="true"> <fileset dir="${build.temp}"> <include name="**/*" /> </fileset> </delete> <delete dir="${build.temp}" /> </target> Please note above in the target that I am using failonerror="false", which I use because if somehow ${build.temp} does not exist, it should not come up with error message that build failed as a result folder ${build.temp} does not exist. Does this "failonerror" have any side effect on javac tasks' failonerror attribute ? Which means that at first "failonerror" is set to "false" while deleting the ${build.temp} and when compilation happens I set "failonerror" to "true" intentionally because if there is compilation problems then it should not continue build and it Ant should fail doing the build. I would appreciate any pointers. Regards, Ravi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]