incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject svn commit: r1347246 - /incubator/flex/trunk/jenkins.xml
Date Thu, 07 Jun 2012 01:06:37 GMT
Author: jmclean
Date: Thu Jun  7 01:06:37 2012
New Revision: 1347246

URL: http://svn.apache.org/viewvc?rev=1347246&view=rev
Log:
added pixel bender download - will only work on windows (not OSX) for now

Modified:
    incubator/flex/trunk/jenkins.xml

Modified: incubator/flex/trunk/jenkins.xml
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/jenkins.xml?rev=1347246&r1=1347245&r2=1347246&view=diff
==============================================================================
--- incubator/flex/trunk/jenkins.xml (original)
+++ incubator/flex/trunk/jenkins.xml Thu Jun  7 01:06:37 2012
@@ -26,11 +26,15 @@
 
     <target name="main" depends="thirdparty-downloads"/>
     
-    <target name="thirdparty-downloads" depends="airsdk-download,playerglobal-download"
description="Copies AIR SDK and playerglobal.swc into place for build" />
+    <target name="thirdparty-downloads" depends="airsdk-download,playerglobal-download,pixelbender-download"
description="Copies required downloads into place for build" />
     
     <target name="airsdk-check" description="Checks if the Air SDK has been downloaded.">
         <available file="${basedir}/lib/air/airglobal.swc" property="airsdk.present"/>
     </target>
+	
+    <target name="pixelbender-check" description="Checks if the Pixel Bender Toolkit has
been downloaded.">
+        <available file="${basedir}/pixelbender/Set-up.exe" property="pixelbender.present"/>
+    </target>
 
     <target name="playerglobal-check" description="Checks if the playerglobal.swc has
been downloaded.">
         <available file="${basedir}/lib/player/${playerglobal.version}/playerglobal.swc"
property="playerglobal.swc.present"/>
@@ -39,7 +43,7 @@
     <!-- Adobe AIR SDK  -->
     <!-- Because this requires a network connection it is copied only if it doesn't already
exist. -->
     <!-- Regardless of platform use the win kit to get airglobal.swc. --> 
-    <target name="airsdk-download" depends="airsdk-check" unless="airsdk.present" description="Copies
Adobe AIR SDK for the Mac from the Adobe website">
+    <target name="airsdk-download" depends="airsdk-check" unless="airsdk.present" description="Copies
Adobe AIR SDK for the windows from the Adobe website">
         <echo message="Be patient.  This takes a few minutes..." />
         <mkdir dir="${FLEX_HOME}/air"/>
         <mkdir dir="${FLEX_HOME}/temp"/>
@@ -51,6 +55,19 @@
         <copy file="${FLEX_HOME}/air/AIR Integration Kit/frameworks/libs/air/airglobal.swc"

             toDir="${basedir}/lib/air"/>
     </target>
+	
+    <!-- Pixel Bender SDK  -->
+    <!-- Because this requires a network connection it is copied only if it doesn't already
exist. -->
+	<!-- TODO: Make work for OSX as well -->
+    <target name="pixelbender-download" depends="pixelbender-check" unless="pixelbender.present"
description="Copies Adobe Pixel Bender Toolkit from the Adobe website">
+        <echo message="This might take a minute..." />
+        <mkdir dir="${FLEX_HOME}/pixelbender"/>
+        <mkdir dir="${FLEX_HOME}/temp"/>
+        <get src="http://download.macromedia.com/pub/developer/pixelbender/pixelbender_toolkit_2.5.zip"

+            dest="${FLEX_HOME}/temp/pixelbender_toolkit.zip" 
+            verbose="false"/>
+        <unzip dest="${FLEX_HOME}/pixelbender" src="${FLEX_HOME}/temp/pixelbender_toolkit.zip"
/>
+    </target>
         
     <!-- playerglobal.swc -->
     <!-- Because this requires a network connection it copies playglobal.swc only if it
doesn't already exist. -->	
@@ -113,6 +130,7 @@
     <target name="clean" description="Cleans third party downloaded files.">
     	<delete dir="${FLEX_HOME}/temp" />
     	<delete dir="${FLEX_HOME}/air" />
+    	<delete dir="${FLEX_HOME}/pixelbender" />
         <delete dir="${FLEX_HOME}/lib/air" />
         <delete dir="${FLEX_HOME}/lib/player"/>
      </target>



Mime
View raw message