IBM / dbb-zappbuild

zAppBuild is a generic build solution for building z/OS applications using Apache Groovy build scripts and IBM Dependency Based Build (DBB) APIs.
Apache License 2.0
41 stars 143 forks source link

Regex for file pattern matching not working as expected #106

Open bala-azha opened 3 years ago

bala-azha commented 3 years ago

We are trying to see if we can use the Regex for file pattern matching instead of giving */Cobol/Y4B.cbl, but no matter what we give it is not recognizing regex as per the below link. https://www.ibm.com/docs/en/dbb/1.0.6?topic=SS6T76_1.0.6/javadoc/com/ibm/dbb/build/BuildProperties.html

We tried various methods like pgmType=BMP :: regex:./Y4BT6.cbl
pgmType=BMP :: regex:
/Y4BT6.cbl pgmType=BMP :: regex:.*/Y4BT6.cbl$

like many combination but none worked, even if we prefix glob as per the link above that also not worked. pgmType=BMP :: glob:*/Cobol/Y4B.cbl

Note: */Cobol/Y4B.cbl is working without any issue, Only regex and glob not working.

dennis-behm commented 3 years ago

Hi @bala-azha , can you please open a case for Dependency Based Build via the IBM Support channels? This API is part of the DBB toolkit. Please find the link to the IBM support pages to open a case: https://www.ibm.com/mysupport/s/