You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2013/05/24 11:21:12 UTC

git commit: [flex-falcon] [refs/heads/develop] - We want the Jenkins job to always run as cleanly as possible so all aspects are tested and issues with third party downloads are not covered by the persistence of older artefacts.

Updated Branches:
  refs/heads/develop 59b980233 -> 0d5171cab


We want the Jenkins job to always run as cleanly as possible so all aspects are tested and issues with third party downloads are not covered by the persistence of older artefacts.

Signed-off-by: Erik de Bruin <er...@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/0d5171ca
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0d5171ca
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0d5171ca

Branch: refs/heads/develop
Commit: 0d5171cabfa556b90ca007c0b91234b26ba66514
Parents: 59b9802
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Fri May 24 11:20:53 2013 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Fri May 24 11:20:53 2013 +0200

----------------------------------------------------------------------
 jenkins.xml |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0d5171ca/jenkins.xml
----------------------------------------------------------------------
diff --git a/jenkins.xml b/jenkins.xml
index ecf26aa..ef8afa3 100644
--- a/jenkins.xml
+++ b/jenkins.xml
@@ -26,24 +26,20 @@
     <property name="jflex.root" value="${falcon.jenkins.home}/JFlex" />
     <property name="jflex.home" value="${jflex.root}/${jflex.filename}/lib" />
 
-    <target name="main" depends="init, jflex-download"/>
+    <target name="main" depends="clean,init,jflex-download"/>
 
     <target name="init">
         <mkdir dir="${falcon.jenkins.home}" />
         <mkdir dir="${falcon.jenkins.home}/temp"/>
+        <mkdir dir="${jflex.root}" />
     </target>
 
-    <target name="jflex-download" depends="jflex-check" unless="jflex.present" description="Copies JFlex from JFlex website">
+    <target name="jflex-download" description="Copies JFlex from JFlex website">
         <echo message="Be patient. This takes a few minutes..." />
-        <mkdir dir="${jflex.root}" />
         <get src="http://jflex.de/${jflex.filename}.zip" dest="${jflex.temp.filename}" verbose="false" />
         <unzip dest="${jflex.root}" src="${jflex.temp.filename}" />
     </target>
 
-    <target name="jflex-check" description="Checks if the JFlex.jar has been downloaded.">
-        <available file="${jflex.home}/JFlex.jar" property="jflex.present"/>
-    </target>      
-
     <target name="clean" description="Cleans third party downloaded files.">
         <delete dir="${falcon.jenkins.home}/temp" />
         <delete dir="${jflex.root}" />