Commit 1283746b authored by Aaron Wells's avatar Aaron Wells
Browse files

Changing built filenames

Still can't figure out how to rename the "flowplayer.js" file to
"mahara-flashplayer.js" though.
parent dd34d164
# you need to adjust following to point to your Flex SDK
flexdir=/opt/flowplayer/flex3sdk
#flexdir=/Users/Api/flex_sdk_4_6
#flexdir=/opt/flowplayer/flex3sdk
flexdir=/home/aaronw/programs/flex_sdk
# change following to point to .exe files when running on Windows
mxmlc_bin= ${flexbindir}/mxmlc
compc_bin= ${flexbindir}/compc
asdoc_bin= /Users/Api/flex_sdk_3/bin/asdoc
#asdoc_bin= /Users/Api/flex_sdk_3/bin/asdoc
asdoc_bin= ${flexbindir}/asdoc
devkit-dir=../flash/lib/devkit
plugins.dir=../flash/plugins
jsplugins.dir=../flash/js-plugins
lib.dir=../flash/lib
site.dir=/Users/api/github/site
#site.dir=/Users/api/github/site
site.dir=/home/aaronw/mahara-flashplayer
js.deploy.dir=${site.dir}/deploy/js
deploy.dir=${site.dir}/content/swf
......
<project name="Flowplayer" default="build">
<project name="Mahara-flashplayer" default="build">
<taskdef name="flatten" classname="org.flowplayer.ant.Flatten" classpath="lib/ant-task.jar"/>
<property file="build.generated.properties"/>
......@@ -70,11 +70,11 @@
<property name="library-binary" value="flowplayer.swc"/>
<property name="library-binary-versioned" value="flowplayer-${version-info}.swc"/>
<property name="player-binary" value="flowplayer.swf"/>
<property name="debug-player-binary" value="flowplayer.debug.swf"/>
<property name="player-binary" value="mahara-flashplayer.swf"/>
<property name="debug-player-binary" value="mahara-flashplayer.debug.swf"/>
<property name="commercial-debug-player-binary" value="flowplayer.commercial.debug.swf"/>
<property name="commercial-player-binary" value="flowplayer.commercial.swf"/>
<property name="player-binary-versioned" value="flowplayer-${version-info}.swf"/>
<property name="player-binary-versioned" value="mahara-flashplayer-${version-info}.swf"/>
<property name="commercial-player-binary-versioned" value="flowplayer.commercial-${version-info}.swf"/>
<property name="dist-name" value="flowplayer-${version-info}.zip"/>
......
# you need to adjust following to point to your Flex SDK
flexdir=/opt/flowplayer/flex3sdk
#flexdir=/Users/api/flex_sdk_4_6
#flexdir=/opt/flowplayer/flex3sdk
flexdir=/home/aaronw/programs/flex_sdk
# change this if you want the compiled plugin to be copied to some dir
deploy_dir=../../../flash-build
......
......@@ -216,7 +216,7 @@
</target>
<target name="example" depends="build" description="prepare the plugin example html files">
<prepare-example player-swf="flowplayer.swf" main-swf="${plugin-binary-versioned}"/>
<prepare-example player-swf="mahara-flashplayer.swf" main-swf="${plugin-binary-versioned}"/>
</target>
<target name="build" description="builds all" unless="pluginproxy">
......@@ -299,8 +299,8 @@
</zipfileset>
<zipfileset prefix="${basename}" dir="${build-dir}">
<include name="${plugin-binary-versioned}" />
<include name="flowplayer.swf" />
<include name="flowplayer.controls.swf" />
<include name="mahara-flashplayer.swf" />
<include name="mahara-flashplayer.controls.swf" />
<include name="example/*" />
</zipfileset>
</zip>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment