Thanks Bryan for the info. I think I will do what you say, two different maven modules. Thanks again. Javier
On 24 mayo, 14:23, Marvin Froeder <[email protected]> wrote: > ++ (where is the like button?) > > > > > > > > On Tue, May 24, 2011 at 2:17 PM, Bryan Turner <[email protected]> wrote: > > It might be possible to explicitly configure additional executions of the > > compile-swf goal. I've never tried it. > > > <plugin> > > <groupId>org.sonatype.flexmojos</groupId> > > <artifactId>flexmojos-maven-plugin</artifactId> > > <extensions>true</extensions> > > <executions> > > <execution> > > <id>compile-extra-swf</id> > > <goal>compile-swf</goal> > > <configuration> > > //Configure a different name than the default > > </configuration> > > </execution> > > </executions> > > </plugin> > > > I'm not sure if you might be able to use the <moduleFiles/> configuration > > directive to do it as well. What you're looking for really isn't > > well-supported, though. You'd be better off creating a second module and > > doing it in a more conventional way. Sometimes while you can fight Maven and > > browbeat it into doing what you want, it's better to just do it Maven's way. > > That's usually the case, actually. Rather than spend too much time trying to > > configure executions, I'd just make a second Maven module (not to be > > confused with Flex modules). > > > Hope this helps, > > Bryan Turner > > > On Tue, May 24, 2011 at 6:21 AM, Javier <[email protected]> wrote: > > >> I'l explain more what I want so maybe some body can help me. > > >> I have a flex project that have two different main .as classes, when > >> I'm working directly, with no maven, I compile the two independently, > >> and they use two different flex config file, and output two swf files. > >> But they are at the same project same class path. So what I want to > >> know if there is a way to tell maven to compile theme, or if I have to > >> have two different pom for each one. > > >> On 23 mayo, 10:55, Javier <[email protected]> wrote: > >> > Hello, is there any way to make 2 swf from diferent .as main in the > >> > same maven compilation? > > >> -- > >> 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/
