You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/03/13 00:50:28 UTC

git commit: [flex-asjs] [refs/heads/develop] - diagnose checkintest failure

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 1d6982932 -> c60d43021


diagnose checkintest failure


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

Branch: refs/heads/develop
Commit: c60d430213ea427636f37e86d99be50b66f8550a
Parents: 1d69829
Author: Alex Harui <ah...@apache.org>
Authored: Wed Mar 12 16:49:57 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Mar 12 16:49:57 2014 -0700

----------------------------------------------------------------------
 build.xml | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c60d4302/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 1a1956a..3e1cfac 100644
--- a/build.xml
+++ b/build.xml
@@ -79,13 +79,26 @@
         <echo>ant main target completed on ${build.datetime}</echo>
     </target>
 
-    <target name="main-jenkins" depends="prebuild,frameworks-as,frameworks-js-jenkins,post-build" description="Full build">
+    <target name="main-jenkins" depends="dump-config,prebuild,frameworks-as,frameworks-js-jenkins,post-build" description="Full build">
         <tstamp>
         	<format property="build.datetime" pattern="MM/dd/yyyy hh:mm:ss aa" />
         </tstamp>
         <echo>ant main target completed on ${build.datetime}</echo>
     </target>
 
+    <target name="dump-config" >
+        <echo>env.USERNAME is: ${env.USERNAME}</echo>
+        <condition property="FLASHLOG">
+            <available file="c:/Documents and Settings/${env.USERNAME}/Application Data/Macromedia/Flash Player/Logs/flashlog.txt"
+                type="file"/>
+        </condition>
+        <condition property="FLASHLOG">
+            <available file="c:/Users/${env.USERNAME}/AppData/Roaming/Macromedia/Flash Player/Logs/flashlog.txt"
+                type="file"/>
+        </condition>
+        <echo>copying last flashlog.txt from ${FLASHLOG}</echo>
+        <copy file="${FLASHLOG}" tofile="${basedir}/lastflashlog.txt" />
+    </target>
     <!-- 
         Can set build.additional-packages to build additional-packages as part of a release.
         This does not build the docs.  Use doc-packages or asdoc-packages.
@@ -107,7 +120,7 @@
         description="Builds and packages the binary kit which is provided as a convenience."/>    
 
     <target name="binary-release-jenkins" 
-        depends="setup-binary-release,main-jenkins,sample-themes,checkintests,doc,other.locales,binary-package,additional-packages" 
+        depends="setup-binary-release,main-jenkins,sample-themes,checkintests,doc,other.locales,binary-package,additional-packages"
         description="Builds and packages the binary kit which is provided as a convenience."/>    
 
     <target name="source-release-noclean"