Well, even when useFinalName is true, flexmojos must append the classifier (if any).
VELO On Fri, Mar 5, 2010 at 10:24 AM, Sri Sankaran <[email protected]>wrote: > Nope. I am not. > > Then it hit me when I read this other thread (http://is.gd/9Kn3P) of > discussion. That's when I realized the copy-flex-resources by default > uses a > > useFinalName=true > > setting. That's what was causing the test-swf to be renamed the same > as the "normal SWF". > > A side-effect of not using the default value of the useFinalName > property is that the generated war now includes 2 SWFs, one with > *with* the automation libraries and one without. It must be because > copy-flex-resources copies the "normal SWF" and *then* the test-swf. > When using the default setting of the useFinalName property, the same > name is assigned to both files and therefore the second one overwrites > the first. However when useFinalName=false, this does not happen. > > The inclusion of the two SWFs in the WAR means my choices are > > a) Use the default setting of useFinalName and then yank out one of > the SWFs (manually or with an ant task) > b) Set useFinalName to false > c) Just leave it as is -- it is just extra disk space :-P > > > Sri > > On Mar 4, 11:16 am, Marvin Froeder <[email protected]> wrote: > > You probably have some strip classifier or use final name, or whatever in > > your pom. > > > > VELO > > > > On Thu, Mar 4, 2010 at 1:05 PM, Sri Sankaran < > [email protected]>wrote: > > > > > > > > > To answer your question, yes (in a profile). > > > > > However, I found the issue. The test-swf *is* in the war. However, > > > it is named without the -test classifier. In other words, it looks > > > like the standard SWF. However a size comparison showed that it was > > > indeed the test-swf. > > > > > What is the instruction that tells copy-flex-resources to not rename > > > the swf? > > > > > Having asked that question I am on the fence. Having it named without > > > the "-test" in its name might be a *good* thing...Hmm.. > > > > > Sri > > > > > On Mar 4, 10:21 am, Marvin Froeder <[email protected]> wrote: > > > > Did you add a dependnecy to the test-swf? > > > > > > VELO > > > > > > On Thu, Mar 4, 2010 at 11:58 AM, Sri Sankaran > > > > <[email protected]>wrote: > > > > > > > I have a typical flexmojos multi-module set up with sibling SWC, > SWF > > > > > and WAR modules. > > > > > > > I use the flexmojos:test-swf goal in non-production profiles to > > > > > generate a SWF that includes automation libraries. However, I am > > > > > finding that the flexmojos:copy-flex-resources goal (which is > invoked > > > > > by the WAR module) is not picking up the test-swf that is generated > > > > > during a compilation of the SWF module. > > > > > > > What step am I missing? > > > > > > > -- > > > > > 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%[email protected]> > <flex-mojos%2bunsubscr...@googlegrou ps.com> > > > <flex-mojos%2bunsubscr...@googlegrou ps.com> > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/flex-mojos?hl=en?hl=en > > > > > > >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]<flex-mojos%[email protected]> > <flex-mojos%2bunsubscr...@googlegrou ps.com> > > > For more options, visit this group at > > >http://groups.google.com/group/flex-mojos?hl=en?hl=en > > > > >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]<flex-mojos%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos?hl=en?hl=en > > 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?hl=en?hl=en http://flexmojos.sonatype.org/
