GWT application does not realize front end changes

265 Views Asked by At

I am trying to update the front end of GWT webapp. I am using maven as my build system and am hosting my app on a tomcat server. My problem is as follows. I change something in a widget (ui.xml file). I recompile with mvn clean install. Compilation is successful. I then run my compiled web application on a tomcat server. Everything loads fine, but when I see my web app nothing has changed even though it is different within the code. I am able to see changes in functionality when I change the java code, but when I change something on the front end in a ui.xml file, nothing changes. My compiled webapp is built in the target/projectName/ folder.

I delete and repopulate the build directory with the mvn clean goal. I have also tried clearing the cache in my browser. I also have forced gwt recompilation on every mvn install command.

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.8.1</version>
<executions>
    <execution>
        <goals>
            <goal>compile</goal>
            <goal>test</goal>
        </goals>
    <configuration>
        <force>true</force>
        <compileReport>true</compileReport>
        <failOnError>true</failOnError>
        <printJavaCommandOnError>true</printJavaCommandOnError>
        <classpathScope>compile+runtime</classpathScope>
    </configuration>
    </execution>
</executions>
<configuration>                  
    <superDevMode>false</superDevMode>
    <runTarget>PROJECTNAME.html</runTarget>                                      
    <modules>
        <module>com.projectname.PROJECTNAME</module>
    </modules>
</configuration>
</plugin>

I am expecting that the recompiled code contain my changes, and that any potential ways that my code is overwritten by old builds be handled by forced gwt recompilation and the mvn clean goal.

EDIT ::

I have been able to make changes to the front end with by using the ui.xml file's owner class (I am referring to the java file associated with the ui.xml file), but I am still unable to realize changes made in the ui.xml file

0

There are 0 best solutions below