Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
99cfb58c
Commit
99cfb58c
authored
Sep 20, 2021
by
Jose Borreguero
Browse files
Define the alias.deprecated type of warning
Signed-off-by:
Jose Borreguero
<
borreguero@gmail.com
>
parent
06b2f191
Changes
2
Hide whitespace changes
Inline
Side-by-side
Framework/Kernel/CMakeLists.txt
View file @
99cfb58c
...
...
@@ -586,6 +586,7 @@ else()
endif
()
set
(
CONSOLECHANNELCLASS
"ConsoleChannel"
)
set
(
ALIASDEPRECATED
"Raise"
)
configure_file
(
../Properties/Mantid.properties.template
${
CMAKE_CURRENT_BINARY_DIR
}
/Mantid.properties.config
)
...
...
@@ -639,6 +640,7 @@ else()
endif
()
set
(
CONSOLECHANNELCLASS
"StdoutChannel"
)
set
(
ALIASDEPRECATED
"Log"
)
configure_file
(
../Properties/Mantid.properties.template
${
CMAKE_CURRENT_BINARY_DIR
}
/Mantid.properties.install
)
...
...
Framework/Properties/Mantid.properties.template
View file @
99cfb58c
...
...
@@ -187,7 +187,7 @@ algorithms.categories.hidden=Workflow\\Inelastic\\UsesPropertyManager;Workflow\\
# Allowed values are:
# "Log": log a warning indicating the alias is deprecated, along with the name to be used
# "Raise": raise a RuntimeError if the deprecated deadline has been met
algorithms.alias.deprecated =
Log
algorithms.alias.deprecated =
@ALIASDEPRECATED@
# All interface categories are shown by default.
interfaces.categories.hidden =
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment