Author: vjrj Date: 2008-12-01 11:07:15 +0100 (Mon, 01 Dec 2008) New Revision: 974 Modified: trunk/DEV-GUIDE Log: DEV-GUIDE updated with M2_REPO Modified: trunk/DEV-GUIDE =================================================================== --- trunk/DEV-GUIDE 2008-11-30 23:11:28 UTC (rev 973) +++ trunk/DEV-GUIDE 2008-12-01 10:07:15 UTC (rev 974) @@ -6,8 +6,12 @@ Install kune (see INSTALL file). -mvn eclipse:eclipse generates .project and download necessary code jars. +Running (in the trunk directory) + mvn eclipse:eclipse +generates .project and download necessary code jars. Then you can import the project in eclipse (File > Import > Existing Projects into Workspace). +Also you have to set the variable M2_REPO (Eclipse Preferences > Java > Build Path > Classpath Variables > New) to the location of your local maven repo (in our case /home/ouruser/.m2/repository). + GWT Hosted Mode: We have a "Run configuration" (Run > Open Run Dialog) in eclipse with Project: "org.ourproject.kune" with Main class: "com.google.gwt.dev.GWTShell", with this program arguments (or similar): "-noserver -out gwt-out /kune/?locale=en&log_level=INFO -port 8080" and in the "Classpath User Entries":