Wiki source code of Create a Framework with WOnder Layout
Version 31.1 by Kieran Kelleher on 2007/01/16 13:07
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | === Introduction === | ||
2 | |||
3 | So, you have built the mother of all WebObjects apps in XCode or Eclipse with everything in the default package (or not). The time has come where you want a make a new WebObjects application that re-uses some of the functionality you have already created in bigApp.woa. | ||
4 | This article explains how to create a framework in Eclipse that can be used with your WebObjects projects. The resulting framework can be used in WOLips or XCode projects. In this example a framework is created that consists of class(es) that were in the default package of a WebObjects application and the 3rd party jar dependencies were originally in /Library/WebObjects/Extensions. The resulting framework bundle will encompass the 3rd party jar and the custom java classes that are moved from the original WO project. | ||
5 | Disclaimer: I am still relatively new to Eclipse, so if you see a smarter way to do this, then feel free to edit this wiki page. | ||
6 | Also, at the time of writing this article I was using Eclipse 3.2.1 with WOLips build #3769. | ||
7 | |||
8 | === How To === | ||
9 | |||
10 | ===== First create the project in your Eclipse workspace. ===== | ||
11 | |||
12 | Right-click in Package Explorer view of the WOLips perspective and select New->Other. | ||
13 | [[image:new-project-other.jpg]] | ||
14 | |||
15 | Next type WO in the filter field and select WOnderFramework from the list and click Next. | ||
16 | [[image:new-WOnderFramework.jpg]] | ||
17 | |||
18 | Next enter a project name and click Finish | ||
19 | [[image:WOnderFramework-projectname.jpg]] | ||
20 | |||
21 | (( Under Construction )) (I just noticed that the WOnderFramework wizard is hosed in latest version of WOLips (3769) ... I will come back to this later |