From: Jim Procter Date: Fri, 4 Oct 2013 12:48:34 +0000 (+0100) Subject: JAL-1378 JWS-71 update to from-source build of JABA v2.1 client for use with JABA... X-Git-Tag: Jalview_2_9~200^2~21^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8f1d9040aa9ddac452311d6bb232f7f28f7e83e7;p=jalview.git JAL-1378 JWS-71 update to from-source build of JABA v2.1 client for use with JABA test server --- diff --git a/.classpath b/.classpath index 20610cc..c22cae5 100644 --- a/.classpath +++ b/.classpath @@ -45,7 +45,8 @@ - + + diff --git a/lib/min-jabaws-client-3.0.0.jar b/lib/min-jabaws-client-2.1.0.jar similarity index 71% rename from lib/min-jabaws-client-3.0.0.jar rename to lib/min-jabaws-client-2.1.0.jar index bfa91f0..7ad030a 100644 Binary files a/lib/min-jabaws-client-3.0.0.jar and b/lib/min-jabaws-client-2.1.0.jar differ diff --git a/src/jalview/ws/jws2/ParameterUtils.java b/src/jalview/ws/jws2/ParameterUtils.java index 16959ff..e6b9f53 100644 --- a/src/jalview/ws/jws2/ParameterUtils.java +++ b/src/jalview/ws/jws2/ParameterUtils.java @@ -17,6 +17,7 @@ */ package jalview.ws.jws2; +import java.net.MalformedURLException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; @@ -126,6 +127,7 @@ public class ParameterUtils { copy.setName(option.getName()); copy.setDescription(option.getDescription()); + copy.setBasicURL(option.getBasicURL()); copy.setFurtherDetails(option.getFurtherDetails()); copy.setRequired(option.isRequired()); List names = option.getOptionNames(); diff --git a/src/jalview/ws/jws2/dm/JabaOption.java b/src/jalview/ws/jws2/dm/JabaOption.java index 69f8f7b..7316d2f 100644 --- a/src/jalview/ws/jws2/dm/JabaOption.java +++ b/src/jalview/ws/jws2/dm/JabaOption.java @@ -20,6 +20,7 @@ package jalview.ws.jws2.dm; import jalview.ws.jws2.ParameterUtils; import jalview.ws.params.OptionI; +import java.net.MalformedURLException; import java.net.URL; import java.util.List; @@ -49,7 +50,15 @@ public class JabaOption implements jalview.ws.params.OptionI @Override public URL getFurtherDetails() { - return opt.getFurtherDetails(); + try { + return new URL(opt.getBasicURL().toExternalForm()+"/"+opt.getFurtherDetails()); + } + catch (NullPointerException q) {} + catch (MalformedURLException q) + { + + } + return null; } @Override