Hello,

I wonder if there is a way to distinguish between the build modes. Lets say I want to identify in the preBuildAction stage if the build is a quickbuild or full build. Is there any build in variable that holds this kind of information ?

My purpose is to check if my executable is exist when I'm starting to build in quickbuild.

Thanks, Ronen

asked 06 Feb '13, 07:04

Ronen's gravatar image

Ronen
16565656
accept rate: 0%


It is currently not possible to detect if a build is quick or full build.

If you are automating your builds and/or building from command line, then you can use --setvars and specify that a full or quick build is made and the variable's value can be used to determine whether an action should be run:

$ bin/builder build /path/to/project.xml --setvars is_full_build=1

And then you can check it by doing:

<ruleList> <isTrue> <value>${is_full_build}</value> </isTrue> </ruleList>

You can find more information about --setvars option in Using the Command Line Interface section of InstallBuilder User Guide.

link

answered 06 Feb '13, 10:09

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×27
×6

Asked: 06 Feb '13, 07:04

Seen: 1,170 times

Last updated: 06 Feb '13, 10:09