Version 53.1 by David Avendasora on 2011/04/29 14:58

Hide last authors
Paul Hoadley 34.1 1 == Introduction ==
Kieran Kelleher 32.1 2
David Avendasora 52.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>>Getting the Wonder Source Code]]. 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
David Avendasora 52.1 7 Wonder source tree is checked out from source control: [[Getting the Wonder Source Code]]
David Avendasora 18.1 8
9 == Importing Wonder Projects into Eclipse ==
10
David Avendasora 52.1 11 1. Right-click in WO Explorer and select "Import..." from the context menu.
Kieran Kelleher 30.1 12
13 {{panel}}
14
David Avendasora 52.1 15 !Screenshot1.png|align=center!
Kieran Kelleher 30.1 16
17 {{/panel}}
18
David Avendasora 52.1 19 1. Select "Existing Projects into Workspace" as the import source.
Kieran Kelleher 30.1 20
21 {{panel}}
22
David Avendasora 52.1 23 !Screenshot2.png|align=center!
Kieran Kelleher 30.1 24
25 {{/panel}}
26
David Avendasora 52.1 27 1. Click "Browse..." to select the root directory containing the projects.
Kieran Kelleher 30.1 28
29 {{panel}}
30
David Avendasora 52.1 31 !Screenshot3.png|align=center!
Kieran Kelleher 30.1 32
33 {{/panel}}
34
David Avendasora 52.1 35 1. To import framework projects, for example, navigate to and select ".../Wonder/Frameworks" and click "Choose".
Kieran Kelleher 30.1 36
37 {{panel}}
38
David Avendasora 52.1 39 !Screenshot4.png|align=center!
Kieran Kelleher 30.1 40
41 {{/panel}}
42
David Avendasora 52.1 43 {{tip title="Wonder isn"}}
Kieran Kelleher 30.1 44
David Avendasora 52.1 45 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.
Kieran Kelleher 30.1 46
David Avendasora 52.1 47 {{/tip}}
Kieran Kelleher 30.1 48
David Avendasora 52.1 49 1. 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 50
51 {{panel}}
52
David Avendasora 52.1 53 !Screenshot5.png|align=center!
Kieran Kelleher 30.1 54
55 {{/panel}}
56
David Avendasora 52.1 57 1. Eclipse will build the projects and you can now browse, inspect and use Wonder source in Eclipse.
Kieran Kelleher 30.1 58
Kieran Kelleher 40.1 59 {{panel}}
Kieran Kelleher 30.1 60
David Avendasora 52.1 61 !Screenshot6.png|align=center!
Kieran Kelleher 30.1 62
Kieran Kelleher 40.1 63 {{/panel}}
64
David Avendasora 52.1 65 {{note title="Ant Builds on your Development Machine"}}
Paul Hoadley 34.1 66
David Avendasora 52.1 67 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|WO:Installing and Using the Hudson build server] 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 {color:#ff0000}NOT{color} do this for you.*
Paul Hoadley 34.1 68
69 {{/note}}