<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>Jalview with gradle build</name>
+ <name>jalview-js</name>
<comment></comment>
<projects/>
<natures>
#
-#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
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
+}