Funny thing is this functionality worked in prior versions of flexmojos (at
least in version 3.1.0) by doing the following:
WAR module (multi-module project where a simple SWF and WAR exists):
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<executions>
<execution>
<id>copy-swf-resources</id>
<goals>
<goal>copy-flex-resources</goal>
</goals>
</execution>
<execution>
<id>generate-html-wrapper</id>
<goals>
<goal>wrapper</goal>
</goals>
<configuration>
<!--
Currently the "wrapper" output does not get added to the
generated WAR so we have to change the outputDirectory (see:
http://groups.google.com/group/flex-mojos/browse_thread/thread/284e23fb2a5ca
506)
-->
<outputDirectory>${project.build.directory}/${project.build.finalName}</outp
utDirectory>
<htmlName>index</htmlName>
<parameters>
<title>${project.name}</title>
<swf>test-swf-${project.version}</swf>
<width>100%</width>
<height>100%</height>
</parameters>
</configuration>
</execution>
</executions>
</plugin>
From: [email protected] [mailto:[email protected]] On
Behalf Of Marvin Froeder
Sent: Wednesday, July 21, 2010 9:07 AM
To: [email protected]
Subject: Re: [flex-mojos] WAR with default html-wrapper-template
Well, I honestly don't recall how that particular piece of code works.
On Wed, Jul 21, 2010 at 10:02 AM, Will Hoover <[email protected]>
wrote:
I tried the same configuration as the flexmojos-102, but without using
templateInclusions and templateExclusions. There were no warnings/errors and
the target for the WAR had nothing, but the SWF.
From: [email protected] [mailto:[email protected]] On
Behalf Of Marvin Froeder
Sent: Wednesday, July 21, 2010 8:53 AM
To: [email protected]
Subject: Re: [flex-mojos] WAR with default html-wrapper-template
Well, I do not recall how or if it is possible then....
But shouldn't be much different from that.
On Wed, Jul 21, 2010 at 9:50 AM, Will Hoover <[email protected]> wrote:
That is not using the default html-wrapper-template generated by the flex
compiler... it is using index.jsp
From: [email protected] [mailto:[email protected]] On
Behalf Of Marvin Froeder
Sent: Wednesday, July 21, 2010 8:45 AM
To: [email protected]
Subject: Re: [flex-mojos] WAR with default html-wrapper-template
http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-test-har
ness/projects/issues/flexmojos-102/war/
On Wed, Jul 21, 2010 at 9:42 AM, Will Hoover <[email protected]> wrote:
Is there a way to have a multi-module project with a SWF and WAR where the
WAR will include the default html-wrapper-template generated by the flex
compiler?
Following directions from
https://docs.sonatype.org/display/FLEXMOJOS/Html+Wrapper+Mojo does not work.
--
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]
<mailto:flex-mojos%[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]
<mailto:flex-mojos%[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]
<mailto:flex-mojos%[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]
<mailto:flex-mojos%[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]
<mailto:flex-mojos%[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/