Hi,
I'm sorry if this has been covered before, but I couldn't find my exact error message when I searched for it. I'm trying to build Flowplayer from source. (I don't know anything about Flash, but I'm a pretty seasoned open source developer.) I'm following the instructions here:http://flowplayer.org/documentation/developer/development-environment.html. When I try to run ant to build flowplayer.core, I get the following error:
I think the problem is that we haven't checked out flowplayer.controls yet. The instructions didn't say to do that yet.
Continuing on with the instructions, I tried to build flowplayer.controls, and I ended up with:
That one looks tougher!
Here's what my environment looks like:
I have fresh svn checkouts of all the Flowplayer stuff.
I'm sorry if this has been covered before, but I couldn't find my exact error message when I searched for it. I'm trying to build Flowplayer from source. (I don't know anything about Flash, but I'm a pretty seasoned open source developer.) I'm following the instructions here:http://flowplayer.org/documentation/developer/development-environment.html. When I try to run ant to build flowplayer.core, I get the following error:
Buildfile: build.xml
check-uptodate:
[echo] main up-to-date: ${uptodate.main}
[echo] main up-to-date: ${uptodate.commercial}
[echo] lib up-to-date: ${uptodate.lib}
build-lib:
prepare:
[mkdir] Created dir: /home/jj/Work/247fps/git/flowplayer/flowplayer.core/build/example
[mkdir] Created dir: /home/jj/Work/247fps/git/flowplayer/flowplayer.core/dist
compile-lib:
[exec] Loading configuration file /usr/local/flex_sdk_3.4/frameworks/flex-config.xml
[exec] Adobe Compc (Flex Component Compiler)
[exec] Version 3.4.0 build 9271
[exec] Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.
[exec]
[exec] command line: Error: unable to open '../controls/src/actionscript'
[exec]
[exec] Use 'compc -help' for information about using the command line.
BUILD FAILED
/home/jj/Work/247fps/git/flowplayer/flowplayer.core/build.xml:181: The following error occurred while executing this line:
/home/jj/Work/247fps/git/flowplayer/flowplayer.core/build.xml:187: exec returned: 1
Total time: 1 second
I think the problem is that we haven't checked out flowplayer.controls yet. The instructions didn't say to do that yet.
Continuing on with the instructions, I tried to build flowplayer.controls, and I ended up with:
Buildfile: build.xml
build:
[echo] ++ flowplayer.controls.swf +++
[echo]
[echo] checking if flowplayer.controls.swf is uptodate
[echo] main up-to-date: ${uptodate.main}
prepare:
[mkdir] Created dir: /home/jj/Work/247fps/git/flowplayer/flowplayer.controls/example
[mkdir] Created dir: /home/jj/Work/247fps/git/flowplayer/flowplayer.controls/build
[mkdir] Created dir: /home/jj/Work/247fps/git/flowplayer/flowplayer.controls/dist
[copy] Copying 1 file to /home/jj/Work/247fps/git/flowplayer/flowplayer.controls/build
[unzip] Expanding: /home/jj/Work/247fps/git/flowplayer/flowplayer.devkit/flowplayer.swc into /home/jj/Work/247fps/git/flowplayer/flowplayer.controls/build
compile:
[echo] compiling with src/flash/default
[echo] compiling with -define=CONFIG::skin,'true'
[exec] Loading configuration file /usr/local/flex_sdk_3.4/frameworks/flex-config.xml
[exec] /home/jj/Work/247fps/git/flowplayer/flowplayer.controls/src/actionscript/org/flowplayer/controls/ControlsAutoHide.as(189): col: 26 Error: Call to a possibly undefined method dispatchBeforeEvent through a reference with static type org.flowplayer.model:PluginModel.
[exec]
[exec] if (! _model.dispatchBeforeEvent(PluginEventType.PLUGIN_EVENT, "onBeforeHidden")) {
[exec] ^
[exec]
[exec] /home/jj/Work/247fps/git/flowplayer/flowplayer.controls/src/actionscript/org/flowplayer/controls/ControlsAutoHide.as(223): col: 26 Error: Call to a possibly undefined method dispatchBeforeEvent through a reference with static type org.flowplayer.model:PluginModel.
[exec]
[exec] if (! _model.dispatchBeforeEvent(PluginEventType.PLUGIN_EVENT, "onBeforeShowed")) {
[exec] ^
[exec]
BUILD FAILED
/home/jj/Work/247fps/git/flowplayer/flowplayer.devkit/plugin-build.xml:220: The following error occurred while executing this line:
/home/jj/Work/247fps/git/flowplayer/flowplayer.devkit/plugin-build.xml:29: The following error occurred while executing this line:
/home/jj/Work/247fps/git/flowplayer/flowplayer.devkit/plugin-build.xml:211: The following error occurred while executing this line:
/home/jj/Work/247fps/git/flowplayer/flowplayer.devkit/plugin-build.xml:95: exec returned: 2
Total time: 8 seconds
That one looks tougher!
Here's what my environment looks like:
$ uname -a
Linux jjinux 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 i686 GNU/Linux
$ ant -version
Apache Ant version 1.7.1 compiled on June 27 2008
$ javac -version
javac 1.6.0_16
$ mxmlc -version
Version 3.4.0 build 9271
I have fresh svn checkouts of all the Flowplayer stuff.