Marvin, as always thanks for the info! After reviewing the source more closely and reading http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/DirectoryScanner.html I found I was using it incorrectly. Works like a charm now ;)
My problem was I put in com.abc.* and expected it to include com.abc.zyx.Class and com.abc.def.lmn.Class. What it I should have done is com.abc.**.*. Rather nieve of me I must say :-/ I will add a wiki page describing its usage based on the DirectoryScanner documentation. Lance On Jan 13, 4:54 am, Marvin Froeder <[email protected]> wrote: > It should convert that to com/mycompany/*.as + com/mycompany/*.mxml and scan > source roots > > All magic happen > athttps://github.com/Flexmojos/flexmojos/blob/flexmojos-4.x/flexmojos-m... > > Obviously, it only will work if the file exists. > > > > > > > > On Thu, Jan 13, 2011 at 1:52 AM, Dtornkaew <[email protected]> wrote: > > I am using FM4-SNAPSHOT (built from github head 01-12-2011) and I am > > having some problems getting includeClasses to work with the "scan" > > tag. Maybe this isn't fully implemented yet? > > > Looking at the comments on the source it looks as simple as this: > > <includeClasses> > > <scan> > > <includes> > > <include>com.mycompany.*</include> > > </includes> > > </scan> > > </includeClasses> > > > However when I add this to my FM4 configuration nothing is included. > > > If I just include each class like this it does work: > > <includeClasses> > > <include>com.mycompany.type.Cool</include> > > </includeClasses> > > > NOTE: my POM is using manifest.xml with namespaces but that shouldn't > > make a difference as far as I know. > > > Before I log a bug I wanted to see if I am just doing something > > obviously wrong here. > > > Thanks, > > Lance > > > -- > > 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%2Bunsubscribe@googlegrou > > ps.com> > > For more options, visit this group at > >http://groups.google.com/group/flex-mojos > > >http://flexmojos.sonatype.org/ -- 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 http://flexmojos.sonatype.org/
