Version 243.1 by Timothy Worman on 2010/10/07 19:41

Hide last authors
Timothy Worman 237.1 1 === Short Story ===
pgr 145.1 2
Timothy Worman 237.1 3 * Requirements
4 ** System Requirements: Eclipse 3.6.1 (32-bit or 64-bit depending on your architecture)
5 ** Java 1.5 or greater (not Java 1.4)
6
7 * WOLips plugin URL for your respective version of Eclipse:
8 ** Eclipse 3.4 (Stable): [[http:~~/~~/webobjects.mdimension.com/hudson/job/WOLips34Stable/lastSuccessfulBuild/artifact/site/>>http://webobjects.mdimension.com/hudson/job/WOLips34Stable/lastSuccessfulBuild/artifact/site/]]
9 ** Eclipse 3.5 (Stable): [[http:~~/~~/webobjects.mdimension.com/hudson/job/WOLips35Stable/lastSuccessfulBuild/artifact/site/>>http://webobjects.mdimension.com/hudson/job/WOLips35Stable/lastSuccessfulBuild/artifact/site/]]
10 ** Eclipse 3.6 (Stable): [[http://webobjects.mdimension.com/hudson/job/WOLips36Stable/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/]]
12
13 === Long Story ===
14
15 The first requirement for installing WOLips is that you have Eclipse. It is recommended that you install Eclipse 3.6.1 and use WOLips 3.6 Stable. To install Eclipse, go to the [[Eclipse 3.6.1 Download Site>>http://www.eclipse.org/downloads/packages/release/helios/sr1]] and download (Eclipse IDE for Java EE Developers recommended) the build that matches your operating system/processor and uncompress it.
16
17 {{warning}}
18
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\! :-)
20
21 {{/warning}}
22
Mike Schrag 161.1 23 ~1. Launch the Eclipse application.
Andrus Adamchik 127.1 24
pgr 145.1 25 ----
Maik Musall 115.1 26
Kieran Kelleher 235.1 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.
Filippo Laurìa 131.1 28
Timothy Worman 237.1 29 [[image:Picture 2.png]]
Mike Schrag 159.1 30
31 ----
32
Timothy Worman 237.1 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 and the tutorials are useful if you are unfamiliar with the platform. When you are finished, select the "Workbench" icon on the right side, as pictured below.
Mike Schrag 159.1 34
Timothy Worman 243.1 35 [[image:ecplipse-start.png]]
Mike Schrag 159.1 36
Timothy Worman 237.1 37 After this there is a small pane in the lower right status bar, where you can look up the Welcome screen again.
38
39 [[image:restore-welcome.png||border="1" align="left"]]
40
Mike Schrag 159.1 41 ----
42
Timothy Worman 241.1 43 4. First, let's verify that you're running Eclipse with Java 5. Go to the "Eclipse" menu, and select "About Eclipse"
Mike Schrag 159.1 44
Timothy Worman 243.1 45 [[image:AboutEclipse.png]]
46
Mike Schrag 159.1 47 ----
48
Timothy Worman 243.1 49 5. On the About dialog, click "Installation Details"
Mike Schrag 159.1 50
Timothy Worman 243.1 51 [[image:AboutEclipseDialog.png]]
Filippo Laurìa 131.1 52
pgr 145.1 53 ----
Maik Musall 115.1 54
Timothy Worman 243.1 55 6. Click "Configuration" and Scroll down until you find "java.version" and verify that it is listed as some variant of 1.5.x or 1.6.x (the exact version is not important)
Andrus Adamchik 127.1 56
Timothy Worman 243.1 57 [[image:JavaVersionCheck.png]]
David Avendasora 121.1 58
pgr 145.1 59 ----
Maik Musall 115.1 60
Timothy Worman 237.1 61 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.
Andrus Adamchik 127.1 62
Timothy Worman 237.1 63 ----
David Avendasora 121.1 64
Timothy Worman 243.1 65 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 within Eclipse, select **Help** => **Install New Software...**
Mike Schrag 165.1 66
Timothy Worman 243.1 67 [[image:InstallNewSoftware.png]]
Timothy Worman 237.1 68
pgr 145.1 69 ----
70
Timothy Worman 243.1 71 9. This opens the "Install" panel where you can specify specific sites for Eclipse to download new software features. This dialog allows you to add/inspect any software features you have downloaded or were included in your default install of Eclipse. You can click "Available Software Sites" to see what was included by default.
pgr 145.1 72
Timothy Worman 243.1 73 [[image:InstallPanel.png]]
pgr 145.1 74
75 ----
76
Timothy Worman 243.1 77 10. To install WOLips you will need to add the WOLips update site to Eclipse. You do this by clicking the "Add" button.  In the Name field you can enter a name for your update site. The name is arbitrary but since you could have multiple similar update sites you should give it a name that leaves no doubt about what it is. 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. [[image:AddWOLipsSite.png]]
pgr 145.1 78
Lachlan Deck 201.1 79 ----
80
Timothy Worman 243.1 81 ~11. You are returned to the "Install" panel, the WOLips site having been added to the list, and fully expanded to display all its offerings. Select features you want. If you're just getting started with WOLips you should select "WOLips" and "WOLips Goodies." 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]].)
Lachlan Deck 201.1 82
Timothy Worman 237.1 83 Depending on your platform, you should remove either "WOLips Goodies Win" (if you're on a Mac) or "WOLips Goodies Mac" (if ... **gasp**):
84
85 [[image:SoftwareUpdatesWOLipsAdded.jpg]]
86
Lachlan Deck 201.1 87 ----
88
Timothy Worman 237.1 89 12. Click **Install...** at the upper right. You'll briefly see a Progress Information panel, while Eclipse "calculates requirements and dependencies":
Lachlan Deck 201.1 90
Timothy Worman 237.1 91 [[image:ProgressInformation.jpg]]
Lachlan Deck 201.1 92
Timothy Worman 237.1 93 after which, you'll see an "Install" panel, asking you to Review and Confirm selected items to be installed:
Lachlan Deck 201.1 94
Timothy Worman 237.1 95 [[image:InstallReviewConfirm.png]]
Lachlan Deck 201.1 96
pgr 145.1 97 ----
98
Timothy Worman 237.1 99 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.
pgr 145.1 100
Timothy Worman 237.1 101 [[image:InstallReviewLicenses.jpg]]
pgr 145.1 102
Marc Guenther 193.1 103 ----
pgr 145.1 104
Timothy Worman 237.1 105 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**.
pgr 145.1 106
Timothy Worman 237.1 107 [[image:RestartEclipsePrompt.jpg]]
Marc Guenther 193.1 108
pgr 145.1 109 ----
110
Timothy Worman 237.1 111 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]].