Last modified by Bastian Triller on 2013/09/22 14:29

Hide last authors
Paul Hoadley 34.1 1 == Introduction ==
Kieran Kelleher 32.1 2
Pascal Robert 56.1 3 To work with Wonder source in Eclipse we import, without copying, the source projects from the Wonder source tree we downloaded in [[an earlier tutorial>>doc:WEB.Home.Getting Started.Getting the Wonder Source Code.WebHome]]. By doing so, we make sure our workspace Wonder source projects are the same source as what we have used for our build and install.
Kieran Kelleher 32.1 4
Paul Hoadley 34.1 5 == Prerequisites ==
David Avendasora 18.1 6
Pascal Robert 56.1 7 Wonder source tree is checked out from source control: [[doc:WEB.Home.Getting Started.Getting the Wonder Source Code.WebHome]]
David Avendasora 18.1 8
9 == Importing Wonder Projects into Eclipse ==
10
Pascal Robert 54.1 11 1. (((
12 Right-click in WO Explorer and select "Import..." from the context menu.
Kieran Kelleher 30.1 13
14 {{panel}}
Pascal Robert 54.1 15 [[image:attach:Screenshot1.png]]
Kieran Kelleher 30.1 16 {{/panel}}
Pascal Robert 54.1 17 )))
18 1. (((
19 Select "Existing Projects into Workspace" as the import source.
Kieran Kelleher 30.1 20
21 {{panel}}
Pascal Robert 54.1 22 [[image:attach:Screenshot2.png]]
Kieran Kelleher 30.1 23 {{/panel}}
Pascal Robert 54.1 24 )))
25 1. (((
26 Click "Browse..." to select the root directory containing the projects.
Kieran Kelleher 30.1 27
28 {{panel}}
Pascal Robert 54.1 29 [[image:attach:Screenshot3.png]]
Kieran Kelleher 30.1 30 {{/panel}}
Pascal Robert 54.1 31 )))
32 1. (((
33 To import framework projects, for example, navigate to and select ".../Wonder/Frameworks" and click "Choose".
Kieran Kelleher 30.1 34
35 {{panel}}
Pascal Robert 54.1 36 [[image:attach:Screenshot4.png]]
Kieran Kelleher 30.1 37 {{/panel}}
38
Pascal Robert 54.1 39 {{tip title="Wonder isn't just Frameworks!"}}
David Avendasora 52.1 40 Project Wonder also has replacements for JavaMonitor and wotaskd and several example applications that are great to learn from. To import the example application projects, select the "Examples" directory instead of "Frameworks" above.
41 {{/tip}}
Pascal Robert 54.1 42 )))
43 1. (((
44 The list of projects inside that folder appear checked. Uncheck the "Copy Projects into Workspace" checkbox and uncheck the projects you don't want and click "Finish".
Kieran Kelleher 30.1 45
46 {{panel}}
Pascal Robert 54.1 47 [[image:attach:Screenshot5.png]]
Kieran Kelleher 30.1 48 {{/panel}}
Pascal Robert 54.1 49 )))
50 1. (((
51 Eclipse will build the projects and you can now browse, inspect and use Wonder source in Eclipse.
Kieran Kelleher 30.1 52
Kieran Kelleher 40.1 53 {{panel}}
Pascal Robert 54.1 54 [[image:attach:Screenshot6.png]]
Kieran Kelleher 40.1 55 {{/panel}}
56
David Avendasora 52.1 57 {{note title="Ant Builds on your Development Machine"}}
Bastian Triller 58.1 58 WOlips' "Incremental Builder" is an incredibly helpful feature during development, but it does things that the Ant deployment build does not do. If you are **either** using WOLips to build your WebObjects Applications (//WOLips Ant Tools > Install//) **or** are [[running Hudson/Jenkins>>doc:documentation.Home.Deployment.Using Jenkins Build Server with WebObjects Projects.Installing and Configuring Jenkins.WebHome]] locally to do it, you **must** also build and install your workspace's Frameworks that your Application depends upon – including your own, Project Wonder's and any others. **The standard Ant build does (% style="color: rgb(255,0,0);" %)NOT(%%) do this for you.**
Paul Hoadley 34.1 59 {{/note}}
Pascal Robert 54.1 60 )))