mirror of https://github.com/sbt/sbt.git
I seem to fail at remote debugging hudson nodes if I cannot replicate locally.
This commit is contained in:
parent
d4894c660d
commit
9654a037cd
|
|
@ -24,7 +24,7 @@ object Packaging {
|
||||||
import dispatch._
|
import dispatch._
|
||||||
if(!file.exists) {
|
if(!file.exists) {
|
||||||
// oddly, some places require us to create the file before writing...
|
// 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))
|
val writer = new java.io.BufferedOutputStream(new java.io.FileOutputStream(file))
|
||||||
try Http(url(uri) >>> writer)
|
try Http(url(uri) >>> writer)
|
||||||
finally writer.close()
|
finally writer.close()
|
||||||
|
|
@ -38,7 +38,7 @@ object Packaging {
|
||||||
import dispatch._
|
import dispatch._
|
||||||
if(!file.exists) {
|
if(!file.exists) {
|
||||||
// oddly, some places require us to create the file before writing...
|
// 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))
|
val writer = new java.io.BufferedOutputStream(new java.io.FileOutputStream(file))
|
||||||
try Http(url(uri) >>> writer)
|
try Http(url(uri) >>> writer)
|
||||||
finally writer.close()
|
finally writer.close()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue