You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I modfiy a file included in a client module and when I reload the page through the browser I expect the GWT plugin automatically recompile it. However (at least in the case of messages and constants) this does not happen if the files that are modified they are placed on submodules.
Software on which the test was performed:
- Java version: JDK 17.0.6 Oracle Corporation 2023-01-17
- Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)
Version: 2024-03 (4.31.0)
Build id: 20240307-1437
- Tomcat: 10.1.11
- GWT Eclipse Plugin 4.0.1.202402121339
- GWT 2.11.0
The test application (attached):
The application consists of 2 modules:
testGWT (main)
testShared (submodule)
The messages are present on the testShared submodule in the MyMessages.properties file.
Steps to reply:
Prepare Eclipse 2024-03 with JDK 17, Tomcat 10.1 and GWTPlugin 4.0.1.202402121339
Import the 2 modules (testGWT and testShared) into Eclipse
Create a GWT Development Mode (CodeServer) configuration and set the appropriate -launcherDir option.
In my environment: -launcherDir X:\Code\projBase.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\testGWT test.gwt.sample.TestGWT
Run testGWT under the Tomcat server you configured in Eclipse.
In step 9 I expect to see the message "This is my message updated" but instead I keep seeing "This is my message".
In the Eclipse Console at point 8 I expect to see a recompilation message but instead I see:
GET /recompile/testgwt
Job test.gwt.sample.TestGWT_1_1
starting job: test.gwt.sample.TestGWT_1_1
binding: user.agent=safari
skipped compile because no input files have changed
0,022s total -- Compile completed
I haven't had time to test, as I don't use eclipse. If someone can repro with/without eclipse and confirm that it fails even without eclipse (and provides some steps to repro...), I'll be happy to give it a shot.
Almost certainly this is a case of a copy of the stale source file also being on the source path - either eclipse copied it and left it, or one of the earlier build steps did.
Description:
When I modfiy a file included in a client module and when I reload the page through the browser I expect the GWT plugin automatically recompile it. However (at least in the case of messages and constants) this does not happen if the files that are modified they are placed on submodules.
Software on which the test was performed:
The test application (attached):
The application consists of 2 modules:
The messages are present on the testShared submodule in the MyMessages.properties file.
Steps to reply:
In my environment: -launcherDir X:\Code\projBase.metadata.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\testGWT test.gwt.sample.TestGWT
Expected results:
In step 9 I expect to see the message "This is my message updated" but instead I keep seeing "This is my message".
In the Eclipse Console at point 8 I expect to see a recompilation message but instead I see:
testGWT_2.zip
The text was updated successfully, but these errors were encountered: