You'll often need to work with 3rd party Jars, as well as your own reusable code.
Adding these to your project is very simple.
- By default WOLips will create a
Librariesfolder in your project directory. Populate this with any jars you like.
- In Eclipse, right-click (or ctrl-click) on the jar and choose
Build Path > Add to Build Path. This simply adjusts your project classpath but doesn't affect your final build.
- For frameworks, you should turn on the Export checkbox in the build path window as hown below in Fig. 1. Doing so ensures that other WebObjects projects the reference the framework "see" the jar library in their Eclipse build path.
Fig. 1 Export jars when in a framework