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