iota-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonyfaust...@apache.org
Subject [5/9] incubator-iota git commit: Location should not include jarName
Date Thu, 14 Jul 2016 19:54:34 GMT
Location should not include jarName


Project: http://git-wip-us.apache.org/repos/asf/incubator-iota/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-iota/commit/47dac9df
Tree: http://git-wip-us.apache.org/repos/asf/incubator-iota/tree/47dac9df
Diff: http://git-wip-us.apache.org/repos/asf/incubator-iota/diff/47dac9df

Branch: refs/heads/master
Commit: 47dac9df4928fcefbef69311bb171798be21cc08
Parents: 6fbba63
Author: Barbara Gomes <barbaramaltagomes@gmail.com>
Authored: Thu Jul 14 09:43:11 2016 -0700
Committer: Barbara Gomes <barbaramaltagomes@gmail.com>
Committed: Thu Jul 14 09:43:11 2016 -0700

----------------------------------------------------------------------
 fey-core/src/main/scala/org/apache/iota/fey/JsonReceiver.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/47dac9df/fey-core/src/main/scala/org/apache/iota/fey/JsonReceiver.scala
----------------------------------------------------------------------
diff --git a/fey-core/src/main/scala/org/apache/iota/fey/JsonReceiver.scala b/fey-core/src/main/scala/org/apache/iota/fey/JsonReceiver.scala
index cc14a81..306dd37 100644
--- a/fey-core/src/main/scala/org/apache/iota/fey/JsonReceiver.scala
+++ b/fey-core/src/main/scala/org/apache/iota/fey/JsonReceiver.scala
@@ -117,7 +117,7 @@ trait JsonReceiver extends Runnable{
   private final def downloadJAR(url: String, jarName: String): Unit = {
     var outputStream: FileOutputStream = null
     try{
-      val extractedURL = extractCredentials(url)
+      val extractedURL = extractCredentials(s"$url/$jarName")
       log.info(s"Downloading $jarName from ${extractedURL._1}")
 
       val connection = new URL(extractedURL._1).openConnection


Mime
View raw message