Hi,

I am using flexmojos-maven-plugin 3.3.0 to generate asdoc and i am
getting asdoc compilation error when it sees an external script file.

         <plugin>
            <groupId>org.sonatype.flexmojos</groupId>
            <artifactId>flexmojos-maven-plugin</artifactId>
            <version>3.3.0</version>
            <executions>
               <execution>
                  <phase>package</phase>
                  <goals><goal>asdoc-report</goal></goals>
                  <configuration>
                     <outputDirectory>${project.build.directory}/site/
apidocs</outputDirectory>
                     <reportOutputDirectory>${project.build.directory}/
site/apidocs</reportOutputDirectory>
                     <destDir>apidocs</destDir>
                  </configuration>
               </execution>
            </executions>
         </plugin>

My mxml file refers to an external script file.

   <mx:Script source="MyAppScript.as"/>

I am getting errors like

MyAppScript.as(475): col: 1 Error: The private attribute may be used
only on class property definitions.

private function onRemoveMenu(event:ContextMenuEvent):void {
^

MyAppScript.as(502): col: 1 Error: The private attribute may be used
only on class property definitions.

private function convertToButton(): void {
^

MyAppScript.as(571): col: 1 Error: The public attribute can only be
used inside a package.

public function highlightShortcut(appId:String):Boolean {
^

I am not sure what i am doing wrong.  Any help would be much
appreciated.

Thanks,
Cabir

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to