This is an automated email from the ASF dual-hosted git repository.

pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-tentacles.git


The following commit(s) were added to refs/heads/master by this push:
     new 31bef34  TENTACLES-20: Apply fixes to generation scripts and copy 
resources to other subdirs
31bef34 is described below

commit 31bef34710c85ecd1c513c55d5926b005510a774
Author: P. Ottlinger <[email protected]>
AuthorDate: Sat May 10 21:29:31 2025 +0200

    TENTACLES-20: Apply fixes to generation scripts and copy resources to other 
subdirs
---
 .buildtools/{formatSiteXml => formatPom}     |  7 ++++---
 .buildtools/formatSiteXml                    |  1 +
 .buildtools/generateStagingSiteInWebpageRepo | 11 +++++++++++
 3 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/.buildtools/formatSiteXml b/.buildtools/formatPom
similarity index 88%
copy from .buildtools/formatSiteXml
copy to .buildtools/formatPom
index 57b2487..968d8c0 100755
--- a/.buildtools/formatSiteXml
+++ b/.buildtools/formatPom
@@ -1,3 +1,4 @@
+#!/bin/bash
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.
@@ -13,8 +14,8 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-for siteDesc in `find . -name \site.xml` 
+for pom in `find . -name \pom.xml` 
 do
-       xmllint --format $siteDesc > /tmp/w 
-       mv /tmp/w $siteDesc 
+       xmllint --format $pom > /tmp/w 
+       mv /tmp/w $pom 
 done
diff --git a/.buildtools/formatSiteXml b/.buildtools/formatSiteXml
index 57b2487..3111980 100755
--- a/.buildtools/formatSiteXml
+++ b/.buildtools/formatSiteXml
@@ -1,3 +1,4 @@
+#!/bin/bash
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.
diff --git a/.buildtools/generateStagingSiteInWebpageRepo 
b/.buildtools/generateStagingSiteInWebpageRepo
index 68f97c9..bbabcf3 100755
--- a/.buildtools/generateStagingSiteInWebpageRepo
+++ b/.buildtools/generateStagingSiteInWebpageRepo
@@ -1,3 +1,4 @@
+#!/bin/bash
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.
@@ -14,5 +15,15 @@
 # limitations under the License.
 #
 ./mvnw clean site:site site:stage
+
+echo "Copying JS/CSS resources into generated reports"
 cp -rvf target/staging/* ../creadur-site/tentacles/
+echo "DONE."
+
+echo "Copying JS/CSS resources into generated reports"
 cp -rvf src/site/javadocFont/* ../creadur-site/tentacles/apidocs/
+cp -rvf src/site/javadocFont/* ../creadur-site/tentacles/apidocs/ > /dev/null
+cp -rvf src/site/javadocFont/* ../creadur-site/tentacles/testapidocs/ > 
/dev/null
+cp -rvf src/site/javadocFont/* ../creadur-site/tentacles/xref/ > /dev/null
+cp -rvf src/site/javadocFont/* ../creadur-site/tentacles/xref-test/ > /dev/null
+echo "DONE."

Reply via email to