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

From version 51.1
edited by Kieran Kelleher
on 2010/09/27 16:13
Change comment: There is no comment for this version
To version 54.1
edited by Pascal Robert
on 2013/09/22 14:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kieran
1 +XWiki.probert
Content
... ... @@ -1,79 +7,60 @@
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. 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>>doc: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: [[doc: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. (((
12 +Right-click in WO Explorer and select "Import..." from the context menu.
18 18  
19 19  {{panel}}
20 -
21 -!Picture 1.jpg|align=center!
22 -
15 +[[image:attach:Screenshot1.png]]
23 23  {{/panel}}
17 +)))
18 +1. (((
19 +Select "Existing Projects into Workspace" as the import source.
24 24  
25 -===== Select "Existing Projects into Workspace" as the import source =====
26 -
27 27  {{panel}}
28 -
29 -!Picture 2.jpg|align=center!
30 -
22 +[[image:attach:Screenshot2.png]]
31 31  {{/panel}}
24 +)))
25 +1. (((
26 +Click "Browse..." to select the root directory containing the projects.
32 32  
33 -===== Click Browse... to select the root directory containing the projects =====
34 -
35 35  {{panel}}
36 -
37 -!Picture 3.jpg|align=center!
38 -
29 +[[image:attach:Screenshot3.png]]
39 39  {{/panel}}
31 +)))
32 +1. (((
33 +To import framework projects, for example, navigate to and select ".../Wonder/Frameworks" and click "Choose".
40 40  
41 -===== Navigate to and select ../Wonder/Common/Frameworks and click Choose =====
42 -
43 43  {{panel}}
44 -
45 -!Picture 4.jpg|align=center!
46 -
36 +[[image:attach:Screenshot4.png]]
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 =====
39 +{{tip title="Wonder isn't just Frameworks!"}}
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}}
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".
50 50  
51 51  {{panel}}
52 -
53 -!Picture 5.jpg|align=center!
54 -
47 +[[image:attach:Screenshot5.png]]
55 55  {{/panel}}
49 +)))
50 +1. (((
51 +Eclipse will build the projects and you can now browse, inspect and use Wonder source in Eclipse.
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 -
61 -!Picture 6.jpg|align=center!
62 -
54 +[[image:attach:Screenshot6.png]]
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 =====
66 -
67 -{{panel}}
68 -
69 -!Picture 7.jpg|align=center!
70 -
71 -{{/panel}}
72 -
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 -
57 +{{note title="Ant Builds on your Development Machine"}}
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.Installing and Configuring Jenkins]] 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.**
79 79  {{/note}}
60 +)))