JAL-3753 avoid appending unreplaced html content in help pages
[jalview.git] / build.gradle
index 3bf1649..e00e4df 100644 (file)
@@ -1025,7 +1025,7 @@ task copyHelp(type: Copy) {
   into outputDir
 
   inputs.dir(inputDir)
-  outputs.files(helpFile)
+  // outputs.files(helpFile)
   outputs.dir(outputDir)
 }
 
@@ -1141,13 +1141,12 @@ task linkCheck(type: JavaExec) {
   args = [ "${classesDir}/${help_dir}", "-nointernet" ]
 
   def outFOS = new FileOutputStream(helpLinksCheckerOutFile, false) // false == don't append
-  def errFOS = outFOS
   standardOutput = new org.apache.tools.ant.util.TeeOutputStream(
     outFOS,
-    standardOutput)
+    System.out)
   errorOutput = new org.apache.tools.ant.util.TeeOutputStream(
     outFOS,
-    errorOutput)
+    System.err)
 
   inputs.dir("${classesDir}/${help_dir}")
   outputs.file(helpLinksCheckerOutFile)
@@ -1801,7 +1800,7 @@ task sourceDist(type: Tar) {
     include(file(buildProperties).getName())
     rename(file(buildProperties).getName(), "build_properties")
     filter({ line ->
-      line.replaceAll("^INSTALLATION=.*\$","INSTALLATION=SourceDist"+" git-commit\\\\:"+gitHash+" ["+gitBranch+"]")
+      line.replaceAll("^INSTALLATION=.*\$","INSTALLATION=Source Release"+" git-commit\\\\:"+gitHash+" ["+gitBranch+"]")
     })
   }