Last modified by Kieran Kelleher on 2021/02/17 17:30

From version 255.1
edited by Kieran Kelleher
on 2007/01/12 00:17
Change comment: Updated image for step 7
To version 254.1
edited by David LeBer
on 2010/05/19 14:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kieran
1 +XWiki.dleber
Content
... ... @@ -1,107 +1,113 @@
1 -The first requirement for installing WOLips is that you have Eclipse. It is recommended that you install Eclipse 3.2.1 to use WOLips. To install Eclipse, go to the [[Eclipse 3.2.1 Download Site>>http://download.eclipse.org/eclipse/downloads/drops/R-3.2.1-200609210945/index.php]] and download the build that matches your operating system and uncompress it.
1 +=== Short Story ===
2 2  
3 -~1. Launch the Eclipse application.
3 +* Requirements
4 +** System Requirements: Eclipse 3.4.2, or 3.5.2 (Carbon recommended - Cocoa is slow)
5 +** If you want to be on the cutting edge you can use Eclipse 3.6
6 +** Java 1.5 or greater (not Java 1.4)
4 4  
5 -----
8 +* WOLips plugin URL for your respective version of Eclipse:
9 +** Eclipse 3.4 (Stable): [[http:~~/~~/webobjects.mdimension.com/hudson/job/WOLips34Stable/lastSuccessfulBuild/artifact/site/>>http://webobjects.mdimension.com/hudson/job/WOLips34Stable/lastSuccessfulBuild/artifact/site/]]
10 +** Eclipse 3.5 (Stable): [[http:~~/~~/webobjects.mdimension.com/hudson/job/WOLips35Stable/lastSuccessfulBuild/artifact/site/>>http://webobjects.mdimension.com/hudson/job/WOLips35Stable/lastSuccessfulBuild/artifact/site/]]
11 +** Eclipse 3.6 (Experimental): [[http:~~/~~/webobjects.mdimension.com/hudson/job/WOLips36Current/lastSuccessfulBuild/artifact/site/>>http://webobjects.mdimension.com/hudson/job/WOLips36Current/lastSuccessfulBuild/artifact/site/]]
6 6  
7 -2. The first window that will appear on a new installation of Eclipse is the workspace folder selection dialog. Your workspace is the folder that will contain all of your active projects along with the metadata Eclipse requires to maintain the projects.
13 +=== Long Story ===
8 8  
9 -[[image:Bild 1.png]]
15 +The first requirement for installing WOLips is that you have Eclipse. It is recommended that you install Eclipse 3.4.2 to use WOLips. To install Eclipse, go to the [[Eclipse 3.4.2 Download Site>>http://www.eclipse.org/downloads/packages/release/ganymede/sr2]] and download (Eclipse IDE for Java EE Developers recommended) the build that matches your operating system and uncompress it.
10 10  
11 -----
17 +{{warning}}
12 12  
13 -3. The first time you launch Eclipse, you will be taken to the Welcome screen. You can review the Welcome content if you would like. When you are finished, select the "Workbench" icon on the right side, as pictured below. After this there is a small pane in the lower right status bar, where you can look up the Welcome screen again.
19 +To avoid weird behavior, the complete path to the Eclipse executable must have *NO* spaces in it. Probably wise to ensure likewise with your workspace directory path. Your workspace should not include dashes either. You have been warned\! :-)
14 14  
15 -[[image:Bild 2.png]]
21 +{{/warning}}
16 16  
23 +~1. Launch the Eclipse application.
24 +
17 17  ----
18 18  
19 -4. Currently you have a stock Eclipse installation which will allow you to do normal Java development, but it does not contain any of the WOLips plugins, so you will not have any of the WebObjects development tools. To begin your WOLips installation, go to the Help=>Software Updates=>Find and Install ... menu item.
27 +2. The first window that will appear on a new installation of Eclipse is the workspace folder selection dialog. Your workspace is the folder that will contain all of your active projects along with the metadata Eclipse requires to maintain the projects.
20 20  
21 -[[image:Bild 3.png]]
29 +[[image:Picture 2.png]]
22 22  
23 23  ----
24 24  
25 -5. Select "Search for new features to install" and click "Next"
33 +3. The first time you launch Eclipse, you will be taken to the Welcome screen. You can review the Welcome content if you would like. When you are finished, select the "Workbench" icon on the right side, as pictured below. After this there is a small pane in the lower right status bar, where you can look up the Welcome screen again.
26 26  
27 -[[image:Bild 4.png]]
35 +[[image:Picture3a.png]]
28 28  
29 29  ----
30 30  
31 -6. The next dialog you get to shows the list of update sites that are available in your Eclipse install. The first time you go through this process, you will need to create the Remote Install site that points to the WOLips server. After the initial install, you can skip this step and just select the already existing WOLips site instead. To continue, select "New Remote Site" on the right hand side.
39 +4. First, let's verify that you're running Eclipse with Java 5. Go to the "Eclipse" menu, and select "About Eclipse SDK"
32 32  
33 -[[image:Bild 5.png]]
41 +[[image:Picture 14.png]]
34 34  
35 35  ----
36 36  
37 -7. In the New Update Site dialog, enter "WOLips" as the name, and as the URL [[http://webobjects.mdimension.com/wolips/nightly]] and click OK.
45 +5. On the About dialog, choose "Configuration Details"
38 38  
39 -[[image:newUpdateSite.jpg]]
47 +[[image:AboutEclipse.png]]
40 40  
41 41  ----
42 42  
43 -8. You should now be returned to the list of install sites with your new Remote Install Site selected. When updating again later, you can start at this step. WOLips depends on some other plugins that are deployed on the Eclipse Callisto site, so it is recommended to select the "Callisto Discovery Site" option, then click "Finish" to continue.
51 +6. Scroll down until you find "java.vm.version" and verify that it is listed as some variant of 1.5.x or 1.6.x (the exact version is not important)
44 44  
45 -[[image:Bild 7.png]]
53 +[[image:Configuration.jpg]]
46 46  
47 47  ----
48 48  
49 -9. The next dialog shows you a list of Callisto mirrors. Select one of the mirros and click "OK". To avoid this step you can select the checkbox "Automatically select mirrors" in the previous step (Step 8).
57 +7. If it is not, you will need to change your default Java VM to be Java 5 (or 6) (see Apple's instructions for this), or you will need to modify the Info.plist inside the Eclipse.app to tell it to open with only Java 5 (or 6). If Eclipse is running in 1.5 (or 1.6), then close the dialogs back out to the main Eclipse window and proceed.
50 50  
51 -[[image:Bild 8.png]]
52 -
53 53  ----
54 54  
55 -10. Eclipse will now search the update sites for available plugins.
61 +8. Currently you have a stock Eclipse installation which will allow you to do normal Java development, but it does not contain any of the WOLips plugins, so you will not have any of the WebObjects development tools. To begin your WOLips installation, from the Eclipse menu, select **Help** => **Software Updates...**. This opens the "Software Updates and Add-ons" panel.
56 56  
57 -[[image:Bild 17.png]]
63 +[[image:HelpSoftwareUpdate.jpg]]
58 58  
59 59  ----
60 60  
61 -~11. Select the WOLips features that you would like to install. A "feature" is the name Eclipse gives to a set of related plugins. If you are not on a Mac, you may not see the Mac goodies feature. You will notice that there is an error at the top of this dialog ~-~- that is because there are other required features and plugins that must be installed to use WOLips.
67 +9. The "Installed Software" tab is selected. Click the **Available Software** tab to display the current list of update sites that are available in your Eclipse install:
62 62  
63 -[[image:Bild 9.png]]
69 +[[image:SoftwareUpdates.jpg]]
64 64  
65 65  ----
66 66  
67 -12. **Eclipse Bug Workaround: You must expand the Callisto Discovery Site tree node before this next step.** Click the "Select Required" button, and Eclipse will find all the required plugins and features on the Callisto site to properly use WOLips. This may take a little bit to complete, but when it does, you will see quite a bit more features selected. Go ahead and click "Next" to proceed after the required plugins are checked.
73 +10. The first time you go through this process, you will need to add the WOLips site to the list. After the initial install, you can skip this step and just select the already existing WOLips site instead. To continue, select "Add Site..." on the right hand side. The "Add Site" panel appears. In the Location field, enter the URL for the version of WOLips that matches your version of Eclipse (See the "Short Story" at the top of this page) and click OK. i.e: For Eclipse 3.5, use [[http:~~/~~/webobjects.mdimension.com/hudson/job/WOLips35Stable/lastSuccessfulBuild/artifact/site/>>http://webobjects.mdimension.com/hudson/job/WOLips35Stable/lastSuccessfulBuild/artifact/site/]]
68 68  
69 -[[image:Bild 10.png]]
75 +**{//}NOTE{//}{**}//: Please ignore the url in the screenshot (and the man behind the curtain) below.//
70 70  
77 +[[image:SoftwareUpdatesAddSite.jpg]]
78 +
71 71  ----
72 72  
73 -13. This next dialog contains the license agreements for the selected features. After reviewing the agreements (you DO review your license agreements, right :-) ), select "I accept the terms in this license agreement". Selecting this radio button will accept the license agreements for **all** of the features listed. Click "Next" to continue.
81 +~11. You are returned to the "Software Updates and Add-ons" panel, the WOLips site having been added to the list, and fully expanded to display all its offerings. Select only **Standard Install** (with all its components).
74 74  
75 -[[image:Bild 11.png]]
83 +Leave the other options until you are more familiar with Eclipse and WOLips and decide that you need them. (Here are some [[Other WOLips Install Options]].)
76 76  
77 -----
85 +Depending on your platform, you should remove either "WOLips Goodies Win" (if you're on a Mac) or "WOLips Goodies Mac" (if ... **gasp**):
78 78  
79 -14. The dialog you are presented with shows a review of the features you selected. Click "Finish" to continue.
87 +[[image:SoftwareUpdatesWOLipsAdded.jpg]]
80 80  
81 -[[image:Bild 12.png]]
82 -
83 83  ----
84 84  
85 -15. Eclipse will now go off and download the features and plugins that you requested. You can choose to run this in the background, or wander off and get some coffee. It's a pretty big download, so this may take a while.
91 +12. Click **Install...** at the upper right. You'll briefly see a Progress Information panel, while Eclipse "calculates requirements and dependencies":
86 86  
87 -[[image:Bild 13.png]]
93 +[[image:ProgressInformation.jpg]]
88 88  
89 -----
95 +after which, you'll see an "Install" panel, asking you to Review and Confirm selected items to be installed:
90 90  
91 -16. Once the download is complete, Eclipse will present you with the installation confirmation for each feature. The easiest option is to just select "Install All," though you can review each one individually if you would like.
97 +[[image:InstallReviewConfirm.png]]
92 92  
93 -[[image:Bild 14.png]]
94 -
95 95  ----
96 96  
97 -17. More of the waiting game, though it should be quite a bit quicker than the download.
101 +13. Click **Next >**. The next dialog contains the license agreements for the selected features. After reviewing the agreements (you DO review your license agreements, right :-) ), select "I accept the terms of the license agreements". Selecting this radio button will accept the license agreements for **all** of the features listed. Click **Finish** to continue.
98 98  
99 -[[image:Bild 15.png]]
103 +[[image:InstallReviewLicenses.jpg]]
100 100  
101 101  ----
102 102  
103 -18. Lastly, Eclipse will need to be restarted for the WOLips plugins to be available.
107 +14. Eclipse will now download and install all the selected features and plugins. When it has completed, it will prompt you to restart Eclipse. Select **Yes**.
104 104  
105 -[[image:Bild 16.png]]
109 +[[image:RestartEclipsePrompt.jpg]]
106 106  
107 -That's it You now have all of the WOLips features installed in your Eclipse. Continue on to the [[Create a new WO Application]] tutorial to learn more about using WOLips' capabilities.
111 +----
112 +
113 +That's it You now have all of the WOLips features installed in your Eclipse. Continue to the [[Create a new WO Application]] tutorial to learn more about using WOLips' capabilities. You can also [[Access the WOLips User Guide]] or explore additional [[Useful Eclipse Plugins]].