Changes for page WOLips-Eclipse beginner mistakes and questions
Last modified by Ray Kiddy on 2010/02/27 14:51
From version 109.1
edited by Johan Henselmans
on 2007/06/19 22:39
on 2007/06/19 22:39
Change comment:
There is no comment for this version
To version 108.1
edited by Johan Henselmans
on 2007/06/19 17:11
on 2007/06/19 17:11
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,6 @@ 1 1 This document tries to catch the errors that every beginner seems to have to go through before reaching Eclipse/WOLips nirvana. The path is narrow and slippery, but thou shalt be rewarded.... 2 2 3 -=== The first most commonerror: ===3 +=== The first error: === 4 4 5 5 Eclipse/WOLips does not run properly in java 1.4.2. 6 6 ... ... @@ -16,34 +16,14 @@ 16 16 17 17 [[image:JavaPrefs.png]] 18 18 19 -=== The second most commonerror ===19 +=== The second error === 20 20 21 -==== I can not get help to start in my browser ,things work flakey====21 +==== I can not get help to start in my browser. ==== 22 22 23 23 Eclipse 3.2.2 is a big, big project. It uses lots of frameworks. Sometimes these frameworks are already in some way available in your environment, but they are old versions, that do not do the expected thing in Eclipse. I had the experience that the help did not start in the browser. If that happens to you, remove all the jars of which you are not sure why they are there in /Library/Java/Extensions. You do not have to remove things like frontbase.jar, postgresql.jar etc. 24 24 25 25 This is actually fixed in Eclipse 3.3 (Eclipse reads first it's own paths, and then the system paths), but WOLips does not support Eclipse3.3 yet. 26 26 27 -=== The third most common error === 28 - 29 -==== WOLips does not behave like you describe. (Use nightly) ==== 30 - 31 -WOLips updates often. And although there is a stable version, the nightly version is where it's at. It is used in production by the wonderful people from MDimension and other WebObjects developers. If something brakes there, it gets fixed immediately. 32 - 33 -http:~/~/webobjects.mdimension.com/wolips/nightly/ should be in your Eclipse update site, under Help->Software Update->Find and install->Search for new features to install 34 - 35 -=== The fourth most common error === 36 - 37 -==== I can not install the projects I built, the WOLips install does not work, strange things happen. (be admin) ==== 38 - 39 -Allthough we all know that we should not run as admin, for installing Eclipse you'd better be. If you have installed Eclipse on one of the common places, or it has been installed for you, than the permission from the Eclipse folder will prevent you to install WOLips and other plugins. Make sure that, if you are installing plugins, You are allowed to do so. 40 - 41 -==== More admin problems ==== 42 - 43 -If installing your frameworks does not work, than it might be that you are running as a plain user, not admin user. The WOLips ant install by default tries to install in /Library/Frameworks, and Apps in /Library/WebObjects/JavaApplications. As a plain user you should not have permission to write there. 44 - 45 -=== User questions === 46 - 47 47 ==== Why don't I see all my files? ==== 48 48 49 49 Not all the files are presented, some are filtered away. In Package Explorer (In WOLips pespective, the upper left window), go to the right corner of that window, there is a caret. Under this caret, there is a Filter option.Click on it to see what get's filtered away. ... ... @@ -50,10 +50,6 @@ 50 50 51 51 [[image:filters.png]] 52 52 53 -As you can see, quite a lot of files are excluded from the view. 54 - 55 -[[image:FilterProperties.png]] 56 - 57 57 ==== Where did all my code go? ==== 58 58 59 59 Suppose you suddenly ended up with something like this: ... ... @@ -76,20 +76,12 @@ 76 76 77 77 Do not worry: there is a menu button, Windown->Reset Perspective that will give you the original settings back. 78 78 79 -==== Which file from which project am I editing? ==== 80 - 81 -If you open a lot of projects at the same time, you'll sometime find yourself editing a few Session.java or localizable.strings files at the same time. How can you see which file from what project you are editing? There is a simple trick for that: in the Package Explorer window, click on the icon with the two arrows on it. From now on, if you select another file in the editor window, you'll be directed to that file in the project in Package Explorer. 82 - 83 -[[image:SeeFileinProject.png]] 84 - 85 85 ==== Another app is running than I expected: ==== 86 86 87 - Runninganappworksabitdifferentfrom runningan appinXCode.57 +Normally you select the project in the package explorer, goto to the contextual menu (via right click), then click Run WOApplication. you can also go to the Run menu. Or to the Run icon. 88 88 89 - Normally you select the projectin thePackage Explorer,gototo thecontextualmenu (viaightclick),thenclickRun WOApplication.youcan also gototheRunmenu.Orto theRunicon.59 +Don't suppose you are running the app you are running because you selected the project and pressed the run button in the toolbar. It will run the last application you have run, no matter what you have selected in the package explorer. You have to do a "run as", select your program and then you might get your app. 90 90 91 -Don't suppose you are running the app you are running because you selected the project and pressed the run button in the toolbar. It will run the last application you have run, no matter what you have selected in the package explorer. You have to do a "run as", select your program and then you might get your app. 92 - 93 93 === I want to run my app with some other arguments. === 94 94 95 95 The way eclipse works, it saves a set of arguments in which your app has run. This set of arguments have some default settings, depending on which type of application you are running. You can save these arguments in your project, for later use. ... ... @@ -108,12 +108,6 @@ 108 108 109 109 [[image:Launchsaving.png]] 110 110 111 -==== I want to open EntityModeler in a new window, so it does not get in the way of WOLips ==== 112 - 113 -There is a setting in the WOLips preferences, which will get your EOModel started in a separate EntityModelere window: 114 - 115 -[[image:OpenEntityModelerInNewWindowAnnot.png]] 116 - 117 117 ==== Which shortcuts are available? ==== 118 118 119 119 I don't know. It depends on the plugins you are running. Fortunately, there is a shortcut to end all shortcuts: