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/02/09 07:06:55 UTC

[causeway] branch master updated: CAUSEWAY-3354: update CI rename script for isis legacy build:

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 a613b3ce44 CAUSEWAY-3354: update CI rename script for isis legacy build:
a613b3ce44 is described below

commit a613b3ce44ac92d3dddb6375607d8a424516f228
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Feb 9 08:06:49 2023 +0100

    CAUSEWAY-3354: update CI rename script for isis legacy build:
    
    - reflect reality and use currently valid XML namespace URIs
    - that is do no longer refer to isis.apache.org for XSD resource lookup
---
 scripts/ci/rename-all-published-sources.jsh | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/scripts/ci/rename-all-published-sources.jsh b/scripts/ci/rename-all-published-sources.jsh
index 1993c6c0e0..68309f9ef6 100644
--- a/scripts/ci/rename-all-published-sources.jsh
+++ b/scripts/ci/rename-all-published-sources.jsh
@@ -212,10 +212,11 @@ class RenameProject {
                         .replace(fromLower, toLower)
                         .replace(fromUpper, toUpper)
                         .replace(fromTitle, toTitle)
-                        // restore XML namespace identifiers 
+                        // reflect reality: use currently valid XML namespace URIs
+                        // (that is, reverting replacements above) 
                         .replace(
-                                "https://" + fromLower + ".apache.org/applib/layout",
-                                "http://" + toLower + ".apache.org/applib/layout");
+                                "https://" + toLower + ".apache.org/applib/layout",
+                                "https://" + fromLower + ".apache.org/applib/layout");
                 newLines.add(newLine);
                 return line.equals(newLine)
                         ? 0