You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jo...@apache.org on 2014/02/28 10:48:02 UTC

[05/50] git commit: [flex-falcon] [refs/heads/maven] - add ability to use older version of closure compiler

add ability to use older version of closure compiler


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

Branch: refs/heads/maven
Commit: 635ef7bf2ab4061eb8040216f762793de6e367b0
Parents: 3d87ef9
Author: Alex Harui <ah...@apache.org>
Authored: Wed Nov 20 20:34:11 2013 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Nov 20 20:34:11 2013 -0800

----------------------------------------------------------------------
 compiler.jx/downloads.xml             |  4 +++-
 compiler.jx/local-template.properties | 21 +++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/635ef7bf/compiler.jx/downloads.xml
----------------------------------------------------------------------
diff --git a/compiler.jx/downloads.xml b/compiler.jx/downloads.xml
index 913f895..a366f2e 100644
--- a/compiler.jx/downloads.xml
+++ b/compiler.jx/downloads.xml
@@ -23,6 +23,8 @@
 	<property name="FALCONJX_HOME" location="."/>
     <property name="lib.dir" value="${FALCONJX_HOME}/lib"/>    
 	<property name="download.dir" value="${FALCONJX_HOME}/in"/>
+    <property file="${basedir}/local.properties"/>
+    <property name="closure.download.filename" value="compiler-latest.zip" />
     
 	<!-- 
 	   Notes:
@@ -187,7 +189,7 @@
 				
 				Was: param name="zipFile" value="compiler-latest.zip"
 				-->
-	      <param name="zipFile" value="compiler-latest.zip"/>
+	      <param name="zipFile" value="${closure.download.filename}"/>
 	    </antcall>
 	    <get src="http://www.apache.org/licenses/LICENSE-2.0" dest="${lib.dir}/google/closure-compiler/closure-LICENSE.txt"/>
 	    <copy todir="${lib.dir}/google/closure-compiler">

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/635ef7bf/compiler.jx/local-template.properties
----------------------------------------------------------------------
diff --git a/compiler.jx/local-template.properties b/compiler.jx/local-template.properties
new file mode 100644
index 0000000..c34f221
--- /dev/null
+++ b/compiler.jx/local-template.properties
@@ -0,0 +1,21 @@
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+# Closure Compiler file name.  Used to get older versions
+closure.download.filename=compiler-20130823.zip