I understand what you say. Maybe you're right. In any case this leads me to make these questions:
1) Why the "Deploy module" process copies the gwt-dev.jar file to the WEB-INF/lib directory?
2) The build.xml file generated contains some absolute paths that are specific of my machine. I think Eclipse resolves these paths at run time when I start the "Deploy module" procedure. When working in a team and using a control version system like subversion or CVS, If I commit this build.xml file containing these absolute paths, when a teammate does an "update" and uses the build.xml created be me, he will have a lot of problems because the absolute paths defined in the file could be wrong for him. This leads me to think that the build.xml file should not be committed on the repository but any person in the team must use the "Deploy module" procedure to make a build creating its own build.xml file. Am I wrong? Am I missing something? For example the build.xml contains some sections like this:
<project name="ImageViewer" default="all" basedir="<full path of the project>"> => this is a full path
................................
................................
................................
<property name="gwt.home" value="<full path of the gwt sdk directory>" />
................................
................................
................................
<copy todir='war/WEB-INF/lib'>
<fileset file="<full path of the gwt sdk gwt-dev.jar file>" />
<fileset file="<full path of the gwt sdk validation-api-1.0.0.GA-sources.jar file>" />
<fileset file="<full path of the gwt sdk validation-api-1.0.0.GA.jar file>" />
</copy>
................................
................................
................................
These are just some of the totals. There are many more. How to solve this problem?
3) Ehen the build.xml file is created, the first row of the file is:
<project name="ImageViewer" default="all" basedir="<full path of the project>">
What is ImageViewer? Where does it come from? My project name isn't ImageViewer.