I seem to fail at remote debugging hudson nodes if I cannot replicate locally.

This commit is contained in:
Josh Suereth 2012-03-15 14:57:04 -04:00
parent d4894c660d
commit 9654a037cd
1 changed files with 2 additions and 2 deletions

View File

@ -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()