This is a message.

Forum user: zeaphoo

Basic information

Registered Feb 23, 2009
Last login Jan 25, 2011
Forum posts 2
Direct URL http://www.flowplayer.org/forum/users/8637

Latest forum posts

Posts:

Registered:

» » » » » » » » Compiling instructions

Posted: Feb 24, 2009

I comment the following line in build.xml:


<!--arg line="-define+=CONFIG::versionStatus,'${version-status-quoted}'" />
<arg line="-define+=CONFIG::controlsVersion,'${controls-version-info-quoted}'" />
<arg line="-define+=CONFIG::audioVersion,'${audio-version-info-quoted}'" /-->

And I also edith the as file srcactionscript-commercialorgflowplayerconfigVersionInfo.as, like
replace
return controlVersion;
with
return "3.0.3";
And finally it comiled, seems work fine.

I also test the command line build script, which same as the in the build.xml, same error occured. So I think it maybe related to the too much args in windows.

Posts:

Registered:

» » » » » » » Compiling instructions

Posted: Feb 23, 2009

I'm using java 6, apache ant 1.7.1 and Flex SDK 3.2 on Window.
Same problem.
When i changed the line
<property name="version-status" value="" />
to
<property name="version-status" value="release" />
in the build.xml.

It compiles and throw out a new error:

compile:
     [echo] Building binary flowplayer.swf
     [exec] Loading configuration file C:programFlex3sdks3.2.0frameworksflex-config.xml
     [exec] D:flowplayersrcactionscriptorgflowplayerviewPreloader.as(1): col: 1 Error: The initializer for a configuration value must be a compile time constant.
     [exec] 
     [exec] package org.flowplayer.view {
     [exec] ^
     [exec] 
     [exec] Result: 1
     [echo] building example
   [delete] Deleting directory D:flowplayeruildexample-free
     [copy] Copying 1 file to D:flowplayeruildexample-free
     [copy] Copying 2 files to D:flowplayeruildexample-free
Since I am new to as, can anyone provides some tips?