From 7094047b3db7c45353f06ebf0c4cd916b654f922 Mon Sep 17 00:00:00 2001 From: Andrew Grieve Date: Mon, 20 Jan 2014 10:26:53 -0500 Subject: [PATCH] CB-5793 Forgot to update ant path for clean. --- bin/templates/cordova/lib/clean.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/templates/cordova/lib/clean.js b/bin/templates/cordova/lib/clean.js index 14c9b153..f86cfb8e 100644 --- a/bin/templates/cordova/lib/clean.js +++ b/bin/templates/cordova/lib/clean.js @@ -28,7 +28,8 @@ var spawn = require('./spawn'), * Returns a promise. */ module.exports.run = function() { - return spawn('ant', ['clean', '-f', path.join(ROOT, 'build.xml')]); + var args = ['clean', '-f', path.join(ROOT, 'build.xml'), '-Dout.dir=ant-build', '-Dgen.dir=ant-build/gen']; + return spawn('ant', args); } module.exports.help = function() {