I've got the following configuration within my Maven's pom.xml file:

    <pluginRepositories>
        <pluginRepository>
            <id>central</id>
            <name>Maven Plugin Repository</name>
            <url>http://repo2.maven.org/maven2/</url>
        </pluginRepository>
    </pluginRepositories>

    (...)

    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.4</version>
        <configuration>
            <warSourceDirectory>${basedir}/war</warSourceDirectory>
            <archiveClasses>true</archiveClasses>
        </configuration>
    </plugin>

The problem is that GWT seems to not take that configuration seriously. 
After choosing Maven -> Update Project... I receive an error:

    WAR source directory /MyProject/src/main/webapp is missing
>

which suggests that GWT tries to use default WAR directory. After Maven 
repository clean, deleting Eclipse's .settings folder content and executing 
Update 
Project... again, Eclipse/GWT recreates com.google.gdt.eclipse.core.prefsfile 
which contains property:

    warSrcDir=src/main/webapp

Changing manually WAR directory field at project -> Properties -> Google -> 
Web Application to "war" solves the problem, but every time I execute Update 
Project..., Eclipse/GWT sets WAR directory back to "src/main/webapp".

Thanks for any help. :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to