Cruise / Ant : Could not find log.xml

We just ran into this problem trying to configure ant to run in a different working directory using cruise.

Our original snippet looked like this:


We then added antWorkingDir="${build.dir}" to the ant target, which failed with a dodgy message like “could not find log.xml”. This was because we no longer needed the ${build.dir} when speciying the buildfile. The error was actually hidden up above in the log and was really saying “could not find build.xml”.

working code: