Thanks Brian, It really works, but is there a way to use a pathconvert, fileset, compositemapper to achive this instead of setting it one by one. at least in fileset I can exclude files and create the class list dynamically every build.
And how should I set this in the includeClasses tag. Henry On Wed, Oct 14, 2009 at 4:54 PM, bstanek <[email protected]> wrote: > > Henry, > > You need to specify what to include in the swc (same as when using > compc). > > You can add a section to your pom.xml (inside the <plugin> for > flexmojos-maven-plugin) to configure this: > > > <configuration> > > <includeClasses> > <class>com.test.App</ > class> > </ > includeClasses> > </ > configuration> > > And then TestIncl2.as will be ignored when compiling. > > Slightly off topic, in the past I've used flex-config.xml files to > store settings like this, but haven't had luck using those with maven > yet (I just started looking at flex-mojos/maven this week). It seems > that only one <configFile/> gets passed to the compiler (based on the > output), and if I use just one config, I get the error "unknown > configuration variable 'include-classes'" > > --Brian > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
