From 8bfdc8916b8e154fdd5144ac40421ee810dfd5a2 Mon Sep 17 00:00:00 2001 From: wolandscat Date: Thu, 1 Aug 2024 14:13:17 -0600 Subject: [PATCH] Remove '====' from logging messages, since it confuses Github --- apps/adlc/src/main/application.e | 2 +- .../messages/compiled/adl_messages_db.e | 22 +++++++++---------- .../messages/source/adl_compiler_errors.txt | 16 +++++++------- .../messages/source/app_awb_ui_messages.txt | 6 ++--- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/apps/adlc/src/main/application.e b/apps/adlc/src/main/application.e index 65a08ffe4..5da311c2e 100755 --- a/apps/adlc/src/main/application.e +++ b/apps/adlc/src/main/application.e @@ -146,7 +146,7 @@ feature -- Initialization report_std_err (get_msg ({ADL_MESSAGES_IDS}.ec_config_file_location, <>)) across bmm_models_access.all_schemas as schemas_csr loop if schemas_csr.item.has_errors then - report_std_err ("========== Schema validation errors for " + schemas_csr.key.as_string_8 + " ===========") + report_std_err ("******** Schema validation errors for " + schemas_csr.key.as_string_8 + " ********") report_std_err (schemas_csr.item.errors.as_string) end end diff --git a/apps/resources/messages/compiled/adl_messages_db.e b/apps/resources/messages/compiled/adl_messages_db.e index 19edae975..d8c80b140 100755 --- a/apps/resources/messages/compiled/adl_messages_db.e +++ b/apps/resources/messages/compiled/adl_messages_db.e @@ -31,14 +31,14 @@ feature -- Initialisation message_table.put ("Validation level NON-STRICT; non-conforming existence, occurrences & cardinality will be removed", ec_validation_non_strict) message_table.put ("Duplicate term found during terminology initialisation: code=$1; lang=$2; group=$3", ec_duplicate_term_found) message_table.put ("Generated differential archetype from specialised flat archetype", ec_arch_context_make_flat_i1) - message_table.put ("==== $1 %N", ec_compiler_status) - message_table.put ("==== Finished $1 ==== %N", ec_compiler_finished_status) - message_table.put ("==== Building system ====%N", ec_compiler_building_system) - message_table.put ("==== Build complete: total=$1; valid=$2; warnings=$3; errors=$4 ====%N", ec_compiler_finished_building_system) - message_table.put ("==== rebuilding system from scratch", ec_compiler_rebuilding_system) - message_table.put ("==== Rebuild complete: total=$1; valid=$2; warnings=$3; errors=$4 ====%N", ec_compiler_finished_rebuilding_system) - message_table.put ("==== exporting built library as $1 to $2 %N", ec_compiler_export) - message_table.put ("==== Finished library export ==== %N", ec_compiler_finished_export) + message_table.put ("**** $1 %N", ec_compiler_status) + message_table.put ("**** Finished $1 **** %N", ec_compiler_finished_status) + message_table.put ("**** Building system ****%N", ec_compiler_building_system) + message_table.put ("**** Build complete: total=$1; valid=$2; warnings=$3; errors=$4 ****%N", ec_compiler_finished_building_system) + message_table.put ("**** rebuilding system from scratch", ec_compiler_rebuilding_system) + message_table.put ("**** Rebuild complete: total=$1; valid=$2; warnings=$3; errors=$4 ****%N", ec_compiler_finished_rebuilding_system) + message_table.put ("**** exporting built library as $1 to $2 %N", ec_compiler_export) + message_table.put ("**** Finished library export **** %N", ec_compiler_finished_export) message_table.put ("---- compiling $1 ---- $2 ", ec_compiler_compiling_archetype) message_table.put ("---- $1 ---- $2 (already attempted - FAILED) %N$2", ec_compiler_already_attempted_failed) message_table.put ("---- $1 ---- $2 (already attempted - PASSED) ", ec_compiler_already_attempted_validated) @@ -709,9 +709,9 @@ feature -- Initialisation message_table.put ("No diff directories available; tests must be run on library first", ec_no_diff_dirs) message_table.put ("Populating from directories in $1 library configuration...", ec_populating_directory_start) message_table.put ("...complete; compile with F7 or other options under Library menu", ec_populating_directory_complete) - message_table.put ("==== No flat (.adlf) text available ", ec_compiler_no_flat_text) - message_table.put ("==== No source (.adls) text available ", ec_compiler_no_source_text) - message_table.put ("==== No ODIN (.odin) text available ", ec_compiler_no_dadl_text) + message_table.put (" **** No flat (.adlf) text available ", ec_compiler_no_flat_text) + message_table.put (" **** No source (.adls) text available ", ec_compiler_no_source_text) + message_table.put (" **** No ODIN (.odin) text available ", ec_compiler_no_dadl_text) message_table.put ("Read from docking config file $1 failed", ec_read_docking_file_failed) message_table.put ("Write to docking config file $1 failed", ec_write_docking_file_failed) message_table.put ("Copying user docking config file $1 to default location $2", ec_copy_docking_file) diff --git a/apps/resources/messages/source/adl_compiler_errors.txt b/apps/resources/messages/source/adl_compiler_errors.txt index f1669a77b..4f4d3aa56 100755 --- a/apps/resources/messages/source/adl_compiler_errors.txt +++ b/apps/resources/messages/source/adl_compiler_errors.txt @@ -19,17 +19,17 @@ templates = < -- ARCHETYPE_COMPILER ["arch_context_make_flat_i1"] = <"Generated differential archetype from specialised flat archetype"> - ["compiler_status"] = <"==== $1 %N"> - ["compiler_finished_status"] = <"==== Finished $1 ==== %N"> + ["compiler_status"] = <"**** $1 %N"> + ["compiler_finished_status"] = <"**** Finished $1 **** %N"> - ["compiler_building_system"] = <"==== Building system ====%N"> - ["compiler_finished_building_system"] = <"==== Build complete: total=$1; valid=$2; warnings=$3; errors=$4 ====%N"> + ["compiler_building_system"] = <"**** Building system ****%N"> + ["compiler_finished_building_system"] = <"**** Build complete: total=$1; valid=$2; warnings=$3; errors=$4 ****%N"> - ["compiler_rebuilding_system"] = <"==== rebuilding system from scratch"> - ["compiler_finished_rebuilding_system"] = <"==== Rebuild complete: total=$1; valid=$2; warnings=$3; errors=$4 ====%N"> + ["compiler_rebuilding_system"] = <"**** rebuilding system from scratch"> + ["compiler_finished_rebuilding_system"] = <"**** Rebuild complete: total=$1; valid=$2; warnings=$3; errors=$4 ****%N"> - ["compiler_export"] = <"==== exporting built library as $1 to $2 %N"> - ["compiler_finished_export"] = <"==== Finished library export ==== %N"> + ["compiler_export"] = <"**** exporting built library as $1 to $2 %N"> + ["compiler_finished_export"] = <"**** Finished library export **** %N"> ["compiler_compiling_archetype"] = <"---- compiling $1 ---- $2 "> ["compiler_already_attempted_failed"] = <"---- $1 ---- $2 (already attempted - FAILED) %N$2"> diff --git a/apps/resources/messages/source/app_awb_ui_messages.txt b/apps/resources/messages/source/app_awb_ui_messages.txt index 59850f24d..d4cee9e98 100755 --- a/apps/resources/messages/source/app_awb_ui_messages.txt +++ b/apps/resources/messages/source/app_awb_ui_messages.txt @@ -455,9 +455,9 @@ templates = < ["no_diff_dirs"] = <"No diff directories available; tests must be run on library first"> ["populating_directory_start"] = <"Populating from directories in $1 library configuration..."> ["populating_directory_complete"] = <"...complete; compile with F7 or other options under Library menu"> - ["compiler_no_flat_text"] = <"==== No flat (.adlf) text available "> - ["compiler_no_source_text"] = <"==== No source (.adls) text available "> - ["compiler_no_dadl_text"] = <"==== No ODIN (.odin) text available "> + ["compiler_no_flat_text"] = <" **** No flat (.adlf) text available "> + ["compiler_no_source_text"] = <" **** No source (.adls) text available "> + ["compiler_no_dadl_text"] = <" **** No ODIN (.odin) text available "> ["read_docking_file_failed"] = <"Read from docking config file $1 failed"> ["write_docking_file_failed"] = <"Write to docking config file $1 failed"> ["copy_docking_file"] = <"Copying user docking config file $1 to default location $2">