Commit f850d417 authored by Anssi Piirainen's avatar Anssi Piirainen
Browse files

new module for building Flowplayer Flash

parents
build
dist
# you need to adjust following to point to your Flex SDK
flexdir=/Users/Api/flex_sdk_4_6
# 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
devkit-dir=../flash/lib/devkit
plugins.dir=../flash/plugins
jsplugins.dir=../flash/js-plugins
lib.dir=../flash/lib
site.dir=/Users/api/hyde/site
js.deploy.dir=${site.dir}/deploy/js
deploy.dir=${site.dir}/content/swf
plugin.buildfiles=viralvideos/build.xml,controls/build.xml,embed/build.xml,ipad/build.xml,playlist/build.xml,bitrateselect/build.xml
jsplugins.buildfiles=controls/build.xml,embed/build.xml,ipad/build.xml,playlist/build.xml,bitrateselect/build.xml
# all plugins
allplugins.buildfiles=analytics/build.xml,audio/build.xml,bwcheck/build.xml,bwcheck/build-httpstreaming.xml \
captions/build.xml,content/build.xml,controls/build.xml,controls/build-tube.xml,controls/build-air.xml,controls/build-skinless.xml, \
f4m/build.xml,httpstreaming/build.xml,pseudostreaming/build.xml,rtmp/build.xml,securestreaming/build.xml, \
sharing/build.xml,slowmotion/build.xml,smil/build.xml,viralvideos/build.xml,securedrm/build.xml, \
bitrateselect/build.xml,menu/build.xml,cluster/build.xml
alljsplugins.buildfiles=controls/build.xml,embed/build.xml,ipad/build.xml,playlist/build.xml,bitrateselect/build.xml
cloudfront.version=1.0
adsense.version=flowplayer.org-1.6.1
# for plugins that can be built inside the player
plugin-classes=${plugins.dir}/controls/src/actionscript ${lib.dir}/common/src/actionscript
#plugin-classes=${plugins.dir}/controls/src/actionscript ${plugins.dir}/pseudostreaming/src/actionscript \
# ${plugins.dir}/rtmp/src/actionscript \
# ${lib.dir}/common/src/actionscript
plugin-swc=${plugins.dir}/controls/src/flash ${plugins.dir}/pseudostreaming/lib
controls-dir=${plugins.dir}/controls
compiler.defines=
# following can usually be left as they are
flexbindir=${flexdir}/bin
flexlibsdir=${flexdir}/frameworks/libs
flashplayer_bin=
framerate=24
bgcolor=0xFFFFFF
width=500
height=350
# Flash Player targets
flash.use.10.1=true
flash.target.player=10.2.0
This diff is collapsed.
<project name="Common build file used by JS plugins" default="min">
<!-- additional tasks -->
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
<property name="shortname" value="${ant.project.name}"/>
<condition property="basename" value="${shortname}" else="flowplayer.${shortname}">
<equals arg1="${shortname}" arg2="flowplayer"/>
</condition>
<property name="source.file" value="${basedir}/${basename}.js"/>
<property name="jar_home" value="../../../flash-build/lib"/>
<property name="rhino" value="${jar_home}/rhino.jar"/>
<property name="yui.path" value="${jar_home}/yuicompressor-2.4.2.jar"/>
<property file="../release/build.properties" />
<!-- target dir is dynamic -->
<var name="target.dir" value="${basedir}/../../../flash-build/dist"/>
<if>
<contains string="${basedir}" substring="/tools/"/>
<then>
<var name="target.dir" value="${target.dir}/tools"/>
</then>
</if>
<!-- lint (http://www.jslint.com/lint.html) -->
<target name="lint">
<java jar="${rhino}" fork="true">
<arg value="${DEVKIT_HOME}/lib/jslint.js" />
<arg value="${basename}.js" />
</java>
</target>
<!-- copy source file & update tokens -->
<target name="source">
<property name="target.file" value="${target.dir}/${basename}-${version}.js"/>
<copy file="${source.file}" tofile="${target.file}" overwrite="true"/>
<echo message="${source.file} --> ${target.file} copied" />
<exec executable="svn" outputproperty="svnlog.out" >
<arg line="info ."/>
</exec>
<propertyregex property="revision" input="${svnlog.out}" select="\1">
<regexp pattern="Revision: ([0-9]*)"/>
</propertyregex>
<propertyregex property="date" input="${svnlog.out}" select="\1">
<regexp pattern="Date: (.+\))"/>
</propertyregex>
<replaceregexp match="@VERSION" replace="${version}" flags="g" byline="true"
file="${target.file}" />
<replaceregexp match="@DATE" replace="${date}" file="${target.file}" />
<replaceregexp match="@REVISION" replace="${revision}" file="${target.file}" />
<echo message="${target.file} build" />
</target>
<!-- yuicompress: http://www.julienlecomte.net/blog/2007/09/16/ -->
<target name="min" depends="source">
<!--<property name="target.file" value="${target.dir}/${basename}-${version}.min.js"/>-->
<!--<property name="minified.file" value="${target.dir}/${basename}-tmp.min.js"/>-->
<apply executable="/usr/bin/java" parallel="false">
<fileset file="${target.file}"/>
<arg line="-jar"/>
<arg path="${yui.path}"/>
<srcfile/>
<arg line="-o"/>
<mapper type="glob" from="*.js" to="${target.dir}/*.min.js"/>
<targetfile/>
</apply>
<replaceregexp match="/\*!" replace="/\*\*" file="${target.file}" />
<echo message="${target.file} minified"/>
</target>
<!-- for releases.yaml file generation -->
<target name="write-version">
<echo message="writing ${basename}: ${version} to ${yaml-file}" />
<echo file="${yaml-file}" append="true" message=" ${shortname}: ${version}${line.separator}" />
</target>
<target name="write-filesize">
<length property="filesize" file="${target.dir}/${basename}-${version}.js" />
<echo file="${yaml-file}" append="true" message=" ${basename}.js: ${filesize}${line.separator}" />
</target>
<target name="write-dist-info">
<echo file="${dist-file}" append="true" message="${basename}:${line.separator}" />
<echo file="${dist-file}" append="true" message=" folder: ${basename}${line.separator}" />
<echo file="${dist-file}" append="true" message=" files:${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${basename}-${version}.js${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${basename}-${version}.min.js${line.separator}" />
</target>
<target name="deploy" if="js.deploy.dir">
<property name="target.file" value="${target.dir}/${basename}-${version}.min.js"/>
<echo message="copying ${target.file}" />
<copy file="${target.file}" todir="${js.deploy.dir}" />
<copy file="${basedir}/${basename}.js" todir="${js.deploy.dir}" />
</target>
</project>
File added
<?xml version="1.0" encoding="UTF-8"?>
<componentPackage>
<component id="Flowplayer" class="org.flowplayer.view.Flowplayer"/>
<component id="PropertyBinder" class="org.flowplayer.util.PropertyBinder" />
<component id="Arrange" class="org.flowplayer.util.Arrange" />
<component id="Assert" class="org.flowplayer.util.Assert" />
<component id="PluginEvent" class="org.flowplayer.model.PluginEvent" />
<component id="TextUtil" class="org.flowplayer.util.TextUtil" />
<component id="AbstractSprite" class="org.flowplayer.view.AbstractSprite" />
<component id="StyleableSprite" class="org.flowplayer.view.StyleableSprite" />
<component id="AutomationEngine" class="org.flowplayer.view.AnimationEngine" />
<component id="NetStreamControllingStreamProvider" class="org.flowplayer.controller.NetStreamControllingStreamProvider" />
<component id="Plugin" class="org.flowplayer.model.Plugin" />
<component id="PluginModel" class="org.flowplayer.model.PluginModel" />
<component id="DisplayPluginModel" class="org.flowplayer.model.DisplayPluginModel" />
<component id="ProviderPlugin" class="org.flowplayer.model.ProviderModel" />
<component id="GraphicsUtil" class="org.flowplayer.util.GraphicsUtil" />
<component id="URLUtil" class="org.flowplayer.util.URLUtil" />
<component id="Animation" class="org.flowplayer.view.AnimationEngine" />
<component id="Log" class="org.flowplayer.util.Log" />
<component id="JSON" class="com.adobe.serialization.json.JSONforFP" />
<!--<component id="Log" class="org.flowplayer.view.FlowplayerComponent" />-->
</componentPackage>
# you need to adjust following to point to your Flex SDK
flexdir=/Users/api/flex_sdk_4_6
# change this if you want the compiled plugin to be copied to some dir
deploy_dir=../../../flash-build
flowplayer_lib=../../../flash/core/build/flowplayer.swc
# change following to point to .exe files when running on Windows
mxmlc_bin= ${flexbindir}/mxmlc
compc_bin= ${flexbindir}/compc
asdoc_bin= {flexbindir}/asdoc
# following can usually be left as they are
flexbindir=${flexdir}/bin
flexlibsdir=${flexdir}/frameworks/libs
flashplayer_bin=
framerate=31
bgcolor=0xFFFFFF
width=500
height=350
flash.use.10.1=true
flash.target.player=10.2.0
#flash.use.10.1=false
\ No newline at end of file
<project name="Flowplayer plugin base build file (included in the actual plugin specific build.xml files)">
<property file="build.generated.properties"/>
<property file="${user.home}/plugin.properties" />
<property file="plugin-build.properties" />
<property name="src" value="src" />
<property name="src-as" value="${src}/actionscript" />
<property name="src-js" value="${src}/javascript" />
<property name="build-dir" value="build" />
<property name="example-dir" value="example" />
<property name="dist-dir" value="dist" />
<property name="lib-dir" value="lib" />
<property name="flex-libs-path" value="${flexlibsdir}/advancedgrids.swc ${flexlibsdir}/charts.swc ${flexlibsdir}/flash-integration.swc ${flexlibsdir}/spark.swc ${flexlibsdir}/sparkskins.swc ${flexlibsdir}/authoringsupport.swc ${flexlibsdir}/core.swc ${flexlibsdir}/framework.swc ${flexlibsdir}/rpc.swc ${flexlibsdir}/spark_dmv.swc ${flexlibsdir}/textLayout.swc" />
<property name="flowplayer-js-version-info" value="3.1.4" />
<property name="src-flowplayer" value="../flash/core" />
<property name="plugin-swc" value="${basename}.swc" />
<property name="plugin-swc-versioned" value="${basename}-${version}.swc" />
<condition property="extra.libs" value="${plugin-libs}" else="">
<isset property="plugin-libs" />
</condition>
<macrodef name="build-plugin">
<attribute name="plugin-main-class" />
<attribute name="plugin-binary" />
<sequential>
<echo message="++ @{plugin-binary} +++">
</echo>
<antcall target="prepare" />
<antcall target="compile">
<param name="plugin-binary" value="@{plugin-binary}" />
<param name="plugin-main-class" value="@{plugin-main-class}" />
</antcall>
</sequential>
</macrodef>
<target name="clean">
<echo message="cleaning ${basename}" />
<delete>
<fileset dir="${build-dir}">
<include name="*swf" />
<include name="*swc" />
</fileset>
</delete>
</target>
<macrodef name="mxmlc.compile">
<attribute name="src" default="${src-as}" />
<attribute name="plugin-main-class" default="${plugin-main-class}" />
<attribute name="out" default="${plugin-binary}" />
<attribute name="libs" default="" />
<sequential>
<condition property="libs" value="" else="-include-libraries @{libs}">
<equals arg1="@{libs}" arg2="" />
</condition>
<condition property="pluginruntimelibs1" value="-runtime-shared-library-path+=${plugin-runtime-lib-swc1},library.swf" else="">
<isset property="plugin-runtime-lib-swc1" />
</condition>
<condition property="pluginruntimelibs2" value="-runtime-shared-library-path+=${plugin-runtime-lib-swc2},library.swf" else="">
<isset property="plugin-runtime-lib-swc2" />
</condition>
<condition property="pluginruntimelibs3" value="-runtime-shared-library-path+=${plugin-runtime-lib-swc3},library.swf" else="">
<isset property="plugin-runtime-lib-swc3" />
</condition>
<condition property="mxmlc-library-path" value="${library-path}" else="">
<isset property="library-path" />
</condition>
<condition property="mxmlc-define" value="-define=${compiler-define}" else="">
<isset property="compiler-define" />
</condition>
<condition property="mxmlc-defines" value="${compiler-defines}" else="">
<isset property="compiler-defines" />
</condition>
<condition property="mxmlc-sources" value="${extra-sources}" else="">
<isset property="extra-sources" />
</condition>
<echo message="compiling with ${mxmlc-library-path}" />
<echo message="compiling with ${mxmlc-define} ${mxmlc-defines}" />
<exec executable="${mxmlc_bin}" failonerror="true">
<arg line="-source-path @{src} ${mxmlc-library-path} ${mxmlc-sources}" />
<arg line="${mxmlc-define}" />
<arg line="${mxmlc-defines}" />
<arg line="${libs}" />
<arg line="-library-path ${flex-libs-path} ${mxmlc-library-path}" />
<arg line="-runtime-shared-library-path=${flowplayer_lib},library.swf" />
<arg line="${pluginruntimelibs1}" />
<arg line="${pluginruntimelibs2}" />
<arg line="${pluginruntimelibs3}" />
<arg line="-default-frame-rate=${framerate}" />
<arg line="-default-background-color=${bgcolor}" />
<arg line="-strict=true" />
<arg line="-keep-as3-metadata=Value,External" />
<arg line="'${src-as}/@{plugin-main-class}'" />
<arg line="-output '${build-dir}/@{out}'" />
<arg line="-incremental=false"/>
</exec>
</sequential>
</macrodef>
<macrodef name="compc.compile">
<attribute name="src" default="${src-as}" />
<attribute name="sources" default="." />
<attribute name="out" default="${plugin-binary}" />
<attribute name="libs" default="" />
<sequential>
<condition property="libs" value="" else="-include-libraries @{libs}">
<equals arg1="@{libs}" arg2="" />
</condition>
<condition property="pluginruntimelibs1" value="-runtime-shared-library-path+=${plugin-runtime-lib-swc1},library.swf" else="">
<isset property="plugin-runtime-lib-swc1" />
</condition>
<condition property="pluginruntimelibs2" value="-runtime-shared-library-path+=${plugin-runtime-lib-swc2},library.swf" else="">
<isset property="plugin-runtime-lib-swc2" />
</condition>
<condition property="pluginruntimelibs3" value="-runtime-shared-library-path+=${plugin-runtime-lib-swc3},library.swf" else="">
<isset property="plugin-runtime-lib-swc3" />
</condition>
<condition property="compc-library-path" value="${library-path}" else="">
<isset property="library-path" />
</condition>
<condition property="compc-define" value="-define=${compiler-define}" else="">
<isset property="compiler-define" />
</condition>
<condition property="compc-sources" value="${extra-sources}" else="">
<isset property="extra-sources" />
</condition>
<condition property="compc-defines" value="${compiler-defines}" else="">
<isset property="compiler-defines" />
</condition>
<echo message="compiling lbrary with ${compc-library-path}" />
<echo message="compiling with ${compc-define}" />
<exec executable="${compc_bin}" failonerror="true">
<arg line="-source-path @{src} ${compc-sources}" />
<arg line="${libs}" />
<arg line="${compc-define}" />
<arg line="${compc-defines}" />
<arg line="-library-path ${flexdir}/frameworks/locale/en_US ${flex-libs-path} ${flowplayer_lib} ${compc-library-path}" />
<arg line="-include-sources @{src}" />
<arg line="-strict=true" />
<arg line="-keep-as3-metadata=External" />
<arg line="-output '${build-dir}/@{out}'" />
</exec>
</sequential>
</macrodef>
<macrodef name="prepare-example">
<attribute name="player-swf" />
<attribute name="main-swf" />
<sequential>
<copy todir="${build-dir}/example" overwrite="true">
<fileset dir="../flash/lib/devkit/example">
<include name="*.tmpl" />
</fileset>
<mapper type="glob" from="*.tmpl" to="*" />
<filterset begintoken="@" endtoken="@">
<filter token="FLOWPLAYER_JS_VERSION_INFO" value="${flowplayer-js-version-info}" />
<filter token="PLAYER_SWF" value="../@{player-swf}" />
<filter token="MAIN_PLAYER_SWF" value="../@{main-swf}" />
</filterset>
</copy>
<copy todir="${build-dir}/example">
<fileset dir="../flash/lib/devkit/example">
<exclude name="*.tmpl"/>
<include name="*.js" />
<include name="*.html" />
<include name="*.css" />
<include name="*.png" />
<include name="*.jpg" />
<include name="*.swf" />
<include name="*.txt" />
<include name="**/css/*" />
<include name="**/images/*" />
</fileset>
</copy>
<copy todir="${build-dir}">
<fileset dir="${src-flowplayer}/build">
<include name="*.swf" />
</fileset>
</copy>
<echo message="copying js files to build/example" />
<copy todir="${build-dir}/example" overwrite="true">
<fileset dir="${src-flowplayer}/build">
<include name="*.js" />
</fileset>
</copy>
</sequential>
</macrodef>
<target name="library" depends="build" description="builds the plugin lib">
<compc.compile src="${src-as}" libs="${extra.libs}" sources="." out="${plugin-swc}" />
<copy file="${build-dir}/${plugin-swc}" tofile="${build-dir}/${plugin-swc-versioned}">
</copy>
</target>
<target name="compile" unless="pluginproxy">
<mxmlc.compile src="${src-as}" libs="${extra.libs}" out="${plugin-binary}" plugin-main-class="${plugin-main-class}" />
<!--<antcall target="example" />-->
</target>
<target name="example" depends="build" description="prepare the plugin example html files">
<prepare-example player-swf="flowplayer.swf" main-swf="${plugin-binary-versioned}"/>
</target>
<target name="build" description="builds all" unless="pluginproxy">
<build-plugin plugin-binary="${plugin-binary}" plugin-main-class="${plugin-main-class}" />
<copy file="${build-dir}/${plugin-binary}" tofile="${build-dir}/${plugin-binary-versioned}" />
</target>
<target name="deploy" description="Deploys the plugin into the target dir" depends="build" unless="pluginproxy">
<available file="${deploy_dir}" property="deploy.dir.exists" />
<antcall target="_deploy" />
</target>
<target name="_deploy" if="deploy.dir.exists">
<echo message="deploying plugin to ${deploy_dir}" />
<copy file="${build-dir}/${plugin-binary}" todir="${deploy_dir}/${build-dir}" overwrite="true" />
<copy file="${build-dir}/${plugin-binary-versioned}" todir="${deploy_dir}/${build-dir}" overwrite="true" />
<copy file="${build-dir}/${plugin-binary-versioned}" todir="${deploy_dir}/${dist-dir}" overwrite="true" />
<!--<copy file="${build-dir}/${plugin-binary}" tofile="${deploy_dir}/${build-dir}/${basename}-dev.swf" overwrite="true" />-->
</target>
<target name="dist" description="Copies the distributaion packages into a target dir" depends="zip, source-zip" unless="pluginproxy">
<echo message="Copying dist zip to ${deploy-dir}" />
<copy file="${dist-dir}/${basename}-${version}.zip" todir="${deploy_dir}/${dist-dir}" overwrite="true" />
<copy file="${dist-dir}/${basename}-${version}-src.zip" todir="${deploy_dir}/${dist-dir}" overwrite="true" />
<delete dir="${dist-dir}/${basename}"/>
<unzip src="${dist-dir}/${basename}-${version}.zip" dest="${dist-dir}" />
<echo message="Copying swfs to ${deploy-dir}" />
<copy file="${dist-dir}/${basename}/${plugin-binary-versioned}" todir="${deploy_dir}/${dist-dir}" overwrite="true" failonerror="false" verbose="true" />
<copy file="${dist-dir}/${basename}/${plugin-binary-versioned}" todir="${deploy_dir}/build" overwrite="true" failonerror="false" verbose="true" />
</target>
<target name="prepare" unless="pluginproxy">
<mkdir dir="${example-dir}" />
<mkdir dir="${build-dir}" />
<mkdir dir="${dist-dir}" />
<copy file="${flowplayer_lib}" todir="${build-dir}" />
<unzip dest="${build-dir}">
<fileset file="${flowplayer_lib}" />
</unzip>
</target>
<target name="zip" unless="pluginproxy">
<zip destfile="${dist-dir}/${basename}-${version}.zip">
<zipfileset prefix="${basename}" dir="${basedir}">
<include name="LICENSE.txt" />
<include name="README.txt" />
</zipfileset>
<zipfileset prefix="${basename}" dir="${build-dir}">
<include name="${plugin-binary-versioned}" />
</zipfileset>
</zip>
<echo message="copying to ${dist-dir}/${basename}.zip" />
<copy file="${dist-dir}/${basename}-${version}.zip" tofile="${dist-dir}/${basename}.zip" overwrite="true" />
<copy file="${dist-dir}/${basename}-${version}.zip" tofile="${dist-dir}/${basename}-${version}-${flash.target.player}.zip" overwrite="true" />
</target>
<target name="zip-swc">
<zip destfile="${dist-dir}/${basename}-${version}.swc.zip">
<zipfileset prefix="${basename}" dir="../flash/lib/devkit">
<include name="LICENSE.txt" />
<include name="README-swc.txt" />
</zipfileset>
<zipfileset prefix="${basename}" dir="${build-dir}">
<include name="${plugin-swc-versioned}" />
</zipfileset>
</zip>
</target>
<target name="zip-with-examples">
<zip destfile="${dist-dir}/${basename}-${version}.zip">
<zipfileset prefix="${basename}" dir="../flash/lib/devkit">
<include name="LICENSE.txt" />
<include name="README.txt" />
</zipfileset>
<zipfileset prefix="${basename}" dir="${build-dir}">
<include name="${plugin-binary-versioned}" />
<include name="flowplayer.swf" />
<include name="flowplayer.controls.swf" />
<include name="example/*" />
</zipfileset>
</zip>
</target>
<target name="write-zip-url">
<echo message="writing to ${url-file}" />
<echo file="${url-file}" append="true">&#60;a href="http://flowplayer-releases.s3.amazonaws.com/${basename}/${basename}.zip"&#62;${basename}.zip&#60;/a&#62; &#60;br /&#62;
</echo>
</target>
<target name="write-version">
<echo file="${yaml-file}" append="true"> ${shortname}: ${version}${line.separator}</echo>
</target>
<target name="write-filesize">
<length property="filesize" file="${build-dir}/${plugin-binary}" />
<echo file="${yaml-file}" append="true" message=" ${plugin-binary}: ${filesize}${line.separator}" />
<length property="zip.filesize" file="${dist-dir}/${basename}-${version}.zip" />
<echo file="${yaml-file}" append="true" message=" ${basename}.zip: ${zip.filesize}${line.separator}" />
</target>
<target name="write-dist-info">
<echo file="${dist-file}" append="true" message="${basename}:${line.separator}" />
<echo file="${dist-file}" append="true" message=" folder: ${releasedir}${line.separator}" />
<echo file="${dist-file}" append="true" message=" files:${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${basename}-${version}.zip${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${basename}-${version}.swf${line.separator}" />
</target>
<target name="source-zip" depends="prepare" unless="pluginproxy">
<zip destfile="${dist-dir}/${basename}-${version}-src.zip">
<zipfileset prefix="${basename}" dir="${basedir}">
<include name="LICENSE.txt" />
<include name="README.txt" />
<include name="build.xml" />
<include name="build.properties" />
</zipfileset>
<zipfileset prefix="${basename}/${src}" dir="${src}">
<include name="**/*" />
</zipfileset>
</zip>
<copy file="${dist-dir}/${basename}-${version}-src.zip" tofile="${dist-dir}/${basename}-src.zip" />
</target>
<target name="echo-name">
<echo message="${plugin-binary-versioned}" />
</target>
<target name="zip-swfs">
<updatezip zip="${all-swf-zip}">
<zipfiles>
<fileset dir="${build-dir}">
<include name="${basename}.swf" />
</fileset>
</zipfiles>
</updatezip>
</target>
</project>
\ No newline at end of file
<project name="Flowplayer release" default="release">
<property file="build.properties" />
<property file="${user.home}/fprelease.properties" />
<import file="build.xml"/>
<target name="zip-core-swfs">
<delete file="${dist-dir}/latest.zip" verbose="true"/>
<updatezip zip="${dist-dir}/latest.zip">
<zipfiles>
<fileset dir="${build-dir}">
<include name="flowplayer.swf"/>
<include name="flowplayer.commercial.swf"/>
</fileset>
</zipfiles>
</updatezip>
</target>
<target name="zip-swfs" depends="zip-core-swfs">
<iterate-plugins target="zip-swfs" buildfiles="${allplugins.buildfiles}" />
</target>
<target name="deploy-release-yaml" depends="generate-release-yaml">
<copy file="${core-dir}/dist/releases.yaml" todir="${site.dir}" />
</target>
<target name="generate-url-file" description="generates a text file with paths to plugin zip files in flowplayer.org">
<!--<property name="url-file-from-plugins" value="${basedir}/dist/dist.html" />-->
<property name="url-file" value="${basedir}/dist/dist.html" />