Merge branch 'hotfix/JAL-1521' into develop
authorJim Procter <jprocter@issues.jalview.org>
Thu, 23 Oct 2014 22:02:54 +0000 (23:02 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 23 Oct 2014 22:02:54 +0000 (23:02 +0100)
Conflicts:
.classpath
RELEASE

.classpath
lib/xercesImpl.jar
lib/xml-apis.jar
test/jalview/ws/seqfetcher/DasSequenceFetcher.java [new file with mode: 0644]

index 73cb502..ada4002 100644 (file)
@@ -3,7 +3,7 @@
        <classpathentry kind="src" path="src"/>
        <classpathentry kind="src" path="utils"/>
        <classpathentry kind="src" path="test"/>
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7"/>
        <classpathentry kind="lib" path="lib/activation.jar"/>
        <classpathentry kind="lib" path="lib/axis.jar" sourcepath="D:/axis-1_2RC2-src/axis-1_2RC2"/>
        <classpathentry kind="lib" path="lib/commons-discovery.jar"/>
@@ -14,7 +14,6 @@
        <classpathentry kind="lib" path="lib/saaj.jar"/>
        <classpathentry kind="lib" path="lib/wsdl4j.jar"/>
        <classpathentry kind="lib" path="lib/xercesImpl.jar"/>
-       <classpathentry kind="lib" path="lib/xml-apis.jar"/>
        <classpathentry kind="lib" path="lib/castor-1.1-cycle-xml.jar" sourcepath="C:/Documents and Settings/JimP/workspace-3.3/castor/src/main/java"/>
        <classpathentry kind="lib" path="lib/JGoogleAnalytics_0.3.jar" sourcepath="/JGoogleAnalytics/src/main/java"/>
        <classpathentry kind="lib" path="lib/vamsas-client.jar"/>
@@ -51,6 +50,8 @@
        <classpathentry kind="lib" path="lib/slf4j-log4j12-1.7.7.jar"/>
        <classpathentry kind="lib" path="lib/VARNAv3-91.jar"/>
        <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/plugin.jar"/>
+       <classpathentry kind="lib" path="lib/xml-apis.jar"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/plugin17"/>
        <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
        <classpathentry kind="output" path="classes"/>
 </classpath>
index 6497101..0aaa990 100755 (executable)
Binary files a/lib/xercesImpl.jar and b/lib/xercesImpl.jar differ
index a3fd9a1..4673346 100755 (executable)
Binary files a/lib/xml-apis.jar and b/lib/xml-apis.jar differ
diff --git a/test/jalview/ws/seqfetcher/DasSequenceFetcher.java b/test/jalview/ws/seqfetcher/DasSequenceFetcher.java
new file mode 100644 (file)
index 0000000..7f82252
--- /dev/null
@@ -0,0 +1,19 @@
+package jalview.ws.seqfetcher;
+
+import static org.junit.Assert.*;
+
+import org.junit.Test;
+
+public class DasSequenceFetcher
+{
+
+  @Test
+  public void testDasRegistryContact()
+  {
+    jalview.bin.Cache.getDasSourceRegistry().refreshSources();
+    assertTrue(
+            "Expected to find at least one DAS source at the registry. Check config.",
+            jalview.bin.Cache.getDasSourceRegistry().getSources().size() > 0);
+  }
+
+}