Add a Framework Dependency

Version 31.1 by Kieran Kelleher on 2007/07/06 20:19

Most projects have dependencies on additional frameworks such as Project Wonder.  This short tutorial will show you how to include those frameworks in your WOLips project.

1. In Package Explorer, Right-Click/Ctrl-Click the "WO Frameworks" item and select "Configure...".  Alternatively you can right-click the project, select "Properties", go to the "Build Path" and select the "Frameworks" tab.

Picture 32.png


2. The WO Frameworks dialog now appears.  This dialog allows you to select which frameworks will be linked into your project.  The hierarchy shows where the frameworks are installed.

Picture 33.png


3. In the case of Project Wonder, if you open the Local tree node, you will see all of the entries in your /Library/Frameworks folder.  Go ahead and select "ERExtensions" and "ERJars" from the list and click "Finish". Why not grab the "Ajax" framework while you at it

Naturally Project Wonder frameworks won't be available for selection if you've not yet installed them. Should you wish to install Project Wonder, see here for various topics on Project Wonder, including installation.

Picture 34.png

By the way, what does this actually do? Well, this procedure changes the the contents of the file named ".classpath". Evidently that file is used for the WOLips incremental builder. This procedure also changes the files in the "woproject" directory that ant depends on for building the project. If you use a version control system such as Subversion you will see this when you next commit updates to the repository or compare current working copy to repository.


4. That's it  WOLips will automatically rebuild your project to reflect the new dependencies, update the mock .xcodeproj files (for integration with WOBuilder), and all of your code completions will now include completions for elements in the included frameworks.

5. It's time to Deploy a WO Application