| Revision 2173,
1.7 KB
checked in by pablo, 13 months ago
(diff) |
|
Additional video and controlbar functionality
|
| Line | |
|---|
| 1 | <?xml version="1.0"?> |
|---|
| 2 | <project name="jwplayer" basedir="../" default="release-js"> |
|---|
| 3 | <!-- Define variables/paths used in this build script --> |
|---|
| 4 | <property file="./build/build.properties" /> |
|---|
| 5 | |
|---|
| 6 | <target name="build-js"> |
|---|
| 7 | <concat destfile="${outputpath}"> |
|---|
| 8 | <fileset dir="${basedir}/src/js" includes="jwplayer.sourcestart.js" /> |
|---|
| 9 | <fileset dir="${basedir}/src/js" includes="jwplayer.js" /> |
|---|
| 10 | <fileset dir="${basedir}/src/js/utils" includes="jwplayer.utils.js" excludes="" /> |
|---|
| 11 | <fileset dir="${basedir}/src/js/utils" includes="jwplayer.utils.*.js" excludes="" /> |
|---|
| 12 | <fileset dir="${basedir}/src/js/events" includes="jwplayer.events.js" /> |
|---|
| 13 | <fileset dir="${basedir}/src/js/events" includes="jwplayer.events.*.js" excludes="jwplayer.events.js" /> |
|---|
| 14 | <fileset dir="${basedir}/src/js/html5" includes="jwplayer.html5.js" /> |
|---|
| 15 | <fileset dir="${basedir}/src/js/html5" includes="jwplayer.html5*.js" excludes="jwplayer.html5.js" /> |
|---|
| 16 | <fileset dir="${basedir}/src/js/html5/utils" includes="jwplayer.html5.utils.js" /> |
|---|
| 17 | <fileset dir="${basedir}/src/js/html5/utils" includes="jwplayer.html5.utils.*.js" excludes="" /> |
|---|
| 18 | <fileset dir="${basedir}/src/js" includes="jwplayer.sourceend.js" /> |
|---|
| 19 | </concat> |
|---|
| 20 | </target> |
|---|
| 21 | |
|---|
| 22 | <target name="debug-js"> |
|---|
| 23 | <antcall target="build-js"> |
|---|
| 24 | <param name="outputpath" value="${debug.dir}/jwplayer.js"/> |
|---|
| 25 | </antcall> |
|---|
| 26 | </target> |
|---|
| 27 | |
|---|
| 28 | <target name="release-js"> |
|---|
| 29 | <antcall target="debug-js"></antcall> |
|---|
| 30 | <!--replace file="${basedir}/jwplayer.min.js" token=", logoConfig);" value=");"/--> |
|---|
| 31 | <java jar="${basedir}/build/yuicompressor-2.4.2.jar" fork="true"> |
|---|
| 32 | <arg line="'${debug.dir}/jwplayer.js'"/> |
|---|
| 33 | <arg line="-o '${basedir}/jwplayer.min.js'"/> |
|---|
| 34 | </java> |
|---|
| 35 | </target> |
|---|
| 36 | |
|---|
| 37 | </project> |
|---|
Note: See
TracBrowser
for help on using the repository browser.