Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Flex - compc define value is wrong

New Here ,
Aug 31, 2015 Aug 31, 2015

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
410
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 31, 2015 Aug 31, 2015
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines