Well, flexmojos is meant to not build more then one application per project.
On Dec 22, 8:37 am, eprevot <[email protected]> wrote: > > 1) Collapse your 2 plugin declarations into 1, which has the 2 > > execution tags, each of which has its own configuration tag. > > Thank you this worked. I don't understand why having two execution > tags in one plugin produces the 2 executions whereas having 2 plugins > with one execution each produces only one execution... ? > > I have another question, not linked to html wrappers but to the > MNG-4487 issue, that VELO quoted : > I wanted to have 2 different swf in one project, one with a > conditional compilation variable to true, the other to false. I was > able to do it using classifier and 2 configuration tags, one in the > plugin tag the other in the execution tag : > > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <configuration> > <definesDeclaration> > <property> > <name>SOMETHING::aBool</name> > <value>true</value> > </property> > </definesDeclaration> > </configuration> > <executions> > <execution> > <goals> > <goal>compile-swf</goal> > </goals> > <configuration> > <classifier>secondSWF</classifier> > <definesDeclaration> > <property> > <name>SOMETHING::aBool</name> > <value>false</value> > </property> > </definesDeclaration> > </configuration> > </execution> > </executions> > </plugin> > > But I wonder if it's ok or if it is a bug in flexmojos. Because I read > herehttp://maven.apache.org/guides/mini/guide-building-for-different-envi... > that when you use a classifier, it produces 2 builds, one "main" and > one with the extension of the classifier, but the 2 builds are equal. > Here the 2 configurations make 2 unequal swf. > What do you think ? -- 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/
