flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Scharp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33798) ASDOC throws error on public/private keywords in Actionscript file
Date Fri, 04 Oct 2013 17:41:46 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Michael Scharp updated FLEX-33798:

    Attachment: asdoc-mixin-test.zip

Attached is an example application to reproduce the problem.  It is a lame example, but demonstrates
the issue.  Just run "mvn clean install" from the command line or from inside IntelliJ.

> ASDOC throws error on public/private keywords in Actionscript file
> ------------------------------------------------------------------
>                 Key: FLEX-33798
>                 URL: https://issues.apache.org/jira/browse/FLEX-33798
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: ASDoc Tool
>         Environment: Windows 7 64 bit
>            Reporter: Michael Scharp
>         Attachments: asdoc-mixin-test.zip
> This is a duplicate of FLEX-11200, but clarified a bit as it doesn't just pertain to
MXML files.
> When generating asdocs, if it comes across an actionscript file (not class) that has
methods/properties marked public or private it generates an error and fails.  
> "Error: The public attribute can only be used inside a package."
> The work around is to maintain a list of individual classes/directories that will not
fail the asdoc generation.  This is fairly labor intensive and prone to developers forgetting
to update this list when new classes are added which makes the workaround not very acceptable.

This message was sent by Atlassian JIRA

View raw message