[ 
https://issues.apache.org/jira/browse/FLEX-33506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651894#comment-13651894
 ] 

Erik de Bruin commented on FLEX-33506:
--------------------------------------

I looked into this a bit. All the asdoc tasks have 'failonerror="true"' as an 
attribute. 

>From the ant documentation: "failonerror: Stop the buildprocess if the command 
>exits with a returncode other than 0. Default is "false" (see note)." The note 
>says: "By default the return code of a <java> is ignored."

Assuming the asdoc task is Java based, I think this is where the pain is coming 
from. As for fixing this, I think someone better versed in ant than me should 
have a go.
                
> Ant doc reports build successful when there's an fatal error
> ------------------------------------------------------------
>
>                 Key: FLEX-33506
>                 URL: https://issues.apache.org/jira/browse/FLEX-33506
>             Project: Apache Flex
>          Issue Type: Bug
>            Reporter: Justin Mclean
>
> Example:
> doc:
>     [asdoc] Loading configuration file 
> /Users/justinmclean/Documents/ApacheFlexDevelopGit/frameworks/flex-config.xml
>     [asdoc] [Fatal Error] :54:6: The element type "p" must be terminated by 
> the matching end-tag "</p>".
>     [asdoc] Encountered not well-formed text. Please see 
> /Users/justinmclean/Documents/ApacheFlexDevelopGit/tempDoc/validation_errors.log
>  for details.
>       [zip] Updating zip: 
> /Users/justinmclean/Documents/ApacheFlexDevelopGit/frameworks/locale/en_US/spark_rb.swc
>      [copy] Copying 1 file to 
> /Users/justinmclean/Documents/ApacheFlexDevelopGit/frameworks/projects/spark/bundles/en_US
> BUILD SUCCESSFUL

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to