Geomajas Community Documentation
Eclipse project configurations can be generated using the maven Eclipse plug-in. This requires you to run the following command:
geomajas-trunk>
mvn eclipse:eclipse
After the command has completed, Eclipse project definitions will have been generated for all subprojects (except the pom projects). These projects can now be imported into Eclipse.
If you will be working with the GWT face, you may want to make use of the GWT Eclipse plug-in of Google. Detailed instructions can be found on the following site: http://code.google.com/eclipse/docs/download.html. We have experienced a problem with the project dependencies in Eclipse, which can be solved by running the gwt:eclipse goal of the GWT maven plug-in. This goal should be run the GWT project directory: geomajas-gwt-simple or geomajas-gwt-example (currently in development).
geomajas-gwt-simple>
mvn gwt:eclipse
If you run this goal it will install the dependent libraries in the lib folder of the GWT war layout. Unfortunately, however, GWT does not allow Eclipse to automatically deploy in this folder.
After importing and building the GWT projects, make sure you convert them to GWT projects in the project properties dialog:
Check the "Use Google Web Toolkit" checkbox. The GWT SDK can be
configured by clicking on the " Configure SDKs..."
link.
After configuration, you should now be able to run the project as a GWT
Web application.