Wiki source code of Create a Framework with WOnder Layout
Version 31.1 by Kieran Kelleher on 2007/01/16 13:07
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
23.1 | 1 | === Introduction === |
![]() |
15.1 | 2 | |
![]() |
23.1 | 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. | ||
![]() |
15.1 | 6 | Also, at the time of writing this article I was using Eclipse 3.2.1 with WOLips build #3769. |
7 | |||
![]() |
23.1 | 8 | === How To === |
![]() |
15.1 | 9 | |
![]() |
23.1 | 10 | ===== First create the project in your Eclipse workspace. ===== |
![]() |
15.1 | 11 | |
![]() |
25.1 | 12 | Right-click in Package Explorer view of the WOLips perspective and select New->Other. |
13 | [[image:new-project-other.jpg]] | ||
![]() |
15.1 | 14 | |
15 | Next type WO in the filter field and select WOnderFramework from the list and click Next. | ||
![]() |
27.1 | 16 | [[image:new-WOnderFramework.jpg]] |
![]() |
15.1 | 17 | |
18 | Next enter a project name and click Finish | ||
![]() |
27.1 | 19 | [[image:WOnderFramework-projectname.jpg]] |
![]() |
15.1 | 20 | |
![]() |
31.1 | 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 |