http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-swc-mojo.html#includeClasses
OR
http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-swc-mojo.html#includeSources


VELO


On Thu, Jan 28, 2010 at 12:08 PM, Sri Sankaran
<[email protected]>wrote:

> I am working with a "typical" flexmojos-generated multi-module project
> with the following module dependencies
>
>   WAR module  depends on SWF module depends on SWC module
>
> A build of the SWF module is generating the error mentioned in the
> subject line:
>
>  Type not found or was not a compile-time constant: MisAboutDialog
>
> Yes, the error message is crystal clear -- that the MisAboutDialog
> class is not available (or known or visible) to the compiler.  I have
> diagnosed the problem a bit and can even point a finger on the .swc
> file generated by the SWC module build.
>
> A little more detail is in order.  The MisAboutDialog is an MXML file
> in the SWC module that is referenced by an MXML file in the SWF
> module.  I noticed that FlashBuilder did was not flagging any
> errors.
>
> So, I wend digging to figure out why FlashBuilder wasn't complaining.
> I saw that I had configured the FlashBuilder SWF project to depend on
> the FlashBuilder SWC project.  When I changed it by expressing a
> dependency on the .swc file generated by Maven instead. Now,
> FlashBuilder reported the exact same error that I see when I run a
> build externally using Maven.
>
> Therefore I know that the MisAboutDialog is not getting into the .swc
> generated by the build of the SWC module.
>
> The question is "why"?  The SWC module's POM says that the source
> directory is "src/main/flex" and MisAboutDialog is in a nested package
> at that location.
>
> What am I missing?
>
> --
> 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]<flex-mojos%[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/

-- 
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