Building a subset of components

We have a large n-tier project, and currently have FB building the whole thing by iterating around the project folders, and then around the .vbp’s. this works well

However, there are times when we would like to only build one component - can anybody suggest a way we could provide this component name as a parameter to the build process to get it to build just the specified one.

TIA

Matt

Hi Matt,

Every action has a Condition property (which is actually a one line script) that is evaluated before the action runs. So you could use this to control if an action (which includes it’s children) runs or not. The script needs to return either true or false too.

Now, to get the value of this variable, you could either use the interactive actions to ask the user a certain question, or set the variables via the command line options (of either FinalBuilder.exe or FBCMD), or maybe you could load the variables from a file.

(also, you could use the If…Then action to control which actions run or not also)

hth.
.t8

Thanks T8

Figured out a way to do it by providning a text file list of components to be built for the patch in a certain location, checking for the existence of that file at the start of the process and defaulting to the full build if not found.

Now just need to whip up a quick UI in ActionStudio or VB to select from the list of components and write the text file and we are away.

Thanks again for a great product.

Matt