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

From version 49.1
edited by Paul Hoadley
on 2011/03/27 05:46
Change comment: Hyperlink to source download page.
To version 52.1
edited by David Avendasora
on 2011/04/29 14:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.paulh
1 +XWiki.avendasora
Content
... ... @@ -1,79 +7,69 @@
1 -{{note}}
2 -
3 -These instructions need to be updated to reflect the current directory layout of Wonder
4 -
5 -{{/note}}
6 -
7 7  == Introduction ==
8 8  
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>>Download Wonder Source, Build, Install and Upgrade]]. 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.
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.
10 10  
11 11  == Prerequisites ==
12 12  
13 -Wonder source tree is checked out from CVS: [[Download Wonder Source, Build, Install and Upgrade]]
7 +Wonder source tree is checked out from source control: [[Getting the Wonder Source Code]]
14 14  
15 15  == Importing Wonder Projects into Eclipse ==
16 16  
17 -===== First right-click in Package Explorer and select Import... from the context menu =====
11 +1. Right-click in WO Explorer and select "Import..." from the context menu.
18 18  
19 19  {{panel}}
20 20  
21 -!Picture 1.jpg|align=center!
15 +!Screenshot1.png|align=center!
22 22  
23 23  {{/panel}}
24 24  
25 -===== Select "Existing Projects into Workspace" as the import source =====
19 +1. Select "Existing Projects into Workspace" as the import source.
26 26  
27 27  {{panel}}
28 28  
29 -!Picture 2.jpg|align=center!
23 +!Screenshot2.png|align=center!
30 30  
31 31  {{/panel}}
32 32  
33 -===== Click Browse... to select the root directory containing the projects =====
27 +1. Click "Browse..." to select the root directory containing the projects.
34 34  
35 35  {{panel}}
36 36  
37 -!Picture 3.jpg|align=center!
31 +!Screenshot3.png|align=center!
38 38  
39 39  {{/panel}}
40 40  
41 -===== Navigate to and select ../Wonder/Common/Frameworks and click Choose =====
35 +1. To import framework projects, for example, navigate to and select ".../Wonder/Frameworks" and click "Choose".
42 42  
43 43  {{panel}}
44 44  
45 -!Picture 4.jpg|align=center!
39 +!Screenshot4.png|align=center!
46 46  
47 47  {{/panel}}
48 48  
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 =====
43 +{{tip title="Wonder isn"}}
50 50  
51 -{{panel}}
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.
52 52  
53 -!Picture 5.jpg|align=center!
47 +{{/tip}}
54 54  
55 -{{/panel}}
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".
56 56  
57 -===== Eclipse will build the projects and you can now browse, inspect and use Wonder source in Eclipse =====
58 -
59 59  {{panel}}
60 60  
61 -!Picture 6.jpg|align=center!
53 +!Screenshot5.png|align=center!
62 62  
63 63  {{/panel}}
64 64  
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 =====
57 +1. Eclipse will build the projects and you can now browse, inspect and use Wonder source in Eclipse.
66 66  
67 67  {{panel}}
68 68  
69 -!Picture 7.jpg|align=center!
61 +!Screenshot6.png|align=center!
70 70  
71 71  {{/panel}}
72 72  
73 -===== Working with WebObjects version 5.4.X =====
65 +{{note title="Ant Builds on your Development Machine"}}
74 74  
75 -{{note title="Wonder ERExtensions Source classpaths are different for WO 5.3.3 and WO 5.4.X"}}
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.*
76 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 79  {{/note}}