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

From version 192.1
edited by David LeBer
on 2010/05/19 14:58
Change comment: There is no comment for this version
To version 193.1
edited by Marc Guenther
on 2007/08/27 16:04
Change comment: added "Short story"

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.dleber
1 +XWiki.marc
Content
... ... @@ -1,25 +1,17 @@
1 1  === Short Story ===
2 2  
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)
3 +There are two update sites at the moment (as of 27th Aug 2007):
7 7  
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/]]
5 +* stable WOLips for Eclipse 3.2.2 or smaller (NOT 3.3): http:~/~/webobjects.mdimension.com/wolips/stable
6 +* development version (Eclipse 3.3 only): http:~/~/webobjects.mdimension.com/wolips/nightly
7 +(development version is not yet considered production ready)
12 12  
9 +You definitely need to run Eclipse with Java 1.5. If you get strange errors after installing WOLips, it quite probably is because Eclipse is running Java 1.4. (For MacOSX, check the file Eclipse.app/Contents/Info.plist)
10 +
13 13  === Long Story ===
14 14  
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.
13 +The first requirement for installing WOLips is that you have Eclipse. It is recommended that you install Eclipse 3.2.2 to use WOLips. To install Eclipse, go to the [[Eclipse 3.2.2 Download Site>>http://europa-mirror1.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/index.php]] and download the build that matches your operating system and uncompress it.
16 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 -
23 23  ~1. Launch the Eclipse application.
24 24  
25 25  ----
... ... @@ -26,88 +26,92 @@
26 26  
27 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.
28 28  
29 -[[image:Picture 2.png]]
21 +[[image:Bild 1.png]]
30 30  
31 31  ----
32 32  
33 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.
34 34  
35 -[[image:Picture3a.png]]
27 +[[image:Bild 2.png]]
36 36  
37 37  ----
38 38  
39 -4. First, let's verify that you're running Eclipse with Java 5. Go to the "Eclipse" menu, and select "About Eclipse SDK"
31 +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.
40 40  
41 -[[image:Picture 14.png]]
33 +[[image:Bild 3.png]]
42 42  
43 43  ----
44 44  
45 -5. On the About dialog, choose "Configuration Details"
37 +5. Select "Search for new features to install" and click "Next"
46 46  
47 -[[image:AboutEclipse.png]]
39 +[[image:Bild 4.png]]
48 48  
49 49  ----
50 50  
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)
43 +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.
52 52  
53 -[[image:Configuration.jpg]]
45 +[[image:Bild 5.png]]
54 54  
55 55  ----
56 56  
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.
49 +7. In the New Update Site dialog, enter "WOLips" as the name, and as the URL [[http://webobjects.mdimension.com/wolips/stable]] and click OK.
58 58  
59 -----
51 +[[image:newUpdateSite_stable.jpg]]
60 60  
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.
53 +//Note: All builds beyond 4118 are Eclipse 3.3 only//. The nightly build [[http://webobjects.mdimension.com/wolips/nightly]] are now only supported by Eclipse 3.3. This is still a work in progress and should be regarded as unstable for now.
62 62  
63 -[[image:HelpSoftwareUpdate.jpg]]
64 -
65 65  ----
66 66  
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:
57 +8. You should now be returned to the list of install sites with your new Remote Install Site selected. Click "Finish" to continue.
68 68  
69 -[[image:SoftwareUpdates.jpg]]
59 +[[image:Bild 7.jpg]]
70 70  
71 71  ----
72 72  
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 Version" 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/]]
63 +9. Expand the WOLips folder and select only **Standard Install**. If you are on a Mac, you can also select **Goodies Mac**. Leave the other options until you are more familiar with Eclipse and WOLips and decide that you need them.
74 74  
75 -**{//}NOTE{//}{**}//: Please ignore the url in the screenshot (and the man behind the curtain) below.//
65 +[[image:Bild 8.jpg]]
76 76  
77 -[[image:SoftwareUpdatesAddSite.jpg]]
78 -
79 79  ----
80 80  
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).
69 +10. 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.
82 82  
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]].)
71 +[[image:Bild 11.png]]
84 84  
85 -Depending on your platform, you should remove either "WOLips Goodies Win" (if you're on a Mac) or "WOLips Goodies Mac" (if ... **gasp**):
73 +----
86 86  
87 -[[image:SoftwareUpdatesWOLipsAdded.jpg]]
75 +~11. The dialog you are presented with shows a review of the features you selected. Click "Finish" to continue.
88 88  
77 +[[image:Bild 12.png]]
78 +
89 89  ----
90 90  
91 -12. Click **Install...** at the upper right. You'll briefly see a Progress Information panel, while Eclipse "calculates requirements and dependencies":
81 +12. Eclipse will now download the features and plugins that you requested.
92 92  
93 -[[image:ProgressInformation.jpg]]
83 +[[image:Bild 13.png]]
94 94  
95 -after which, you'll see an "Install" panel, asking you to Review and Confirm selected items to be installed:
85 +----
96 96  
97 -[[image:InstallReviewConfirm.png]]
87 +13. 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.
98 98  
89 +[[image:Bild 14.png]]
90 +
99 99  ----
100 100  
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.
93 +14. More of the waiting game, though it should be quicker than the download.
102 102  
103 -[[image:InstallReviewLicenses.jpg]]
95 +[[image:Bild 15.png]]
104 104  
105 105  ----
106 106  
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**.
99 +15. Eclipse will need to be restarted for the WOLips plugins to be available.
108 108  
109 -[[image:RestartEclipsePrompt.jpg]]
101 +[[image:Bild 16.png]]
110 110  
111 111  ----
112 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]].
105 +16. Before you create/import projects, it might be prudent to check that Eclipse is using the latest Java 1.5. So go ahead and open Eclipse -> Preferences and navigate to following preferences pane and make sure Java 1.5 (which is a symbolic link to the latest version of 1.5 on your system) is selected
106 +
107 +[[image:Picture 11.jpg]]
108 +
109 +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.