FileSet Define - finds file, but then doesn't store the name

I inititally found this because I had a FileSet to Variable action immediately proceeding my FileSet Define action. The fileset define found my file, but then the FileSet to Variable was blank. I then tried a Fileset Log Files action, and that also displays blank.

I am using this in another action list and it works great. Not sure why it won’t work for this action list.

Other questions related to this:

When I am choosing the FileSet to log from the FileSet Log Files action- I see two Filesets defined. Why is that?

Also, I tried using a variable as part of the Filespec parameter from the fileset define action and it didn’t work. Is this a known issue?
PRJ_BIN_TYPE = exe
Filespec: *.%PRJ_BIN_TYPE%

This returned no files, but when I hard-coded it to *.exe it worked.

FB2.jpg

Hi Owen,

FileSets are actually a type of object called a “project object” - they are global to the project (not an action list.) Each time you use a “FileSet Define” action, it creates a new project object internally.

Therefore, you can’t have more than one FileSet Define with the same name. FinalBuilder should prevent you from creating duplicate FileSet Defines, though… I will fix that bug ASAP.

Rename the other FileSet Define to something else, and you should be fine.

Regards,


Angus

Hi Owen,

I’ve fixed the actions so that they now fail validation if you attempt to register more than one project object of the same type. A test build will be available shortly.

- Angus


here:
https://www.finalbuilder.com/downloads/finalbuilder/410/FB410_267.exe