From 9654a037cd812f3b68f44535c4fc3bf206004b91 Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Thu, 15 Mar 2012 14:57:04 -0400 Subject: [PATCH] I seem to fail at remote debugging hudson nodes if I cannot replicate locally. --- project/packaging.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/packaging.scala b/project/packaging.scala index ecadddfad..d1f6e1fa5 100644 --- a/project/packaging.scala +++ b/project/packaging.scala @@ -24,7 +24,7 @@ object Packaging { import dispatch._ if(!file.exists) { // oddly, some places require us to create the file before writing... - file.createNewFile() + IO.touch(file) val writer = new java.io.BufferedOutputStream(new java.io.FileOutputStream(file)) try Http(url(uri) >>> writer) finally writer.close() @@ -38,7 +38,7 @@ object Packaging { import dispatch._ if(!file.exists) { // oddly, some places require us to create the file before writing... - file.createNewFile() + IO.touch(file) val writer = new java.io.BufferedOutputStream(new java.io.FileOutputStream(file)) try Http(url(uri) >>> writer) finally writer.close()