gitHash = ""
gitBranch = ""
- jalviewjsServer = ""
}
def JAVA_INTEGER_VERSION
inputs.files inputFiles
}
-task cleanJalviewjs {
+task jalviewjsTotalClean {
+ group "JalviewJS"
+ description "Delete everything to do with JalviewJS build"
//delete jalviewjsBuildDir
- //delete jalviewDir+"/"+eclipse_bin_dir
- //delete file(eclipseWorkspace.getAbsolutePath()+"/.metadata")
- //delete jalviewDir+"/"+jalviewjs_j2s_settings
+ delete jalviewDir+"/"+eclipse_bin_dir
+ delete file(eclipseWorkspace.getAbsolutePath()+"/.metadata")
+ delete jalviewDir+"/"+jalviewjs_j2s_settings
}
task jalviewjsProjectImport(type: Exec) {
dependsOn jalviewjsPrepareSite
}
-task cleanJalviewjsSite {
- delete jalviewjsTransferSiteDir
- delete jalviewjsSiteDir
+task jalviewjsSiteClean {
+ //delete jalviewjsTransferSiteDir
+ //delete jalviewjsSiteDir
}
task jalviewjsSiteTar(type: Tar) {
while(port < start+1000 && !running) {
try {
def doc_root = new File(jalviewDirAbsolutePath +"/"+ jalviewjsSiteDir)
- jalviewjsServer = factory.start(doc_root, port)
+ def jalviewjsServer = factory.start(doc_root, port)
running = true
url = jalviewjsServer.getResourceUrl(jalviewjs_server_resource)
println("SERVER STARTED with document root ${doc_root}.")
dependsOn jalviewjsPrepareSite
}
-task cleanJalviewjsIDESite {
+task jalviewjsIDESiteClean {
group "JalviewJS in Eclipse"
description "Deletes the Eclipse transpiled site"
- dependsOn cleanJalviewjsSite
+ dependsOn jalviewjsSiteClean
}
task jalviewjsIDEServer {