Bonjour,

Je rencontre un problème avec GWT 2.0 sous eclipse lorsque je change l'arborescence de mes packages.

Voici l'arborescence du projet de base sous eclipse :



Et voilà ce que j'aimerais obtenir :



Voilà mon fichier .gwt.xml :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='gxt4graphmavenlike'>
  <!-- Inherit the core Web Toolkit stuff.                        -->
  <inherits name='com.google.gwt.user.User'/>
 
  <!-- Inherit the default GWT style sheet.  You can change       -->
  <!-- the theme of your GWT application by uncommenting          -->
  <!-- any one of the following lines.                            -->
  <inherits name='com.google.gwt.user.theme.standard.Standard'/>
  <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
  <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/>     -->
 
  <!-- Other module inherits                                      -->
 
 
  <!-- Specify the paths for translatable code                    -->
  <source path='../java/client'/>
  <source path='../java/shared'/>
 
  <!-- Specify the app entry point class. -->                      
  <entry-point class='main.java.client.GXT4GraphMavenLike'/>
 
</module>
J'ai donc mis le source path en chemin relatif vers mes packages contenant du code "compatible" GWT mais j'ai quand même ce message d'erreur :

[ERROR] Unable to find type 'main.java.client.GXT4GraphMavenLike'
[ERROR] Hint: Previous compiler errors may have made this type unavailable
[ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
J'ai beau avoir chercher, je ne trouve pas la solution...

Pouvez-vous me venir en aide svp ?

Merci beaucoup!!