cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sandy_2008
Level 7

how to add build-time variable?

How can I add a build-time/compile-time variable??
Labels (1)
0 Kudos
(5) Replies
sandy_2008
Level 7

I have an environment variable. How will the IA access it during build time?
0 Kudos
pv7721
Level 20

Quoting from the manual:

$lax.nl.env.[ENVIRONMENT VARIABLE NAME]$

[Windows and UNIX only]: Access any system environment variable (for example, access PATH via $lax.nl.env.PATH$) by specifying the variable name as an all upper case string. These variables are resolved at application runtime, when LaunchAnywhere executes. Developers can also access system environment variables via LaunchAnywhere properties.

This variable is read-only
0 Kudos
sandy_2008
Level 7

These variables are resolved at runtime. I want variables that can be resolved at compile/build time.
0 Kudos
Frenchy
Level 5

Hi, Did you ever get an answer to your question. I have the same situation.
0 Kudos
RobertDickau
Flexera Alumni

Source paths are a type of build-time variable; you can define a system environment variable IA_PATH_VARNAME, after which $VARNAME$ can be used in your source-file paths and the value will be evaluated at build time. For more information, please search for "source paths" in the user guide.
0 Kudos