flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [14/14] git commit: [flex-falcon] [refs/heads/develop] - Revert "don't need preprocess"
Date Tue, 24 May 2016 23:37:32 GMT
Revert "don't need preprocess"

This reverts commit 564a522c4689ecfcd4ba061daf473f2b73577225.


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

Branch: refs/heads/develop
Commit: 747b848e93e569f2e2954e9264f8116700f94a20
Parents: 2be2279
Author: Alex Harui <aharui@apache.org>
Authored: Tue May 24 16:29:42 2016 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue May 24 16:29:42 2016 -0700

----------------------------------------------------------------------
 externs/cordova/build.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/747b848e/externs/cordova/build.xml
----------------------------------------------------------------------
diff --git a/externs/cordova/build.xml b/externs/cordova/build.xml
index 6eddf99..733b9e5 100644
--- a/externs/cordova/build.xml
+++ b/externs/cordova/build.xml
@@ -28,8 +28,17 @@
     <!-- we need to insert a line near the beginning of the file to make the
          compiler happy. -->
     <target name="preprocess">
+        <antcall target="preprocessfile" >
+            <param name="file" value="cordova_file_plugin-4-11.js" />
+        </antcall>
     </target>
-        
+    
+    <target name="preprocessfile" >
+        <basename property="file.base" file="${file}" suffix=".js"/>
+        <echo>file.base is ${file.base}</echo>
+        <replace file="${basedir}/src/main/javascript/${file}" token="// Namespace" value="/**
@const */" />
+    </target>
+    
     <target name="externc" >
         <java jar="${basedir}/../../compiler-jx/lib/externc.jar" fork="true"
             failonerror="false">


Mime
View raw message