| Revision 1944,
1.2 KB
checked in by jeroen, 22 months ago
(diff) |
|
wrapped HTML5 version of related plugin
|
| Line | |
|---|
| 1 | <project name="Plugin" default="buildAS"> |
|---|
| 2 | |
|---|
| 3 | <target name="buildJS"> |
|---|
| 4 | <concat destfile="../related.js"> |
|---|
| 5 | <fileset dir="../src/js" includes="*.js" /> |
|---|
| 6 | </concat> |
|---|
| 7 | <java jar="yuicompressor.jar" fork="true"> |
|---|
| 8 | <arg line="'../related.js'"/> |
|---|
| 9 | <arg line="-o '../related.js'"/> |
|---|
| 10 | </java> |
|---|
| 11 | <exec executable="python"> |
|---|
| 12 | <arg file="encode-images.py" /> |
|---|
| 13 | <arg file="../related.js" /> |
|---|
| 14 | <arg file="../assets/" /> |
|---|
| 15 | </exec> |
|---|
| 16 | <echo message="Compiled JS plugin." /> |
|---|
| 17 | </target> |
|---|
| 18 | |
|---|
| 19 | <target name="buildAS" depends="buildJS"> |
|---|
| 20 | <exec executable="/Developer/SDKs/flex_sdk_4/bin/mxmlc" dir="../"> |
|---|
| 21 | <arg line="src/as/Related.as" /> |
|---|
| 22 | <arg line="-o related.swf" /> |
|---|
| 23 | <arg line="-sp src/as" /> |
|---|
| 24 | <arg line="-library-path+=lib" /> |
|---|
| 25 | <arg line="-load-externs=lib/jwplayer-5-classes.xml" /> |
|---|
| 26 | <arg line="-static-link-runtime-shared-libraries=true" /> |
|---|
| 27 | <arg line="-use-network=false" /> |
|---|
| 28 | <arg line="-optimize=true" /> |
|---|
| 29 | <arg line="-incremental=false" /> |
|---|
| 30 | </exec> |
|---|
| 31 | <echo message="Compiled SWF plugin." /> |
|---|
| 32 | </target> |
|---|
| 33 | |
|---|
| 34 | </project> |
|---|
Note: See
TracBrowser
for help on using the repository browser.