flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josebarra...@apache.org
Subject [35/50] git commit: [flex-falcon] [refs/heads/maven] - Added GC Library download, so the build machine always uses the latest and greatest GC Library.
Date Wed, 09 Jul 2014 23:31:47 GMT
Added GC Library download, so the build machine always uses the latest and greatest GC Library.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/ead10179
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/ead10179
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/ead10179

Branch: refs/heads/maven
Commit: ead101798e8bbd5d2ac61bede5edce4750f8a47f
Parents: 3438a56
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Thu Jun 26 10:44:59 2014 +0200
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Thu Jun 26 10:44:59 2014 +0200

----------------------------------------------------------------------
 jenkins.xml | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/ead10179/jenkins.xml
----------------------------------------------------------------------
diff --git a/jenkins.xml b/jenkins.xml
index 3e5f43b..dcaebbb 100644
--- a/jenkins.xml
+++ b/jenkins.xml
@@ -21,17 +21,23 @@
 <project name="framework" default="main" basedir=".">
 
     <property name="falcon.jenkins.home" value="${basedir}/jenkins" />
+    
     <property name="jflex.temp.filename" value="${falcon.jenkins.home}/temp/JFlex.zip"
/>
     <property name="jflex.filename" value="jflex-1.4.3" />
     <property name="jflex.root" value="${falcon.jenkins.home}/JFlex" />
     <property name="jflex.home" value="${jflex.root}/${jflex.filename}/lib" />
 
-    <target name="main" depends="clean,init,jflex-download"/>
+    <!-- (erikdebruin) Hard coded path for Windows, sorry ;-) -->
+    <property name="closure.root" location="C:/Google/Closure/Library" />
+
+    <target name="main" depends="clean,init,closure-lib-download"/><!-- ,jflex-download
-->
 
     <target name="init">
         <mkdir dir="${falcon.jenkins.home}" />
         <mkdir dir="${falcon.jenkins.home}/temp"/>
         <mkdir dir="${jflex.root}" />
+        
+        <mkdir dir="${closure.root}" />
     </target>
 
     <!-- remove someday -->
@@ -44,9 +50,22 @@
         <unzip dest="${jflex.root}" src="${jflex.temp.filename}" />
     </target>
 
+    <target name="closure-lib-download" description="Copies Closure Library from GitHub">
+        <echo message="Be patient. This takes a few minutes..." />
+        <exec executable="git" failifexecutionfails="true">
+            <arg value="clone" />
+            <arg value="https://github.com/google/closure-library" />
+            <arg value="${closure.root}" />
+        </exec>
+        <echo>Cloned fresh copy of Google Closure Library</echo>
+    </target>
+
     <target name="clean" description="Cleans third party downloaded files.">
         <delete dir="${falcon.jenkins.home}/temp" />
+
         <delete dir="${jflex.root}" />
+
+        <delete dir="${closure.root}" />
      </target>
 
 </project>


Mime
View raw message