Changes for page Working with Wonder source in Eclipse
Last modified by Bastian Triller on 2013/09/22 14:29
From version 52.1
edited by David Avendasora
on 2011/04/29 14:58
on 2011/04/29 14:58
Change comment:
There is no comment for this version
To version 51.1
edited by Kieran Kelleher
on 2010/09/27 16:13
on 2010/09/27 16:13
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. avendasora1 +XWiki.kieran - Content
-
... ... @@ -1,69 +1,79 @@ 1 +{{note}} 2 + 3 +These instructions need to be updated to reflect the current directory layout of Wonder 4 + 5 +{{/note}} 6 + 1 1 == Introduction == 2 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.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. 4 4 5 5 == Prerequisites == 6 6 7 -Wonder source tree is checked out from source control: [[GettingtheWonder SourceCode]]13 +Wonder source tree is checked out from CVS: [[Download Wonder Source, Build, Install and Upgrade]] 8 8 9 9 == Importing Wonder Projects into Eclipse == 10 10 11 - 1.Right-click inWOExplorer and select"Import..."from the context menu.17 +===== First right-click in Package Explorer and select Import... from the context menu ===== 12 12 13 13 {{panel}} 14 14 15 -! Screenshot1.png|align=center!21 +!Picture 1.jpg|align=center! 16 16 17 17 {{/panel}} 18 18 19 - 1.Select "Existing Projects into Workspace" as the import source.25 +===== Select "Existing Projects into Workspace" as the import source ===== 20 20 21 21 {{panel}} 22 22 23 -! Screenshot2.png|align=center!29 +!Picture 2.jpg|align=center! 24 24 25 25 {{/panel}} 26 26 27 - 1.Click"Browse..."to select the root directory containing the projects.33 +===== Click Browse... to select the root directory containing the projects ===== 28 28 29 29 {{panel}} 30 30 31 -! Screenshot3.png|align=center!37 +!Picture 3.jpg|align=center! 32 32 33 33 {{/panel}} 34 34 35 - 1.To import framework projects, for example, navigate to and select".../Wonder/Frameworks"and click"Choose".41 +===== Navigate to and select ../Wonder/Common/Frameworks and click Choose ===== 36 36 37 37 {{panel}} 38 38 39 -! Screenshot4.png|align=center!45 +!Picture 4.jpg|align=center! 40 40 41 41 {{/panel}} 42 42 43 - {{tiptitle="Wonder isn"}}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 ===== 44 44 45 - Project Wonder also has replacements for JavaMonitor and wotaskd and severalexample applications that are great to learn from. To import the example application projects, select the "Examples" directory instead of "Frameworks" above.51 +{{panel}} 46 46 47 - {{/tip}}53 +!Picture 5.jpg|align=center! 48 48 49 - 1. The list ofprojects inside that folder appear checked. Uncheck the "Copy Projects into Workspace" checkbox and uncheck the projects you don't want and click "Finish".55 +{{/panel}} 50 50 57 +===== Eclipse will build the projects and you can now browse, inspect and use Wonder source in Eclipse ===== 58 + 51 51 {{panel}} 52 52 53 -! Screenshot5.png|align=center!61 +!Picture 6.jpg|align=center! 54 54 55 55 {{/panel}} 56 56 57 - 1.Eclipsewill build theprojects andyoucan nowbrowse,inspect anduseWondersourcein Eclipse.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 ===== 58 58 59 59 {{panel}} 60 60 61 -! Screenshot6.png|align=center!69 +!Picture 7.jpg|align=center! 62 62 63 63 {{/panel}} 64 64 65 - {{notetitle="AntBuildson your DevelopmentMachine"}}73 +===== Working with WebObjects version 5.4.X ===== 66 66 67 - WOlips' "Incremental Builder" is an incredibly helpful feature during development, but it doesthingsthat the Ant deployment build doesnotdo. If you are*either*using WOLipsto 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 Frameworksthatyour Application dependsupon -- including yourown, ProjectWonder'sandany others.*The standardAnt build does {color:#ff0000}NOT{color}do this for you.*75 +{{note title="Wonder ERExtensions Source classpaths are different for WO 5.3.3 and WO 5.4.X"}} 68 68 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 + 69 69 {{/note}}