X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=96d6b8aeae64ff53d5622917e47a602edd6ea848;hb=16a7e3ba1a90e554d69249a45f469149b9c490c4;hp=51f95ac4b269732094707102589ff1d850301384;hpb=0c67684aaee6951336e64a6afb564aed03790fda;p=jalview.git diff --git a/build.gradle b/build.gradle index 51f95ac..96d6b8a 100644 --- a/build.gradle +++ b/build.gradle @@ -36,6 +36,7 @@ if (file(localProps).exists()) { } } } catch (Exception e) { + System.out.println("Exception reading local.properties") } } @@ -1685,9 +1686,10 @@ task jalviewjsSiteTar(type: Tar) { task jalviewjsServer { group "JalviewJS" - description "Starts a webserver on localhost to test the website" + def filename = "jalviewjsTest.html" + description "Starts a webserver on localhost to test the website. See ${filename} to access local site on most recently used port." dependsOn jalviewjsSitePath - def htmlFile = "${jalviewDirAbsolutePath}/jalviewjsTest.html" + def htmlFile = "${jalviewDirAbsolutePath}/${filename}" doLast { SimpleHttpFileServerFactory factory = new SimpleHttpFileServerFactory() @@ -1746,32 +1748,32 @@ task jalviewjs { } -task jalviewjsIDECopyTransferSite(type: Copy) { +task jalviewjsIDE_CopyTransferSite(type: Copy) { from "${jalviewDir}/${jalviewjsTransferSiteDir}" into "${jalviewDir}/${jalviewjsSiteDir}" } -task jalviewjsIDEj2s { - group "JalviewJS in Eclipse" +task jalviewjsIDE_j2s { + group "00 JalviewJS in Eclipse" description "Creates the .j2s file" dependsOn jalviewjsCreateJ2sSettings } -task jalviewjsIDEBuildSite { - group "JalviewJS in Eclipse" - description "Copies the Eclipse transpiled site and unzips supporting zipfiles" - dependsOn jalviewjsIDECopyTransferSite +task jalviewjsIDE_AssembleSite { + group "00 JalviewJS in Eclipse" + description "Assembles the Eclipse transpiled site and unzips supporting zipfiles" + dependsOn jalviewjsIDE_CopyTransferSite dependsOn jalviewjsPrepareSite } -task jalviewjsIDESiteClean { - group "JalviewJS in Eclipse" +task jalviewjsIDE_SiteClean { + group "00 JalviewJS in Eclipse" description "Deletes the Eclipse transpiled site" dependsOn cleanJalviewjsSite } -task jalviewjsIDEServer { - group "JalviewJS in Eclipse" +task jalviewjsIDE_Server { + group "00 JalviewJS in Eclipse" description "Starts a webserver on localhost to test the website" dependsOn jalviewjsServer }