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

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.

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

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

Thanks!

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

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

cheers,
tate.

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

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.

here’s the new build:
https://www.finalbuilder.com/downloads/finalbuilder/550/FB550_297.exe