Bug Reports

Use this forum to report problems you are having with Go and to seek resolution with fellow community members

This is a public Discussion Area  publicRSS

Post

    LeeBenhart
    P4 Materials ignore tag is not functioning
    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.

    Code Snippet:

    Comment

     

    • LeeBenhart
      posted November 16, 2011 by LeeBenhart

      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.

    • Rajeshvaran Appasamy
      posted November 20, 2011 by Rajeshvaran Appasamy

      Hi Leeben,

       

      Thanks for reporting this. This is a issue and the fix should be available in the next release.

       

      With warm regards,

      Rajeshvaran

    • Sachin Sudheendra
      posted January 1, 2012 by Sachin Sudheendra

      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.

    • LeeBenhart
      posted January 3, 2012 by LeeBenhart

      Thank you, this seems to work.  My only question is what if I am using different depots?

    • LeeBenhart
      posted February 17, 2012 by LeeBenhart

      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?