Hello,
I wanted to test the new SDM in 2.7.0-rc1. 
A stylesheet that I reference im my model file is not loaded, in console I 
get the output:

[INFO] GET /overwrite.css
[INFO]    [WARN] ignored get request: /overwrite.css
[INFO]    [WARN] not handled: /overwrite.css

With gwt 2.6.1 I could use normal dev mode and everything was fine. If I 
use GWT 2.7.0-rc1 and compile my application to a war file it also works 
fine. Without this stylesheet I can't use devmode because everything looks 
to different from the compiled war file.

I use tomcat to deploy the war file and I have <noServer>true</noServer> 
set im my pom.xml, see configuration below.

I start devmode with:
mvn gwt:run

I use gwtbootstrap and in my overwrite.css I have a few css rules 
(corporate identity) to overwrite the gwtbootstrap css.

from my model file GUI.gwt.xml:

    <!-- Bootstrap -->
    <inherits name='com.github.gwtbootstrap.Bootstrap'/>
    <inherits name='com.github.gwtbootstrap.datepicker.Datepicker'/>
    <inherits name='com.github.gwtbootstrap.datetimepicker.Datetimepicker'/>
    <set-property name="bootstrap.responsiveDesign" value="true"/>

    <!-- overwrite Bootstrap -->
    <stylesheet src="../fp-overwrite-global.css"/>


the overwrite.css is placed in GUI/src/main/webapp  this is the same folder 
where my GUI.html file is.

configuration from my pom.xml:
...
    <properties>
        
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
    </properties>
...

<!-- GWT Maven Plugin -->
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>gwt-maven-plugin</artifactId>
                <version>${gwtVersion}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                            <goal>i18n</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <hostedWebapp>${webappDirectory}</hostedWebapp>
                    <runTarget>GUI/GUI.html</runTarget>
                    <noServer>true</noServer>
                    <port>8080</port>
                    <debugPort>8008</debugPort>
                    <localWorkers>8</localWorkers>

                    
<i18nMessagesBundle>de.company.department.project.client.util.i18n.Translation</i18nMessagesBundle>

                    <extraJvmArgs>
                        -Xmx1024M -XX:+CMSClassUnloadingEnabled 
-XX:+UseConcMarkSweepGC -XX:MaxPermSize=256M
                    </extraJvmArgs>

                    <disableClassMetadata>true</disableClassMetadata>
                    <disableCastChecking>true</disableCastChecking>

                    <closureCompiler>true</closureCompiler>
                    <draftCompile>false</draftCompile>
                    <optimizationLevel>9</optimizationLevel>
                </configuration>
            </plugin>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/5a9a8e23-1d82-427b-bd09-0de2d044a1ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to