Version 51.1 by Kieran Kelleher on 2010/09/27 16:13

Hide last authors
Kieran Kelleher 42.1 1 {{note}}
2
3 These instructions need to be updated to reflect the current directory layout of Wonder
4
5 {{/note}}
6
Paul Hoadley 34.1 7 == Introduction ==
Kieran Kelleher 32.1 8
Kieran Kelleher 50.1 9 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. 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 10
Paul Hoadley 34.1 11 == Prerequisites ==
David Avendasora 18.1 12
Paul Hoadley 48.1 13 Wonder source tree is checked out from CVS: [[Download Wonder Source, Build, Install and Upgrade]]
David Avendasora 18.1 14
15 == Importing Wonder Projects into Eclipse ==
16
Kieran Kelleher 40.1 17 ===== First right-click in Package Explorer and select Import... from the context menu =====
Kieran Kelleher 30.1 18
19 {{panel}}
20
Paul Hoadley 46.1 21 !Picture 1.jpg|align=center!
Kieran Kelleher 30.1 22
23 {{/panel}}
24
Kieran Kelleher 40.1 25 ===== Select "Existing Projects into Workspace" as the import source =====
Kieran Kelleher 30.1 26
27 {{panel}}
28
Paul Hoadley 46.1 29 !Picture 2.jpg|align=center!
Kieran Kelleher 30.1 30
31 {{/panel}}
32
Kieran Kelleher 40.1 33 ===== Click Browse... to select the root directory containing the projects =====
Kieran Kelleher 30.1 34
35 {{panel}}
36
Paul Hoadley 46.1 37 !Picture 3.jpg|align=center!
Kieran Kelleher 30.1 38
39 {{/panel}}
40
Kieran Kelleher 40.1 41 ===== Navigate to and select ../Wonder/Common/Frameworks and click Choose =====
Kieran Kelleher 30.1 42
43 {{panel}}
44
Paul Hoadley 46.1 45 !Picture 4.jpg|align=center!
Kieran Kelleher 30.1 46
47 {{/panel}}
48
Kieran Kelleher 40.1 49 ===== The list of projects inside that folder appear checked. Turn OFF 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
Paul Hoadley 46.1 53 !Picture 5.jpg|align=center!
Kieran Kelleher 30.1 54
55 {{/panel}}
56
Kieran Kelleher 40.1 57 ===== Eclipse will build the projects and you can now browse, inspect and use Wonder source in Eclipse =====
Kieran Kelleher 30.1 58
59 {{panel}}
60
Paul Hoadley 46.1 61 !Picture 6.jpg|align=center!
Kieran Kelleher 30.1 62
63 {{/panel}}
64
Kieran Kelleher 40.1 65 ===== Note that the Wonder source tree has other folders with projects too, so for example if you want the ExcelGenerator framework, just repeat the above import process and select the folder //containing// the ExcelGenerator framework project as show below =====
Kieran Kelleher 30.1 66
Kieran Kelleher 40.1 67 {{panel}}
Kieran Kelleher 30.1 68
Kieran Kelleher 40.1 69 !Picture 7.jpg|align=center!
Kieran Kelleher 30.1 70
Kieran Kelleher 40.1 71 {{/panel}}
72
Paul Hoadley 34.1 73 ===== Working with WebObjects version 5.4.X =====
74
75 {{note title="Wonder ERExtensions Source classpaths are different for WO 5.3.3 and WO 5.4.X"}}
76
77 If you adjust the "WO Explorer" View filters so that you can see files beginning with '.', you will notice that there are three .classpath files. To work with WO 5.4.X, simply replace the contents of the ".classpath" file with the contents of the ".classpath-5.4" file
78
79 {{/note}}