Eliminating problems with GWT 1.5 to 1.6; What should be changed in maven setup?

I tried to update my live GWT 1.5.2 app to 1.6.4 using maven to build. After fixing all bugs and updating all deprecated calls, it compiles nicely.

But when I try to start the application, nothing happens because (according to Firebug) the files I am trying to download are

http://localhost:8080/softwarename/com.myCompany.WorkSpace/undefined

      

obviously the file loaded right before this ( http://localhost:8080/softwarename/com.myCompany.WorkSpace/com.myCompany.WorkSpace.nocache.js

) is trying to get the file defined on the line null

.

What do I need to change in the setup (pom.xml, structure, etc.) to make it work? Google didn't help ...

UPDATE: I seem to have found a solution. The migration instructions worked with several changes. I had to create a directory in a war directory named from an attribute rename-to

.

Beacause maven didn't get the WorkSpace.html from the war directory, but got it from the shared directory, I had to delete the folder from the script block path. I also had to change the spring security filter paths because the url changed from http://localhost:8080/softwarename/com.myCompany.WorkSpace/WorkSpace.html

to http://localhost:8080/softwarename/workspace/WorkSpace.html

(where workspace

is the rename value).

Now I just need to call the RPC calls again ...

+1


a source to share


1 answer


I think you might have been caught by the new project structure in GWT 1.6. Basically some of your files should be in different locations.

I followed the migration instructions in the GWT 1.6 release notes to get my code to work.



We are not using Maven, so I'm afraid I can't help you.

+1


a source







All Articles