View Full Version : Ressource not include in GXT 2.0 M2.jar

7 Jun 2009, 11:48 PM

I have some trouble to find the ressources (css, images ...) in the jar file "gxt.jar" for GXT 2.0 M2.

In the previous release the ressources are well included in the jar file.

Can somebody explain me where to find the ressources or how the ressources works with gxt 2.0 ?


7 Jun 2009, 11:58 PM
The resources are in the ./resources/ folder of the distribution zip...

8 Jun 2009, 12:03 AM
Ok, Do you know why the resssources are not more included in jar file ?

Is it just for the millestone release or for all the next release ?


8 Jun 2009, 3:17 AM
Seems to be for all the next releases.
See 2.0_migration_guide.html and setup.txt in the release folder for more info

8 Jun 2009, 4:48 AM
I think that this way is not really clean, especially if you use maven dependencies.

For each new update of GXT now you have to update the jar file (Automatic and transparent with maven) and the resource folder ( you have to copy manually the resource files this is NOT automatic with maven).

In previous release the resources are well included in jar file so only the update of the jar file was necessary it was very more simple.

I don't understand why this has changed ...


8 Jun 2009, 4:54 AM
The new GWT 1.6 dir structure allows many more features than before. If you want to use them in a good way it is not very good to have images in the classpaths public dir.

8 Jun 2009, 7:04 AM
Ok thanks sven but what do you think about this method when you use maven dependencies ?

3 Dec 2009, 11:30 AM
Hi, when using Eclipse where should I place the resources directory.