-
Notifications
You must be signed in to change notification settings - Fork 8
Development
You must have maven installed locally and Eclipse >= 4.2
(You can check for Maven by typing mvn --version into Terminal)
Necessary Eclipse plugins from Eclipse Marketplace:
- Google Plugin for Eclipse [INSERT_ECLIPSE_VERSION_NUMBER]
- m2e
- m2e connector for build-helper-maven-plugin
- m2e-wtp ("Maven Integration for Eclipse WTP")
- ExtJS JSDT Integration
Necessary Eclipse plugins from "Install New Software" (Help->Install New Software)
- WindowBuilder Pro (to get to this this, go to Help->Install New Software. Click "Add" in the upper right hand corner. Name: "WindowBuilder Pro Update Site" Location: http://dl.google.com/eclipse/inst/d2wbpro/latest/4.2. After installing it, go to Help->Check for Updates)
NOTE: If you followed the instructions that were previously posted on this wiki, first go to Help->About Eclipse in the top menu bar (Eclipse->About Eclipse for Mac users). Click on "Installation Details," then in the "Installed Software" tab uninstall all the plugins that start with "GWT" or "WindowBuilder" (Keep the Google Plugin and the Google Web Tools SDK).
Make sure you are in the "Package Navigator" view (Window->Show View->Other...->Java->Package Explorer).
If it's the first time your file is being used with GXT, navigate to src/main/java->dssg.client->webapp.java in the Package Explorer. Right click on webapp.java and select Google Web Toolkit->Configure for using GWT-Ext. This should create a gwtext.jar file in the top level of the Package Explorer view.
Right click on the file "webapp.java" in the "dssg.client" package and select Open With -> WindowBuilder Editor.
Right click on the project (cta-webapp) and select "Run As" -> "Web Application". If you get some errors about a missing argument in the console, then try right clicking the project, go to "Properties", then on the left pane go to "Java Build Path" and open the "Source" tab. If you see "Excluded: (**)" for the entry "cta-webapp/src/main/resources", then highlight it and click the "Remove" button (NOTE: you must repeat this step every time you perform a Maven->Update Project).