![]() |
Process Files step -- fail if no matching files found?
Hello-
Is there a way to fail a process files step if there are no files found matching a given filter? I see that in the copy files step there is an option to fail the step if there are no files to copy. I am looking for a similar option for the process files step. Example: Given the following folder: c:\temp\v1.0\bin Process all files in the folder only including files matching *V1.0.dll If there are no Dlls matching the filter, I would like the step to fail. Currently, the step gets skipped along with all of its children steps. |
1 Attachment(s)
You can't fail the Process Files step itself in that situation, but in the following sibling step, you could check the temporary macro PROCFILES_COUNT and fail the build if it is 0. See the attached project.
|
Implemented in v9.
http://www.kinook.com/VisBuildPro/Ma...ilesaction.htm |
All times are GMT -5. The time now is 02:47 AM. |
Copyright © 1999-2023 Kinook Software, Inc.