You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2023/03/14 09:13:13 UTC

[causeway] branch master updated: CAUSEWAY-2445: for the legacy (isis) build use 'layout-v1' xsd urls (2)

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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/master by this push:
     new 159f260dfc CAUSEWAY-2445: for the legacy (isis) build use 'layout-v1' xsd urls (2)
159f260dfc is described below

commit 159f260dfcb5b2cf240f89801376d7418294a38b
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Mar 14 10:13:08 2023 +0100

    CAUSEWAY-2445: for the legacy (isis) build use 'layout-v1' xsd urls (2)
---
 scripts/ci/rename-all-published-sources.jsh | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/scripts/ci/rename-all-published-sources.jsh b/scripts/ci/rename-all-published-sources.jsh
index 31c81ebd8e..90b87cd135 100644
--- a/scripts/ci/rename-all-published-sources.jsh
+++ b/scripts/ci/rename-all-published-sources.jsh
@@ -216,7 +216,21 @@ class RenameProject {
                         // (that is, reverting replacements above) 
                         .replace(
                                 "https://" + toLower + ".apache.org/applib/layout",
-                                "https://" + fromLower + ".apache.org/applib/layout-v1");
+                                "https://" + fromLower + ".apache.org/applib/layout")
+                        // redirect all concrete xsd urls to their layout-v1 variants
+                        .replace(
+                                "/applib/layout/component/component.xsd",
+                                "/applib/layout-v1/component/component.xsd")
+                        .replace(
+                                "/applib/layout/grid/bootstrap3/bootstrap3.xsd",
+                                "/applib/layout-v1/grid/bootstrap3/bootstrap3.xsd")
+                        .replace(
+                                "/applib/layout/links/links.xsd",
+                                "/applib/layout-v1/links/links.xsd")
+                        .replace(
+                                "/applib/layout/menubars/bootstrap3/menubars.xsd",
+                                "/applib/layout-v1/menubars/bootstrap3/menubars.xsd")
+                        ;
                 newLines.add(newLine);
                 return line.equals(newLine)
                         ? 0