-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use filters and folder names in the languageConfigurationMapping.properties #497
Comments
I would prefer to even take this further than what you are proposing: Quick recap of current implementation In todays implementation for the language configurations, each member needs to be added to the With your suggestions, here is what came to my mind : We can extend zAppBuild capability and allow an alternative way of the mapping definition for the language configurations using the standard DBB file properties capability, for instance if the user has clear ways of grouping them. So, instead of inspecting the languageConfigurationMapping.properties file and require a mapping for each member, we allow something like: # map all files with epsc*, epsd* and to language configuration languageConfigProps01
languageConfiguration = languageConfigProps01 :: **/epsc*.cbl, **/epsd*.cbl
# map all epcm* to language configuration languageConfigProps02
languageConfiguration = languageConfigProps02 :: **/epcm*.cbl Also related to discussion #478 . Thoughts @mhardin18 ? Implementation has to be done here: dbb-zappbuild/utilities/FilePropUtilities.groovy Lines 25 to 30 in 9f25617
|
Delivered via zAppBuild 3.8.0 |
Extend the
FilePropUtilities.groovy
script to handle the use of folder names and filters/wildcards inlanguageConfigurationMapping.properties
.This way, the user will be able to easier map a group of programs with a common language configuration property file, and avoid to enter all the program names and map each one with the corresponding property file.
Example of the current
languageConfigurationMapping.properties
structure:epscmort.cbl=languageConfigProps01
epscsmrd.cbl=languageConfigProps01
epsnbrvl.cbl=languageConfigProps01
Example of the desired
languageConfigurationMapping.properties
structure:epscmort.cbl=languageConfigProps01
folder-name=languageConfigProps01
eps*.cbl=languageConfigProps01
$ps*.*= languageConfigProps01
Thanks you!
The text was updated successfully, but these errors were encountered: