Hi

It seems to me that "PLAYERGLOBAL_VERSION" does not work for me for whatever
reason:
After setting "PLAYERGLOBAL_VERSION=28.0" the script is still complaining
that "playerglobal.version" should 11.1.
So I removed "PLAYERGLOBAL_VERSION" and set "PLAYERGLOBAL_HOME" to
playerglobal.swc version 11.1.
This works but after a while, a new issue occurs ("Language.swc is not
found?") [1].

However, if I understand it correctly, you want from me to remove those
lines [2] from the approval script in order to test if it works without the
AIR/Flash dependencies.
So I've removed those ENV vars
(AIR_HOME/PLAYERGLOBAL_HOME/FLASHPLAYER_DEBUGGER) and executes the modified
script.
It looks good but the build failed cause of an issue with the
DataBindingExample_Flat [3].
It complains that "frameworks\libs\Flat.swc is not found"... I took a look
at the folder and it is there.

I am done for today but two questions are left for now:
My understanding is that we have automated builds.
Why do we need to test the build process locally instead of just using an
automatically created  (release candidate) build in order to approve a
release?
How does the approval script work without providing those ENV vars?

Thanks,
Olaf


[1]
Writing file: js\out\org\apache\royale\utils\Language.js
4.30332045 seconds
Copying 1 file to
C:\local\apache-royale\release-process\apache-royale-0.9.0-src                  
                                                                             
\royale-asjs\frameworks\js\libs

main:

copy-swc:

BUILD FAILED
C:\local\apache-royale\release-process\ApproveRoyale.xml:742: The following
erro                                                                            
                   
r occurred while executing this line:
C:\local\apache-royale\release-process\apache-royale-0.9.0-src\royale-asjs\build
                                                                                
               
.xml:643: The following error occurred while executing this line:
C:\local\apache-royale\release-process\apache-royale-0.9.0-src\royale-asjs\frame
                                                                                
               
works\build.xml:111: The following error occurred while executing this line:
C:\local\apache-royale\release-process\apache-royale-0.9.0-src\royale-asjs\frame
                                                                                
               
works\build.xml:293: The following error occurred while executing this line:
C:\local\apache-royale\release-process\apache-royale-0.9.0-src\royale-asjs\frame
                                                                                
               
works\projects\Language\build.xml:44: Warning: Could not find file
C:\local\apac                                                                   
                            
he-royale\release-process\apache-royale-0.9.0-src\royale-asjs\frameworks\project
                                                                                
               
s\Language\target\Language.swc to copy.

Total time: 18 minutes 23 seconds

[2]
        <available file="${env.AIR_HOME}"
                type="dir" 
                property="AIR_HOME" value="${env.AIR_HOME}" />

    <fail message="The AIR_HOME property is not set in environment or
command-line."
        unless="AIR_HOME"/>
                
    <available file="${env.PLAYERGLOBAL_HOME}"
        type="dir"
        property="PLAYERGLOBAL_HOME" value="${env.PLAYERGLOBAL_HOME}" />
    
    <fail message="The PLAYERGLOBAL_HOME property is not set in environment
or command-line."
        unless="PLAYERGLOBAL_HOME"/>
    
    <available file="${env.FLASHPLAYER_DEBUGGER}"
        type="file"
        property="FLASHPLAYER_DEBUGGER" value="${env.FLASHPLAYER_DEBUGGER}"
/>
    
    <fail message="The FLASHPLAYER_DEBUGGER property is not set in
environment or command-line."
        unless="FLASHPLAYER_DEBUGGER"/>


[3]
--
C:\local\apache-royale\release-process\apache-royale-0.9.0-src\royale-asjs\examp
                                                
les\royale\DataBindingExample_Flat/src/main/royale/DataBindingExample.mxml
2.045206633 seconds
C:\local\apache-royale\release-process\apache-royale-0.9.0-src\royale-asjs\examp
                                                
les\royale\DataBindingExample_Flat\src\main\config\compile-app-config.xml(26):
c                                                 ol: 0 unable to open
'C:\local\apache-royale\release-process\apache-royale-0.9.0                     
                           
-src\royale-asjs\frameworks\libs\Flat.swc'.
C:\local\apache-royale\release-process\apache-royale-0.9.0-src\royale-asjs\examp
                                                
les\royale\DataBindingExample_Flat\src\main\config\compile-app-config.xml
(line:                                                  26)

        </theme>



BUILD FAILED
C:\local\apache-royale\release-process\ApproveRoyale.xml:722: The following
erro                                                 r occurred while
executing this line:
C:\local\apache-royale\release-process\apache-royale-0.9.0-src\royale-asjs\build
                                                
.xml:635: The following error occurred while executing this line:
C:\local\apache-royale\release-process\apache-royale-0.9.0-src\royale-asjs\examp
                                                
les\build.xml:85: The following error occurred while executing this line:
C:\local\apache-royale\release-process\apache-royale-0.9.0-src\royale-asjs\examp
                                                
les\build_example.xml:157: mxmlc task failed.

Total time: 23 minutes 29 seconds




--
Sent from: http://apache-royale-development.20373.n8.nabble.com/

Reply via email to