Skip to main content
Participant
August 31, 2015
Question

Flex - compc define value is wrong

  • August 31, 2015
  • 1 reply
  • 428 views

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

This topic has been closed for replies.

1 reply

vas_sarAuthor
Participant
August 31, 2015

I have Adobe Flash Player version: 18.0.0.209; IE9; OS: Windows 7 64 bits