PDA

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



alacenaire
7 Jun 2009, 11:48 PM
Hi,

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 ?

Thanks.

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

alacenaire
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 ?

Thanks.

fspab
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

alacenaire
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 ...

Tks

sven
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.

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

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