LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pre/Post Build in application builder.


@Bob_Schor wrote:

wiebe@CARYA wrote:

+ Pre build actions are preformed before LV starts building an executable.


No!  This is the reason for my Idea Exchange that (so far) has been ignored.  Pre-build Actions are performed after the Build has begun, but presumably before the files are assembled into the Executable. 

 


That's semantics. It hasn't began building an executable, but the build has began.

0 Kudos
Message 21 of 23
(579 Views)

wiebe@CARYA wrote:

@Bob_Schor wrote:

wiebe@CARYA wrote:

+ Pre build actions are preformed before LV starts building an executable.


No!  This is the reason for my Idea Exchange that (so far) has been ignored.  Pre-build Actions are performed after the Build has begun, but presumably before the files are assembled into the Executable. 

 


That's semantics. It hasn't began building an executable, but the build has began.


I complete agree -- it is semantics, the "meaning" of "Pre-build Actions".  As I read your sentence, you seem to agree with me that "the build has begun".  In fact, what I did was write my own "Build Right" that runs whatever code I want to do "before the Build" (here, use Subversion's Revision Number as the "Build" element of the Build Spec's Version info), and then use LabVIEW's Build VI to do the Build.  The actions that I do before the Build are, by definition, "Pre-build Actions".

 

If there is ever another NI Week we both attend "in person", we can discuss these Semantics over a beer (or glass of wine) -- I'll buy.

 

Bob Schor

 

 

0 Kudos
Message 22 of 23
(578 Views)

But the build is started by the user. Should the pre-build action be executed before the user started it? 😊

 

But there's definitely room for improvement. Another obvious improvement it to provide an array of pre\post-build actions. Seem easier to program as well, but apparently it's a difficult request.

 

Have a nice weekend!

0 Kudos
Message 23 of 23
(577 Views)