Fine with me... although I have no idea what a FXG is =D On Tue, Jul 12, 2011 at 5:38 PM, Christofer Dutz < [email protected]> wrote:
> Hi Lance, > > I am using FXG files for quite some time now and never had any > problems with them. But I assume you are talking about building SWCs, > am I correct? In my cases I directly reference the FXG classes in my > Skins or components and they are correctly included. > > Chirs > > > > 2011/7/12 Dtornkaew <[email protected]>: > > With Flex 4 Adobe introduced the ability to use FXG files just like a > > regular class file. More information can be found here > http://adobe.ly/9dxFh3 > > > > Unfortunately at the moment FM4 only includes .as and .mxml files in > > the class scanning process. > > > > This appears to be a trivial fix by adding the following to > > org.sonatype.flexmojos.plugin.AbstractMavenMojo > > > > private List<String> toFilePattern( List<String> classesIncludes ) > > { > > List<String> fileIncludes = new ArrayList<String>(); > > for ( String classInclude : classesIncludes ) > > { > > fileIncludes.add( classInclude.replace( '.', > > File.separatorChar ) + ".as" ); > > fileIncludes.add( classInclude.replace( '.', > > File.separatorChar ) + ".mxml" ); > > + fileIncludes.add( classInclude.replace( '.', > > File.separatorChar ) + ".fxg" ); > > } > > return fileIncludes; > > } > > > > I have already made a fix for this in my local git repo and am going > > to submit a pull request. Before I go this far can anyone see any side > > effects to this that would cause a problem? > > > > 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] > > 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/ > -- 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/
