Flex - compc define value is wrong
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
