Commit 0c0b7813 authored by Anssi Piirainen's avatar Anssi Piirainen
Browse files

fix build script to release the same controls.swf in fllowplayer.zip and in the swf directory

parent 9ec3d799
......@@ -105,7 +105,7 @@
</target>
<target name="deploy" if="deploy.dir" description="copies swf and js to deploy dirs" depends="jsplugins">
<copy todir="${deploy.dir}" overwrite="true" verbose="true">
<copy todir="${deploy.dir}" overwrite="true">
<fileset dir="${build-dir}">
<include name="*swf"/>
</fileset>
......@@ -393,14 +393,14 @@
<!--</exec>-->
</target>
<target name="zip" description="creates a distribution zip package" depends="build">
<target name="zip" description="creates a distribution zip package">
<zip-player zip-name="${dist-name}" player-swf-dir="${build-dir}" player-swf="${player-binary-versioned}"
license="LICENSE.txt" example-dir="example-free"/>
<copy file="${dist-dir}/${dist-name}" tofile="${dist-dir}/flowplayer.zip" />
<copy file="${dist-dir}/${dist-name}" tofile="${dist-dir}/${dist-target-name}" />
</target>
<target name="zip-biz" description="creates a Commercial distribution zip package" depends="build-biz">
<target name="zip-biz" description="creates a Commercial distribution zip package">
<zip-player zip-name="${commercial-dist-name}" player-swf-dir="${build-dir}"
player-swf="${commercial-player-binary-versioned}" license="LICENSE_COMMERCIAL.txt"
example-dir="example-biz"/>
......@@ -424,7 +424,7 @@
<sequential>
<echo message="++ Zipping @{zip-name} +++"></echo>
<zip destfile="${dist-dir}/@{zip-name}">
<zip destfile="${dist-dir}/@{zip-name}" update="false">
<zipfileset prefix="flowplayer" dir=".">
<include name="@{license}"/>
<!--<include name="flowplayer-${flowplayer-js-version-info}.min.js" />-->
......@@ -511,7 +511,7 @@
</zip>
</target>
<target name="dist" description="Create distribution packages">
<target name="dist" description="Create distribution packages" depends="build-all">
<iterate-plugins target="dist"/>
<ant target="zip"/>
<ant target="zip-biz"/>
......
......@@ -243,8 +243,8 @@
<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" />
<copy file="${dist-dir}/${basename}/${plugin-binary-versioned}" todir="${deploy_dir}/build" overwrite="true" failonerror="false" />
<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>
......
Supports Markdown
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