From 0e19602a2f785de1bfce5672de36af5b99072ba8 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 4 Jul 2019 15:36:07 +0100 Subject: [PATCH] JAL-3111 replace year in header for help pages and put processed help in build/distributions --- build.gradle | 4 ++-- gradle.properties | 2 +- utils/publishHelp.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 @@ - + -- 1.7.10.2