Version 39.1 by David Avendasora on 2011/04/26 13:21

Show last authors
1 == Introduction ==
2
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.
4
5 == Prerequisites ==
6
7 Wonder source tree is checked out from source control: [[Getting the Wonder Source Code]]
8
9 == Importing Wonder Projects into Eclipse ==
10
11 1. Right-click in WO Explorer and select "Import..." from the context menu.
12
13 {{panel}}
14
15 !Screenshot1.png|align=center!
16
17 {{/panel}}
18
19 1. Select "Existing Projects into Workspace" as the import source.
20
21 {{panel}}
22
23 !Screenshot2.png|align=center!
24
25 {{/panel}}
26
27 1. Click "Browse..." to select the root directory containing the projects.
28
29 {{panel}}
30
31 !Screenshot3.png|align=center!
32
33 {{/panel}}
34
35 1. To import framework projects, for example, navigate to and select ".../Wonder/Frameworks" and click "Choose".
36
37 {{panel}}
38
39 !Screenshot4.png|align=center!
40
41 {{/panel}}
42
43 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".
44
45 {{panel}}
46
47 !Screenshot5.png|align=center!
48
49 {{/panel}}
50
51 1. Eclipse will build the projects and you can now browse, inspect and use Wonder source in Eclipse.
52
53 {{panel}}
54
55 !Screenshot6.png|align=center!
56
57 {{/panel}}
58
59 {{note title="Importing other projects"}}
60
61 The Wonder source tree has other folders with projects too. For instance, to import the example application projects, select the "Examples" directory instead of "Frameworks" above.
62
63 {{/note}}
64
65 ===== Working with WebObjects version 5.4.X =====
66
67 {{note title="Wonder ERExtensions Source classpaths are different for WO 5.3.3 and WO 5.4.X"}}
68
69 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
70
71 {{/note}}