You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2026/01/06 14:14:29 UTC
(myfaces-tobago) branch tobago-4.x updated: build: theme with python <= 3.11 (#6980)
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch tobago-4.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/tobago-4.x by this push:
new a7ddad995f build: theme with python <= 3.11 (#6980)
a7ddad995f is described below
commit a7ddad995f22666d29cede17eea259acf7f37f88
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Tue Jan 6 15:14:24 2026 +0100
build: theme with python <= 3.11 (#6980)
---
.../90-release-checklist/release-checklist.xhtml | 19 ++++++++++++++++++-
tobago-theme/rebuild-theme.sh | 2 ++
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/90-release-checklist/release-checklist.xhtml b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/90-release-checklist/release-checklist.xhtml
index e3ff9c78ba..4b8ccda703 100644
--- a/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/90-release-checklist/release-checklist.xhtml
+++ b/tobago-example/tobago-example-demo/src/main/webapp/content/10-intro/90-release-checklist/release-checklist.xhtml
@@ -30,7 +30,7 @@
<tc:section label="Step by Step">
Checklist of tasks to perform for each release. For general information about Apache releases you may also consult
- <tc:link label="Publishing Maven Releases" link="http://infra.apache.org/maven-releases.html"
+ <tc:link label="Publishing Maven Releases" link="https://infra.apache.org/publishing-maven-artifacts.html"
image="fa-external-link"/>.
<tc:section label="Preparation">
@@ -138,6 +138,23 @@ $ mvn clean install && mvn checkstyle:check apache-rat:check dependency-
</code></pre>
</li>
+ <li>
+ For Tobago 4.x please ensure the themes are rebuilt with no differences to the source code.
+ The generated code will be comitted, but there are any differences, this should be checked.
+ To rebuild the a theme use
+ <pre><code
+ class="language-bash">$ mvn clean install -Prebuild-theme</code></pre>
+ in all theme modules or use the script
+ <pre><code
+ class="language-bash">$ rebuild-theme.sh</code></pre>
+ For the rebuild there is a dependeny to Python 3.11 (not higher). On macOS you may install an
+ oder version and set it in the local shell:
+ <pre><code
+ class="language-bash">$ brew install python@3.11
+$ export PYTHON=/opt/homebrew/opt/python@3.11/bin/python3.11</code></pre>
+
+ </li>
+
<li>Check version info in this file manually:
<pre><code
class="language-bash">$ tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/package-info.java</code></pre>
diff --git a/tobago-theme/rebuild-theme.sh b/tobago-theme/rebuild-theme.sh
index 78858e3f81..b5905431c4 100755
--- a/tobago-theme/rebuild-theme.sh
+++ b/tobago-theme/rebuild-theme.sh
@@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# helper script for faster rebuilding the themes, because it runs in parallel
+
set -e
START=$(date +%s)