You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/05/23 17:25:14 UTC

[royale-typedefs] 01/02: set swc-date

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch release_practice
in repository https://gitbox.apache.org/repos/asf/royale-typedefs.git

commit 79c2faa16f12740ddcc1618c9ede7b155b567991
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue May 21 11:47:48 2019 -0700

    set swc-date
---
 GCL/build.xml         | 7 +++++++
 ace/build.xml         | 7 +++++++
 cordova/build.xml     | 7 +++++++
 createjs/build.xml    | 7 +++++++
 google_maps/build.xml | 7 +++++++
 jasmine/build.xml     | 7 +++++++
 jquery/build.xml      | 7 +++++++
 js/build.xml          | 7 +++++++
 node/build.xml        | 9 +++++++--
 9 files changed, 63 insertions(+), 2 deletions(-)

diff --git a/GCL/build.xml b/GCL/build.xml
index 9ef1708..5cf8eb0 100644
--- a/GCL/build.xml
+++ b/GCL/build.xml
@@ -77,6 +77,11 @@
         </and>
     </condition>
     
+    <tstamp>
+        <format property="royale.swc-date" pattern="MM/dd/yy HH:mm Z"/>
+    </tstamp>
+    <echo>swc-date is ${royale.swc-date}</echo>
+
     <target name="main" depends="preprocess, externc, postprocess, compc" />
 
     <!-- we need to insert a line near the beginning of the file to make the
@@ -99,6 +104,8 @@
             <arg value="-debug" />
             <arg value="-external-library-path+=${basedir}/../js/target/js.swc" />
             <arg value="-load-config=${basedir}/target/compile-as-config.xml" />
+            <arg value="-metadata.date=&quot;${royale.swc-date}&quot;" />
+            <arg value="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
             <arg value="-output=${basedir}/target/GCL.swc" />
         </java>
     </target>
diff --git a/ace/build.xml b/ace/build.xml
index 695c9f5..029f81f 100644
--- a/ace/build.xml
+++ b/ace/build.xml
@@ -77,6 +77,11 @@
         </and>
     </condition>
     
+    <tstamp>
+        <format property="royale.swc-date" pattern="MM/dd/yy HH:mm Z"/>
+    </tstamp>
+    <echo>swc-date is ${royale.swc-date}</echo>
+
     <target name="main" depends="preprocess, externc, postprocess, compc" />
 
     <target name="preprocess" depends="download"></target>
@@ -118,6 +123,8 @@
             <arg value="-debug" />
             <arg value="-external-library-path+=${basedir}/../js/target/js.swc" />
             <arg value="-load-config=${basedir}/target/compile-as-config.xml" />
+            <arg value="-metadata.date=&quot;${royale.swc-date}&quot;" />
+            <arg value="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
             <arg value="-output=${basedir}/target/ace-1.2.3.swc" />
         </java>
     </target>
diff --git a/cordova/build.xml b/cordova/build.xml
index 33efde2..2889062 100644
--- a/cordova/build.xml
+++ b/cordova/build.xml
@@ -79,6 +79,11 @@
         </and>
     </condition>
     
+    <tstamp>
+        <format property="royale.swc-date" pattern="MM/dd/yy HH:mm Z"/>
+    </tstamp>
+    <echo>swc-date is ${royale.swc-date}</echo>
+
     <target name="main" depends="preprocess, externc, postprocess, compc" />
 
     <!-- we need to insert a line near the beginning of the file to make the
@@ -107,6 +112,8 @@
             <arg value="-debug" />
             <arg value="-external-library-path+=${basedir}/../js/target/js.swc" />
             <arg value="-load-config=${basedir}/target/compile-as-config.xml" />
+            <arg value="-metadata.date=&quot;${royale.swc-date}&quot;" />
+            <arg value="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
             <arg value="-output=${basedir}/target/cordova.swc" />
         </java>
     </target>
diff --git a/createjs/build.xml b/createjs/build.xml
index f42880c..c2459ab 100644
--- a/createjs/build.xml
+++ b/createjs/build.xml
@@ -77,6 +77,11 @@
         </and>
     </condition>
     
+    <tstamp>
+        <format property="royale.swc-date" pattern="MM/dd/yy HH:mm Z"/>
+    </tstamp>
+    <echo>swc-date is ${royale.swc-date}</echo>
+
     <target name="main" depends="externc, compc" />
     
     <target name="download" >
@@ -575,6 +580,8 @@
             <arg value="-debug" />
             <arg value="-external-library-path+=${basedir}/../js/target/js.swc" />
             <arg value="-load-config=${basedir}/target/compile-as-config.xml" />
+            <arg value="-metadata.date=&quot;${royale.swc-date}&quot;" />
+            <arg value="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
             <arg value="-output=${basedir}/target/createjs.swc" />
         </java>
     </target>
diff --git a/google_maps/build.xml b/google_maps/build.xml
index d467b52..18f9334 100644
--- a/google_maps/build.xml
+++ b/google_maps/build.xml
@@ -79,6 +79,11 @@
         </and>
     </condition>
     
+    <tstamp>
+        <format property="royale.swc-date" pattern="MM/dd/yy HH:mm Z"/>
+    </tstamp>
+    <echo>swc-date is ${royale.swc-date}</echo>
+    
     <target name="main" depends="preprocess, externc, postprocess, compc" />
     
     <target name="preprocess" depends="download">
@@ -172,6 +177,8 @@ google.maps = {};]]></replacevalue>
             <arg value="-debug" />
             <arg value="-external-library-path+=${basedir}/../js/target/js.swc" />
             <arg value="-load-config=${basedir}/target/compile-as-config.xml" />
+            <arg value="-metadata.date=&quot;${royale.swc-date}&quot;" />
+            <arg value="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
             <arg value="-output=${basedir}/target/google_maps.swc" />
         </java>
     </target>
diff --git a/jasmine/build.xml b/jasmine/build.xml
index f5f3136..4bef3c2 100644
--- a/jasmine/build.xml
+++ b/jasmine/build.xml
@@ -77,6 +77,11 @@
         </and>
     </condition>
         
+    <tstamp>
+        <format property="royale.swc-date" pattern="MM/dd/yy HH:mm Z"/>
+    </tstamp>
+    <echo>swc-date is ${royale.swc-date}</echo>
+    
     <target name="main" depends="preprocess, externc, postprocess, compc" />
 
     <target name="preprocess">
@@ -114,6 +119,8 @@
             <arg value="-debug" />
             <arg value="-external-library-path+=${basedir}/../js/target/js.swc" />
             <arg value="-load-config=${basedir}/target/compile-as-config.xml" />
+            <arg value="-metadata.date=&quot;${royale.swc-date}&quot;" />
+            <arg value="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
             <arg value="-output=${basedir}/target/jasmine.swc" />
         </java>
     </target>
diff --git a/jquery/build.xml b/jquery/build.xml
index 4892cef..8e6c6bf 100644
--- a/jquery/build.xml
+++ b/jquery/build.xml
@@ -77,6 +77,11 @@
         </and>
     </condition>
     
+    <tstamp>
+        <format property="royale.swc-date" pattern="MM/dd/yy HH:mm Z"/>
+    </tstamp>
+    <echo>swc-date is ${royale.swc-date}</echo>
+    
     <target name="main" depends="preprocess, externc, postprocess, compc" />
 
     <target name="preprocess" depends="download">
@@ -151,6 +156,8 @@
             <arg value="-debug" />
             <arg value="-external-library-path+=${basedir}/../js/target/js.swc" />
             <arg value="-load-config=${basedir}/target/compile-as-config.xml" />
+            <arg value="-metadata.date=&quot;${royale.swc-date}&quot;" />
+            <arg value="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
             <arg value="-output=${basedir}/target/jquery-1.9.swc" />
         </java>
     </target>
diff --git a/js/build.xml b/js/build.xml
index ea32d5e..48c7948 100644
--- a/js/build.xml
+++ b/js/build.xml
@@ -77,6 +77,11 @@
         </and>
     </condition>
     
+    <tstamp>
+        <format property="royale.swc-date" pattern="MM/dd/yy HH:mm Z"/>
+    </tstamp>
+    <echo>swc-date is ${royale.swc-date}</echo>
+    
     <target name="main" depends="preprocess, externc, postprocess, compc" />
 
     <target name="download" >
@@ -220,6 +225,8 @@
             <arg value="+royalelib=externs/frameworks" />
             <arg value="-debug" />
             <arg value="-load-config=${basedir}/target/compile-as-config.xml" />
+            <arg value="-metadata.date=&quot;${royale.swc-date}&quot;" />
+            <arg value="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
             <arg value="-output=${basedir}/target/js.swc" />
         </java>
     </target>
diff --git a/node/build.xml b/node/build.xml
index 31f716d..42a02a0 100644
--- a/node/build.xml
+++ b/node/build.xml
@@ -82,6 +82,11 @@
     <property name="srcServer" value="https://raw.githubusercontent.com/royale-extras/closure-compiler/royale/contrib/nodejs" />
     <property name="destDir" value="${basedir}/target/downloads/closure-compiler-master/contrib/nodejs" />
     
+    <tstamp>
+        <format property="royale.swc-date" pattern="MM/dd/yy HH:mm Z"/>
+    </tstamp>
+    <echo>swc-date is ${royale.swc-date}</echo>
+    
     <target name="getfile" >
         <get src="${srcServer}/${srcFile}" dest="${destDir}/${destFile}" skipexisting="true" ignoreerrors="true"/>
         <antcall target="get-from-cache-if-needed" >
@@ -230,10 +235,10 @@
             failonerror="true">
             <arg value="+royalelib=externs/frameworks" />
             <arg value="-debug" />
-            <arg value="-metadata.date=&quot;2/10/19 9:06 -0800&quot;" />
-            <arg value="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
             <arg value="-external-library-path+=${basedir}/../js/target/js.swc" />
             <arg value="-load-config=${basedir}/target/compile-as-config.xml" />
+            <arg value="-metadata.date=&quot;${royale.swc-date}&quot;" />
+            <arg value="-metadata.dateFormat=&quot;MM/dd/yy HH:mm Z&quot;" />
             <arg value="-output=${basedir}/target/node.swc" />
         </java>
     </target>