Commit 2c758956 authored by Anssi Piirainen's avatar Anssi Piirainen
Browse files

added target to generate diet.yaml containing all plugins

parent 1d8841d0
......@@ -15,22 +15,14 @@ site.dir=/Users/api/hyde/site
js.deploy.dir=${site.dir}/deploy/js
deploy.dir=${site.dir}/content/swf
#plugin.buildfiles=rtmp/build.xml
#
# 3.2.16
plugin.buildfiles=rtmp/build.xml,controls/build.xml,controls/build-tube.xml,controls/build-air.xml,controls/build-skinless.xml, \
sharing/build.xml,viralvideos/build.xml,bitrateselect/build.xml,bwcheck/build.xml,bwcheck/build-httpstreaming.xml \
httpstreaming/build.xml,menu/build.xml,pseudostreaming/build.xml
plugins.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
jsplugins.buildfiles=bitrateselect/build.xml
jsplugins.buildfiles=controls/build.xml,embed/build.xml,ipad/build.xml,playlist/build.xml,bitrateselect/build.xml
#
#plugin.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, \
# bitrateselect/build.xml,menu/build.xml,cluster/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, \
......
......@@ -242,26 +242,38 @@
</target>
<target name="generate-dist-yaml" description="Generates a YAML file containing names of all plugins that are part of this release">
<property name="dist-file" value="${basedir}/dist/dist.yaml" />
<delete file="${dist-file}" />
<macrodef name="dist-yaml">
<attribute name="plugins.buildfiles" default="${plugins.buildfiles}"/>
<attribute name="jsplugins.buildfiles" default="${jsplugins.buildfiles}"/>
<echo file="${dist-file}" append="true" message="flowplayer:${line.separator}" />
<echo file="${dist-file}" append="true" message=" folder: flowplayer${line.separator}" />
<echo file="${dist-file}" append="true" message=" files:${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${player-binary}${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${player-binary-versioned}${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${commercial-player-binary}${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${commercial-player-binary-versioned}${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${dist-name}${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${commercial-dist-name}${line.separator}" />
<echo file="${dist-file}" append="true" message="flowplayer.devkit:${line.separator}" />
<echo file="${dist-file}" append="true" message=" folder: flowplayer.devkit${line.separator}" />
<echo file="${dist-file}" append="true" message=" files:${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${devkit-dist-name}${line.separator}" />
<sequential>
<property name="dist-file" value="${basedir}/dist/dist.yaml" />
<delete file="${dist-file}" />
<iterate-plugins target="write-dist-info" />
<iterate-plugins target="write-dist-info" buildfiles="${jsplugins.buildfiles}" basedirectory="../js-plugins"/>
<echo file="${dist-file}" append="true" message="flowplayer:${line.separator}" />
<echo file="${dist-file}" append="true" message=" folder: flowplayer${line.separator}" />
<echo file="${dist-file}" append="true" message=" files:${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${player-binary}${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${player-binary-versioned}${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${commercial-player-binary}${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${commercial-player-binary-versioned}${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${dist-name}${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${commercial-dist-name}${line.separator}" />
<echo file="${dist-file}" append="true" message="flowplayer.devkit:${line.separator}" />
<echo file="${dist-file}" append="true" message=" folder: flowplayer.devkit${line.separator}" />
<echo file="${dist-file}" append="true" message=" files:${line.separator}" />
<echo file="${dist-file}" append="true" message=" - ${devkit-dist-name}${line.separator}" />
<iterate-plugins target="write-dist-info" buildfiles="@{plugins.buildfiles}"/>
<iterate-plugins target="write-dist-info" buildfiles="@{jsplugins.buildfiles}" basedirectory="../js-plugins"/>
</sequential>
</macrodef>
<target name="generate-dist-yaml" description="Generates a YAML file containing release info of all plugins that are part of this release">
<dist-yaml plugins.buildfiles="${plugins.buildfiles}" jsplugins.buildfiles="${jsplugins.buildfiles}" />
</target>
<target name="generate-all-dist-yaml" description="Generates a YAML file containing release info of all plugins">
<dist-yaml plugins.buildfiles="${allplugins.buildfiles}" jsplugins.buildfiles="${alljsplugins.buildfiles}" />
</target>
</project>
\ No newline at end of file
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