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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 009a804  fix api output for compc.  It should also now output a report 
even with errors
009a804 is described below

commit 009a8046d8327e34decb5f07d1fc39e408f4e0a7
Author: Alex Harui <[email protected]>
AuthorDate: Tue Feb 27 23:29:49 2018 -0800

    fix api output for compc.  It should also now output a report even with 
errors
---
 compiler/src/main/java/org/apache/royale/compiler/clients/MXMLC.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/compiler/src/main/java/org/apache/royale/compiler/clients/MXMLC.java 
b/compiler/src/main/java/org/apache/royale/compiler/clients/MXMLC.java
index d83792b..0210105 100644
--- a/compiler/src/main/java/org/apache/royale/compiler/clients/MXMLC.java
+++ b/compiler/src/main/java/org/apache/royale/compiler/clients/MXMLC.java
@@ -628,6 +628,7 @@ public class MXMLC implements FlexTool
                 dumpAST();
 
             buildArtifact();
+            project.generateAPIReport();
 
             if (swfTarget == null)
                 return false;
@@ -650,7 +651,6 @@ public class MXMLC implements FlexTool
             swfOutputMessage = 
Messages.getString("MXMLC.bytes_written_to_file_in_seconds_format",
                     params);
             dumpDependencyGraphIfNeeded();
-            project.generateAPIReport();
             compilationSuccess = true;
         }
         catch (IOException e)

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to