You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2014/11/28 17:08:43 UTC

git commit: [flex-asjs] [refs/heads/develop] - Made the build continue if no flashlog.txt was found.

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 87a25c255 -> fd791c531


Made the build continue if no flashlog.txt was found.


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

Branch: refs/heads/develop
Commit: fd791c531d4f20782c7bd5d611c6b4182dba1612
Parents: 87a25c2
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Fri Nov 28 17:08:37 2014 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Fri Nov 28 17:08:37 2014 +0100

----------------------------------------------------------------------
 build.xml | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fd791c53/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index ac62822..c5ee70c 100644
--- a/build.xml
+++ b/build.xml
@@ -99,6 +99,15 @@
             <available file="c:/Users/${env.USERNAME}/AppData/Roaming/Macromedia/Flash Player/Logs/flashlog.txt"
                 type="file"/>
         </condition>
+        <!-- Check the system user profile -->
+        <condition property="FLASHLOG"
+                   value="C:/Windows/system32/config/systemprofile/AppData/Roaming/Macromedia/Flash Player/Logs/flashlog.txt">
+            <available file="C:/Windows/system32/config/systemprofile/AppData/Roaming/Macromedia/Flash Player/Logs/flashlog.txt"
+                       type="file"/>
+        </condition>
+        <antcall target="copy-flashlog"/>
+    </target>
+    <target name="copy-flashlog" if="FLASHLOG">
         <echo>copying last flashlog.txt from ${FLASHLOG}</echo>
         <copy file="${FLASHLOG}" tofile="${basedir}/lastflashlog.txt" />
     </target>