Changes for page WOLips-Eclipse beginner mistakes and questions
Last modified by Ray Kiddy on 2010/02/27 14:51
From version 99.1
edited by Johan Henselmans
on 2007/06/19 15:42
on 2007/06/19 15:42
Change comment:
There is no comment for this version
To version 98.1
edited by Johan Henselmans
on 2007/06/19 15:56
on 2007/06/19 15:56
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 error:**3 +=== The first error: === 4 4 5 5 Eclipse/WOLips does not run properly in java 1.4.2. 6 6 ... ... @@ -10,6 +10,50 @@ 10 10 11 11 **One more time: 1.5** 12 12 13 -=== How to get eclipse running with Java1.5? === 13 +==== How to get eclipse running with Java1.5? ==== 14 14 15 15 go to /Applications/Utilities/Java/J2SE 5.0/Java Preferences. Select J2SE5.0 16 + 17 +=== The second error === 18 + 19 +==== I can not get help to start in my browser. ==== 20 + 21 +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. 22 + 23 +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. 24 + 25 +==== Why don't I see all my files? ==== 26 + 27 +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. 28 + 29 +==== Where did all my code go? ==== 30 + 31 +Suppose you suddenly ended up with something like this: 32 + 33 +Or this: 34 + 35 +Most of the times this is caused by inadvertently clicking on the menu-bar of the subwindow. That window will then fill the whole workspace.Clicking the menubar one more time will restore the view. 36 + 37 +Or it is happened because your perspective has changed inadertently, because you clicked on a file that caused another perspective to be fired up (like Entitymodeler) You can go to the top right, where there is a place where the currently loaded perspectives are located. Choose WOLips again. You're done. 38 + 39 +==== I have the right perspective, but it is all screwed up. ==== 40 + 41 +That happens. A lot, if you are inexperienced. And even if you are experienced. Eclipse does some things inadvertently, and as it does not conform to the Apple Interface guidelines, you might press something that has an other effect in Eclipse. 42 + 43 +Do not worry: there is a menu bottom, Windown->Reset Perspective that will give you the original settings back. 44 + 45 +==== Another app is running as I expected: ==== 46 + 47 +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. 48 + 49 +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. 50 + 51 +Running an app with some launch arguments. There is a trick to save your launch arguments in your project, so you can have different launch arguments. 52 + 53 +=== I want to run my app with some other arguments. === 54 + 55 +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. 56 + 57 +==== Changing the Launch arguments: ==== 58 + 59 +Select Project in Package Explorer, from menu choose Run->Run... , from contextual menu choose Run As->Run