I don't recall, there is probably a reason, I just don't touch this code
since a long, long time....

On Fri, Aug 6, 2010 at 11:53 AM, Sebastien Bordes <
[email protected]> wrote:

> Like many people I'm trying to create the html wrapper with the
> wrapper goal into my war maven module...
>
> Here the plugin called by the war module
>
>                        <plugin>
>                                <groupId>org.sonatype.flexmojos</groupId>
>
>  <artifactId>flexmojos-maven-plugin</artifactId>
>                                <version>3.7.1</version>
>                                <executions>
>                                        <execution>
>                                                <goals>
>
>  <goal>copy-flex-resources</goal>
>                                                        <goal>wrapper</goal>
>                                                </goals>
>                                        </execution>
>                                </executions>
>
>                                <configuration>
>                                <htmlName>index</htmlName>
>
>  <templateURI>embed:client-side-detection-with-history</
> templateURI>
>                                        <wrapperArtifact>
>                                                <groupId>mycompany</groupId>
>
>  <artifactId>application</artifactId>
>                                        </wrapperArtifact>
>                                </configuration>
>                        </plugin>
>
> The htmlName argument is managed but not the templateURI and after
> having a look into the source code I saw this in
> HtmlWrapperMojo.rewireForWar:
>
>        final Xpp3DomMap config =
> MavenPluginUtil.getParameters(warPlugin);
>
>        // Map this.templateURI to folder:
> {warPlugin.warSourceDirectory)
>        String warSourceDirectory = config.get("warSourceDirectory");
>        if (warSourceDirectory == null) {
>            warSourceDirectory = project.getBasedir() + "/src/main/
> webapp";
>        }
>        this.templateURI = "folder:" + warSourceDirectory;
>
> Why did you override this value
>
> As a workaround U unzip the template.zip intot the src/main/webapp but
> I would prefer not having to let these files here
>
> Thanks
>
> --
> 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
>
> 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/

Reply via email to