JAL-3210 updating. no test
authorBen Soares <bsoares@dundee.ac.uk>
Tue, 13 Aug 2019 09:58:40 +0000 (10:58 +0100)
committerBen Soares <bsoares@dundee.ac.uk>
Tue, 13 Aug 2019 09:58:40 +0000 (10:58 +0100)
.project
.settings/org.eclipse.jdt.core.prefs
build.gradle
swingjs/SwingJS-site.zip
swingjs/SwingJS-site.zip-newer [new file with mode: 0644]
swingjs/net.sf.j2s.core.jar
swingjs/net.sf.j2s.core.jar-3.2.4 [moved from swingjs/net.sf.j2s.core-3.2.4.jar with 100% similarity]

index d4d0c20..0e79b2b 100644 (file)
--- a/.project
+++ b/.project
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-       <name>Jalview with gradle build</name>
+       <name>jalview-js</name>
        <comment></comment>
        <projects/>
        <natures>
index 690407a..6df8729 100644 (file)
@@ -1,5 +1,5 @@
 #
-#Thu Aug 08 16:52:35 BST 2019
+#Mon Aug 12 14:34:05 BST 2019
 org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
 org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
 org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
index 33f8005..68b03af 100644 (file)
@@ -1250,3 +1250,37 @@ task helppages  {
   inputs.dir("$classes/$helpDir")
   outputs.dir("$helpOutputDir")
 }
+
+
+task jalviewjs_unzipFiles {
+  def zipFiles = fileTree(dir: jalviewjs_libjs_dir).include("*.zip")
+  zipFiles += jalviewjs_swingjs_zip
+
+  doLast {
+    zipFiles.each { file_zip -> 
+      copy {
+        from zipTree(file_zip)
+        into jalviewjs_site_dir
+      }
+    }
+  }
+
+  inputs.files zipFiles
+  outputs.dir jalviewjs_site_dir
+}
+
+task jalviewjs_copyResources (type: Copy) {
+  from fileTree(dir: jalviewjs_resource_dir)
+  into jalviewjs_site_dir+"/"+jalviewjs_j2s_subdir
+}
+
+task jalviewjs_copySiteResources (type: Copy) {
+  from fileTree(dir: jalviewjs_site_resource_dir)
+  into jalviewjs_site_dir
+}
+
+task jalviewjsBuildSite {
+  dependsOn jalviewjs_unzipFiles
+  dependsOn jalviewjs_copyResources
+  dependsOn jalviewjs_copySiteResources
+}
index 52042b8..6f2893d 100644 (file)
Binary files a/swingjs/SwingJS-site.zip and b/swingjs/SwingJS-site.zip differ
diff --git a/swingjs/SwingJS-site.zip-newer b/swingjs/SwingJS-site.zip-newer
new file mode 100644 (file)
index 0000000..52042b8
Binary files /dev/null and b/swingjs/SwingJS-site.zip-newer differ
index 54e0f0c..ec67d8c 100644 (file)
Binary files a/swingjs/net.sf.j2s.core.jar and b/swingjs/net.sf.j2s.core.jar differ