Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Simple Ant Example – clean, prepare, and compile tasks

ant-clean-prepare-and-compile-tasks

Sample Ant clean, prepare, and compile tasks <target name=”clean”> <echo>=== CLEAN ===</echo> <delete failonerror=”false”> <fileset dir=”${dest.dir}” includes=”**/*”/> </delete> <delete dir=”${temp.dir}” /> </target> <target name=”prepare” depends=”clean”> <echo>=== PREPARE ===</echo> <mkdir dir=”${dest.dir}” /> <mkdir dir=”${temp.dir}” /> <mkdir dir=”${temp.dir.lib}” /> <mkdir dir=”${temp.dir.meta-inf}” /> <mkdir dir=”${temp.dir.web-inf}” /> <mkdir dir=”${temp.dir.classes}” /> </target> <target name=”compile” depends=”prepare”> <echo>=== COMPILE ===</echo> <echo>Compiling ${src.dir} … Read more

Issues Compiling VS2010 solutions (with web projects) from Nant | MSB4064 error

vs2010-compiling-issues

Recently I upgraded a project of mine (the Dimecasts code base) to use VisualStudio 2010.  In the process everything worked just fine from the IDE, but when I tried to compile it from the command line I would get the following errors: Error MSB4064: The “Retries” parameter is not supported by the “Copy” task. Error … Read more