0
Flex - compc define value is wrong
New Here
,
/t5/animate-discussions/flex-compc-define-value-is-wrong/td-p/7529418
Aug 31, 2015
Aug 31, 2015
Copy link to clipboard
Copied
hi team
I have the following ant task in build.xml for building Flex application:
<compc output="target/src">
<define name="CONFIG::gitHash" value="'${git.hash}'"/>
</compc>
where git.hash - hash of build in Jenkins. I already checked that this value is correct at building time of application (using <echo message>).
in Flex application I extract this value like that:
public const hash: String = CONFIG::gitHash;
when application is running, sometimes it display previous value of CONFIG::gitHash (value from previous deployment) .
Where is this global compile const could be saved (in session or in file), and why it contains wrong value?
thanks in advance
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
vas_sar
AUTHOR
New Here
,
LATEST
/t5/animate-discussions/flex-compc-define-value-is-wrong/m-p/7529419#M153995
Aug 31, 2015
Aug 31, 2015
Copy link to clipboard
Copied
I have Adobe Flash Player version: 18.0.0.209; IE9; OS: Windows 7 64 bits
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

