Version 7.1 by Lachlan Deck on 2009/02/20 12:05

Show last authors
1 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.
2
3 1. Follow this tutorial [[http://wiki.objectstyle.org/confluence/display/WOL/Run+or+Debug+a+WO+Application]]. Note, the application may fail to start.
4 1. Stop the application and open the run/debug configuration [[image:OpenConfigurations.png]]
5 1. Switch to the classpath tab [[image:ClasspathTab.png]]
6 1. Click on Advanced... selecting Folders [[image:AdvancedOptions.png]]
7 1. Add your application and dependant framework's build/.../'Java' folders [[image:FolderSelection.png]]
8 1. Your results will look something like this [[image:ClasspathTabResult.png]]
9
10 {{tip title="Classpath Containers are more convenient"}}
11
12 You may find yourself doing the above often and it can become painful. Classpath containers become much more convenient...
13
14 # Follow up to point 3 above
15 # Click on Advanced... selecting Add Classpath Variables !Advanced_AddClasspathVariables.png!
16 # Click the Configure Variables... button, and for each folder you would have added above define a variable. I've called mine BUNDLE_SOMETHING !ClasspathVariablesDefined.png!
17 # Now you can select the ones you need for the app and click ok !ClasspathVariableSelection.png!
18 # You'll have something looking like this !ClasspathTabResult_usingClasspathVariables.png!
19
20 {{/tip}}
21
22 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.