Dashboard > WOProject / WOLips > ... > Tutorials > Maven Running or Debugging as WO Application
  WOProject / WOLips Log In View a printable version of the current page.  
  Maven Running or Debugging as WO Application
Added by Lachlan Deck, last edited by Lachlan Deck on Feb 20, 2009  (view change) show comment
Labels: 
(None)

When running a WO Application in WOLips the following steps currently need to be followed in order for WOLips to resolve components and resources on the classpath.

  1. Follow this tutorial http://wiki.objectstyle.org/confluence/display/WOL/Run+or+Debug+a+WO+Application. Note, the application may fail to start.
  2. Stop the application and open the run/debug configuration
  3. Switch to the classpath tab
  4. Click on Advanced... selecting Folders
  5. Add your application and dependant framework's build/.../'Java' folders
  6. Your results will look something like this
Classpath Containers are more convenient

You may find yourself doing the above often and it can become painful. Classpath containers become much more convenient...

  1. Follow up to point 3 above
  2. Click on Advanced... selecting Add Classpath Variables
  3. Click the Configure Variables... button, and for each folder you would have added above define a variable. I've called mine BUNDLE_SOMETHING
  4. Now you can select the ones you need for the app and click ok
  5. You'll have something looking like this

Now you can apply changes and run/debug. You may from time to time need to use Project > Clean... when WOLips gets into a weird state.

Site running on a free Atlassian Confluence Open Source Project License granted to ObjectStyle. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators