Post posted October 21, 2011 by LeeBenhart, last edited February 17, 2012
1225 Views, 5 Comments
Topic:
P4 Materials ignore tag is not functioning
Body:
I need to be able to ignore certain files from triggering a build. My undersatnding is setting the ignore filter for the file, files, or pattern will not trigger a build. The files will still be retrieved when the build is next executed.
This is something which will prevent us from running automated builds, as the build process will changes some files and check them in. I need to ignore those files so builds are not continuously running.
Comment
Any response to this? I have also tried modifying the filter to this format
<filter>
<ignore pattern="//TST/hardware/#{PRODUCT}/main/**/*.inf" />
<ignore pattern="//TST/hardware/#{PRODUCT}/main/build/product.versions" />
<ignore pattern="//TST/hardware/#{PRODUCT}/main/sub/product.versions" />
</filter>
This is something which will prevent us from running automated builds, as the build process will changes some files and check them in. I need to ignore those files so builds are not continuously running.
Hi Leeben,
Thanks for reporting this. This is a issue and the fix should be available in the next release.
With warm regards,
Rajeshvaran
Hi,
The ignore pattern path is relative to the SCM root directory. Could you try the following ignore pattern and let us know if it works for you.
<filter>
<ignore pattern="hardware/PRODUCT/main/**/*.inf" />
<ignore pattern="hardware/PRODUCT/main/build/product.versions" />
<ignore pattern="hardware/PRODUCT/main/sub/product.versions" />
</filter>
Thanks.
Thank you, this seems to work. My only question is what if I am using different depots?
I would like to exclude certain files from ever being monitored for changes, regardless of where they are found in the SCM Repository.
The following syntax does not appear to be working as I expected. I would expect the files to be ignored from ANY subdirectory.
<filter>
<ignore pattern="**/build/*.inf" />
<ignore pattern="**/version.h" />
<ignore pattern="**/patchId.txt" />
<ignore pattern="**/include/product_Ver.h" />
<ignore pattern="**/ISImageSkeleton/changes.txt" />
<ignore pattern="**/product.ipr" />
</filter>
Am I missing something critical?