From: Jim Procter Date: Thu, 4 Jul 2019 14:36:07 +0000 (+0100) Subject: JAL-3111 replace year in header for help pages and put processed help in build/distri... X-Git-Tag: Release_2_11_0~1^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0e19602a2f785de1bfce5672de36af5b99072ba8;p=jalview.git JAL-3111 replace year in header for help pages and put processed help in build/distributions --- diff --git a/build.gradle b/build.gradle index 861fa21..383e189 100644 --- a/build.gradle +++ b/build.gradle @@ -638,7 +638,7 @@ task copyHelp(type: Copy) { exclude '**/*.gif' exclude '**/*.jpg' exclude '**/*.png' - filter(ReplaceTokens, beginToken: '$$', endToken: '$$', tokens: ['Version-Rel': JALVIEW_VERSION]) + filter(ReplaceTokens, beginToken: '$$', endToken: '$$', tokens: ['Version-Rel': JALVIEW_VERSION,'Year-Rel': getDate("yyyy")]) } from(inputDir) { include '**/*.gif' @@ -1232,5 +1232,5 @@ task helppages { dependsOn pubhtmlhelp inputs.dir("$classes/$helpDir") - outputs.file("build/distribution/help/helpTOC.html") + outputs.dir("$helpOutputDir") } diff --git a/gradle.properties b/gradle.properties index 6605fa9..53189f0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -21,7 +21,7 @@ j11libDir = j11lib resourceDir = resources helpParentDir = help helpDir = help -helpOutputDir = build/distribution/help +helpOutputDir = build/distributions/help docDir = doc sourceDir = src schemaDir = schemas diff --git a/utils/publishHelp.xml b/utils/publishHelp.xml index 17ef9e2..c626a21 100644 --- a/utils/publishHelp.xml +++ b/utils/publishHelp.xml @@ -1,7 +1,7 @@ - +