When I build a war using gwt-maven-plugin via:

 <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>gwt-maven-plugin</artifactId>
                <version>${gwt-maven-plugin.version}</version>
                <configuration>

 <module>com.qsd.controltower.calculators.TitleInsuranceCalculator</module>
                    <inplace>true</inplace>
                    <warSourceDirectory>${basedir}/war</warSourceDirectory>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <warSourceDirectory>${basedir}/war</warSourceDirectory>
                </configuration>
            </plugin>

It does generate a war in the target folder but it has no index.html file.
It has no files in the root of the war.

The GWT generated code is in a long folder named as [package].[main class].

Inside this folder is an html file named [main class].html

I think what I want is this folder removed completely and the html file
renamed index.html. How can this be done? What is the right way to
configure/build so the war is runnable?

Thanks!

Reply via email to