You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Michael Scharp (JIRA)" <ji...@apache.org> on 2013/10/04 19:41:46 UTC

[jira] [Updated] (FLEX-33798) ASDOC throws error on public/private keywords in Actionscript file

     [ 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
(v6.1#6144)