Dashboard > WADI > Developers > Eclipse-3.2.x
Eclipse-3.2.x Log In | Sign Up   View a printable version of the current page.

Added by jules , last edited by jules on Sep 19, 2006  (view change)
Labels: 
(None)

Follow (and extrapolate from!) these steps to get a WADI development environment up and running in Eclipse 3.x:

  • d/l and install the latest maven-2.0.x
  • follow instructions for SVN to get yourself a WADI tree
  • cd wadi
  • mvn -Dmaven.test.skip=true install
  • mvn eclipse:eclipse
  • mkdir <WADI> (wherever you want your WADI workspace to be)
  • start eclipse
  • select the <WADI> workspace that you have just created a directory for
  • Workbench
  • File -> Import/Export... -> General -> Existing Projects into Workspace -> Next -> Select Root Directory: <the 'wadi' dir you just checked out> -> Fimish
  • wait for Eclipse to finish 'refreshing workspace' and then 'building workspace'. (may take a VERY long time - 5-10 mins!)
  • select all Projects in Navigator pane, then Project -> Properties -> Java Build Path -> Libraries -> Add Variable -> Configure Variables... -> New ... -> Name: M2_REPO, Path: e.g. /home/jules/.m2/repository -> OK -> etc..
  • Eclipse seems to get a bit confused here - I had to quit, restart and do a 'clean' bulid before it settled down
  • lets disable a few compiler warnings - project by project - where applicable:
  • Project -> Properties -> Java Compiler -> Errors/Warnings -> Enable project specific settings ->
  • Potential Programming problems -> Serializable class without... -> Ignore
  • Deprecated and restricted API -> Ignore (Servlet API requires that we implement deprecated portions of their API)
  • OK, clean rebuild etc..
  • To integrate SVN with Eclipse - check this out

happy hacking

Site running on a free Atlassian Confluence Open Source Project License granted to The Codehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.2 Build:#919 Nov 26, 2007) - Bug/feature request - Contact Administrators