# StarTeam Check-In: Ignore "No files matching" Error - still erroring

**URL:** <https://www.finalbuilder.com/forums/t/starteam-check-in-ignore-no-files-matching-error-still-erroring/2751>\
**Category:** Bugs\
**Created:** [January 8, 2007, 8:57am UTC](https://www.finalbuilder.com/forums/t/starteam-check-in-ignore-no-files-matching-error-still-erroring/2751 "2007-01-08T08:57:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhunsaker](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/b3f665/32.png) [@jhunsaker](https://www.finalbuilder.com/forums/u/jhunsaker)\
**Post date:** [January 8, 2007, 8:57am UTC](https://www.finalbuilder.com/forums/t/starteam-check-in-ignore-no-files-matching-error-still-erroring/2751/1 "2007-01-08T08:57:34Z")

</div>

FinalBuilder: 5.0.0.60  
StarTeam command line: 7.0.128  
Platform: WinXP SP2 with latest updates  
  
I’m performing a check in to StarTeam using the following file spec: _.dll;_.exe;_.xml;_.proj I have the option “Ignore ‘No files matching’ Error” checked.   
  
I’m receiving the following unexpected error:   
  
_.exe : No files matching "_.exe" were found in the StarTeam repository.  
  
There are no .exe files in my repository but I thought the Ignore directive would prevent FB from raising an error.   
  
Here is the StarTeam command line:   
  
Running StarTeam with command line : ci -is -filter “MGC” -o -r “some comment” -p "myuser:\*\*_@sourceserver:49540/\_Test/\_Test/" -cmp -x -stop ".dll" ".exe" ".xml" "_.proj"  
  
Is this a bug or have I misconfigured? Or misinterpreted the ignore feature?   
  
Thanks.

---

<div class="post-metadata">

**Author:** ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)\
**Post date:** [January 9, 2007, 2:05am UTC](https://www.finalbuilder.com/forums/t/starteam-check-in-ignore-no-files-matching-error-still-erroring/2751/2 "2007-01-09T02:05:38Z")

</div>

Hi Jeff,  
  
The “Ignore no files matching” is a bit of a hack. Here’s how it works:  
If you have the option set, then for every line of the output of starteam, FB scans it looking for the text “No files matching”. If it finds this text, then a flag is set and when the starteam action completes, it looks at this flag and the return code of starteam. If the flag is set and the return code is 102 then the action is set to not fail. The return code 102 from starteam indicates that “No Files Matched”.   
  
But what you’re after is a different option to ignore if _any_ files didn’t match, which is slightly different to what the No Files Matching option means. I’ll add this to the todo list, but I think the workaround in the meantime is to not include the \*.exe in the file spec if possible?  
  
.t8

---

<div class="post-metadata">

**Author:** ![jhunsaker](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/b3f665/32.png) [@jhunsaker](https://www.finalbuilder.com/forums/u/jhunsaker)\
**Post date:** [January 9, 2007, 3:44am UTC](https://www.finalbuilder.com/forums/t/starteam-check-in-ignore-no-files-matching-error-still-erroring/2751/3 "2007-01-09T03:44:14Z")

</div>

The workaround should be fine. This collection of .Net projects _should_ always remain class libraries so I should be safe omitting the \*.exe.   
  
Thanks!

---

<div class="post-metadata">

**Author:** ![fabienriaille](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@fabienriaille](https://www.finalbuilder.com/forums/u/fabienriaille)\
**Post date:** [July 3, 2007, 4:23am UTC](https://www.finalbuilder.com/forums/t/starteam-check-in-ignore-no-files-matching-error-still-erroring/2751/4 "2007-07-03T04:23:36Z")

</div>

Hi,   
 i have a got a similar behaviour with ST Checkout Action. I thought that checking “ignore no files matching” will prevent an error   
 when checkouting an empty folder for instance, but it did not work.   
 With your explanation, i suppose that the issue comes from the stcmd command output, which is in French “aucun fichier corespondant”   
 (translation of “no files found”)   
 Fabien

---

<div class="post-metadata">

**Author:** ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)\
**Post date:** [July 4, 2007, 8:49am UTC](https://www.finalbuilder.com/forums/t/starteam-check-in-ignore-no-files-matching-error-still-erroring/2751/5 "2007-07-04T08:49:45Z")

</div>

Thanks Fabien - I’ve added the French translation for this. I’ll let you know when the next build is ready.   
  
 cheers,   
 tate.

---

<div class="post-metadata">

**Author:** ![fabienriaille](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@fabienriaille](https://www.finalbuilder.com/forums/u/fabienriaille)\
**Post date:** [July 4, 2007, 9:47am UTC](https://www.finalbuilder.com/forums/t/starteam-check-in-ignore-no-files-matching-error-still-erroring/2751/6 "2007-07-04T09:47:32Z")

</div>

Hi Tate,   
 The exact label is “aucun fichier correspondant”.   
 But i dont really understand why the business rule is based on a label, isn’t exit code 102 sufficient when checkout, to know that “no files matched” ?   
  
 Anyway, i just checked “Ignore failure” on the “RunTime” tab and it worked fine.   
  
 Fabien

---

<div class="post-metadata">

**Author:** ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)\
**Post date:** [July 4, 2007, 10:03am UTC](https://www.finalbuilder.com/forums/t/starteam-check-in-ignore-no-files-matching-error-still-erroring/2751/7 "2007-07-04T10:03:43Z")

</div>

I can’t remember exactly why we did it that way, but my guess would be that the 102 error code was used for other errors and not just when no files matched.

---

<div class="post-metadata">

**Author:** ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)\
**Post date:** [July 5, 2007, 1:53am UTC](https://www.finalbuilder.com/forums/t/starteam-check-in-ignore-no-files-matching-error-still-erroring/2751/8 "2007-07-05T01:53:29Z")

</div>

here’s the new build:   
 [https://www.finalbuilder.com/downloads/finalbuilder/550/FB550\_297.exe](https://www.finalbuilder.com/downloads/finalbuilder/550/FB550_297.exe)
