From eae2d019cf6f9b5b359a3bbc0b0066f490464f44 Mon Sep 17 00:00:00 2001 From: David Roazen Date: Fri, 2 Nov 2012 19:01:59 -0400 Subject: [PATCH] Refuse to package the GATK from a non-clean working directory Packaging from a non-clean working directory can result in an incorrect jar. Now that we have external collaborators packaging and distributing the GATK, not enforcing the clean requirement has become far too dangerous. At the same time, invoking "clean" automatically through a direct dependency would also be dangerous -- instead, it's better to error out if a packaging target is invoked from a non-clean working dir. --- build.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index c6b1afc56..aa5792419 100644 --- a/build.xml +++ b/build.xml @@ -891,7 +891,7 @@ - + @@ -1011,6 +1011,24 @@ + + + + + + + + + + + + + + + + + +