Thanks that (using includeSources) got me further.  Now that the
compiler sees the sources it is complaining about missing source for
resource bundles.  For example:

could not find source for resource bundle sas_framework_help

However the sas_framework_help.properties *is* in one of the SWC's
that I have provided as a Maven project dependency.

Sri

On Jan 28, 9:34 am, Marvin Froeder <[email protected]> wrote:
> http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-sw...
> ORhttp://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-sw...
>
> 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%2bunsubscr...@googlegrou 
> > ps.com>
> > 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