| hect | on which website should I paste the code then? |
| paulweb515_ | ~pastebin |
| Arbalest | Please paste the relevant information onto a pastebin. The submission will then generate a URL, please copy/paste the generated URL back to the channel - http://www.pastebin.cz/ - http://papernapkin.org/pastebin/home - http://pastebin.com - http://pastebin.ca |
| hect | I get the ITA on "shell = new Shell(display);" |
| hect | if I run knopflerfish for the first time, it runs the app ok. if I stop the bundle and relaunch the app, it throws a ITA |
| rcjsuen | hect: well, in your 735300, you create a shell in a new thread, which is not the thread the Display was created in, hence the ITA |
| rcjsuen | oh wait nm |
| paulweb515_ | hect: you created the display ... you are responsible for 1) creating it, 2) the thread that it runs in, and 3) disposing the display if necessary |
| rcjsuen | also please consider the fact that only win32 supports multiple Display instances |
| AhtiK | I guess there's no way to regenerate bundles.info file easily, right? |
| paulweb515_ | AhtiK: not to regenerate, but you can use the p2 director application to update it |
| AhtiK | it's strange that for Mac my update site fails to update plugins (update gets downloaded to plugins folder but bundles.info is not updated) but everything works for Windows. Feels pretty helpless :) |
| hect | please somebody provide a good example of a graphic app using SWT and osgi, this is quite confusing |
| AhtiK | paulweb515_: I'm looking at http://wiki.eclipse.org/Equinox_p2_director_application but don't see any option for updating the whole bundles.info. Only instructions for updating or installing a single bundle. |
| elver | Has anyone else had breakpoints not work in PyDev/Eclipse? |
| paulweb515_ | AhtiK: updating bundles.info is a side-effect of installing bundles using the director |
| paulweb515_ | AhtiK: your bundles can only go in 2 ways now ... either being installed by p2 (director or UI) or in the ~dropins folder |
| Arbalest | To learn about how to use the dropins/ folder provided by p2, see here - http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins |
| hect | rcjsuen: what do you mean: "which is not the thread the Display was created in?" |
| hect | Display is created inside the thread |
| paulweb515_ | hect: yes, but he figured it out :-) |
| AhtiK | paulweb515_: yep, aware of these 2 ways. i'm trying to figure out why on mac this bundles.info (and thereby the whole metainfo) doesn't get updated for my plugin update (using update site). but for windows it works perfectly (bundles.info gets updated). base installation for both OS's identical. |
| hect | paulweb515_: http://pastebin.com/m5ac71215 |
| rcjsuen | hect: Yes, I missd that, that was my mistake. |
| AhtiK | paulweb515_: just for a background: initially plugins got installed using dropins directory and later update site downloaded updates to plugins dir. and for Win it's fine but for Mac it still picks the old plugin version (and bundles.info is old). |
| paulweb515_ | hect: so it blows up the second time, right? |
| hect | so I have to create a Display in the bundle's thread, but avoid to lock that thread. Man this is crazy confusing :D |
| paulweb515_ | hect: I would try disposing the display outside of the loop |
| hect | paulweb515_: yeah |
| paulweb515_ | hect: that's OSGi for you |
| hect | paulweb515_: what do you mean? |
| paulweb515_ | hect: Swing, SWT (many windowing systems like GTK) make it really simple for most apps ... one thread to rule them all :-) |
| paulweb515_ | hect: "what do you mean" in response to what? |
| hect | hat's OSGi for you |
| paulweb515_ | hect: it's a component based, multi-thread framework that makes no guarantees about threading |
| paulweb515_ | hect: try disposing the display one the way out of your thread ... |
| hect | paulweb515_: sweet darling! it works! |
| anli_ | Anyone else here that have experienced that buttons are unclickable in eclipse for linux? (only some buttons) |
| elver | If I have lots of many2many / one2many / many2one relationships between objects, is there some order in which I should init them? Because I'm getting some mysterious 'ProgrammingError: relation "mysimple_order" does not exist' message and a crash during DB init... |
| rcjsuen | anli_: Didn't you ask about this a while ago? Or maybe that was someone else. |
| rcjsuen | anli_: In any case, did you try using the keyboard? |
| anli_ | it works |
| anli_ | I did |
| rcjsuen | anli_: Did you look at the FAQ in the channel topic? |
| anli_ | I did not find anything useful there |
| anli_ | do you know there is information about it there? |
| rcjsuen | anli_: Did you look at #3.8? |
| rcjsuen | anli_: Oh I'm very familiar with that page. ;) |
| anli_ | must check, maybe I failed to lookup the info |
| anli_ | :) |
|
|
| anli_ | you talk about planeteclipse, dont you? |
| anli_ | It is very odd to tell people that there is a FAQ on a webpage, and the word FAQ does not occur on that page |
| rcjsuen | Not sure I follow. I'm on Planet Eclipse, I don't really talk about Planet Eclipse itself in particular very often. |
| anli_ | :) |
| rcjsuen | You mean the channel's topic? |
| rcjsuen | Browse the FAQ at http://wiki.eclipse.org/IRC_FAQ and blog about all things Eclipse at http://www.planeteclipse.org/ |
| rcjsuen | Perhaps that statement is unclear? |
| anli_ | aha, sorry, the channel topic was so long so I did not notice there were more links than two on it |
| anli_ | Hm, seems that the workaround was ok |
| anli_ | Thanks a lot! |
| hect | I currently develop my OSGI app under eclipse (many bundles) export them and installem on knopflerfish by hand. Is there a way to accelerate this process? |
| anli_ | hm, trying to create an appilcation launcher in gnome that set the envion, is that possible? |
| anli_ | Maybe a script is the only way... |
| rcjsuen | I think you would have to make a bash script and then have the launcher launch the script. :o |
| rcjsuen | you could also download a maintenance build and use that |
| anli_ | Odd that there is no place to specify env variables in an application launcher |
| anli_ | :) |
| armence | How do I trigger auto-complete on textbox while writing a variable? |
| hect | require or import, what should I use? |
| anli_ | strange, I can only run my script using the console, not by having a custom application launcher in gnome :) |
| ralf_e | rcjsuen, the fix for the gtk 2.18 problem seems to be in 3.5.2 Stream Build already, at least I'm using M20091202-0800 and did not observe the problem anymore |
| ralf_e | maybe this could be recommended as workaround instead of GDK_NATIVE_WINDOWS? |
| rcjsuen | ralf_e: yeah, that's why i suggested to anli_ to try the maintenace build |
| rcjsuen | well it fixes the button problem |
| rcjsuen | but not the update problem |
| rcjsuen | but good point the wiki should be corrected |
| ralf_e | ah, ok |
| rcjsuen | the update problem is only fixed for 3.6 at the moment |
| armence | sorry, let me rephrase that, I am typing a variable name and it is long and I want eclipse to make me suggestion for completion, how do it? |
| rcjsuen | pending feedback from the community it may be backported |
| rcjsuen | armence: Ctrl+Space? Alt+/? |
| NoobFukaure | by any chance, do any of you know of a library for building java components with a composition approach vs typically OO stuff? |
| ralf_e | rcjsuen, I suspect there might be other problems related to the gtk change - it would be good if as many people as possible test the M build so these could be ironed out before the sacred 3.5.2 releases |
| rcjsuen | yeah there are other ones |
| ralf_e | rcjsuen, what was the bug for the update problem again? |
| rcjsuen | uh |
| ralf_e | rcjsuen, I was only aware of the button issue |
| rcjsuen | ~290395 |
| Arbalest | Bug 290395 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=290395 - Platform / SWT / 3.5 - PC / Linux-GTK - RESOLVED / FIXED / normal / - Assignee: gheorghe - [Widgets] [GTK2.18] Update problem in the Eclipse's "Install new software" dialog. |
| anli_ | Cant shell files be specified in custom application launchers? :) |
| philk__ | paulweb515: I would like to plugin some confirmation dialogs for certain commands... but I can only listen to command execution not prevent it |
| philk__ | paulweb515: Its not possible to have my drop-down toolbar button menu items also show up in another menu? |
| hect | I would like to create a bundle that offers resources to other bundles, in this case, the swt libraries |
| hect | so I created a bundle and add the swt .jar files to the source folder, and then added them to the classpath, using eclipse's plugin manager "classpath". |
| hect | Now, I would like to export this functionality, so others will be able to use this libraries, how can I do that? |
| rcjsuen | Adding the jars to the _source_ folder? :o |
| rcjsuen | Well I suppose technically where the jars live don't really matter. |
| rcjsuen | If I'm interpreting you correctly, you'd have to reexport those [SWT] classes in your manifest file. |
| hect | how? |
| hect | in Eclipse, inside the export packages section, if you select 'Add...' there's an option: 'Show non-Java packages', what's that for? can I export anything in a bundle? maybe a .jar file? |
| hect | rcjsuen: how can I reexport those [swt] classes if they are in a .jar? |
| rcjsuen | i believe you add it to your bundle's classpath then you use export package and set the reexport directive (or maybe attribute), something like that |
| hect | mmmmmm |
| hect | rcjsuen: reexport directive? what's that? |
| rcjsuen | directives are like singleton:=true |
| rcjsuen | i'm not sure if the reexport flag is a directive or an attribute tho |
| rcjsuen | anyway the pde editor for the manifest file will generate it for you so i wouldn't worry about typing it by hand |
| hect | where can I find that? |
| rcjsuen | i think on the 'Runtime' tab |
| hect | on the runtime tab, I select 'add' from exported packages |
| hect | but it doesn't show |
| hect | it only shows after I select: 'show non-java packages' |
| rcjsuen | then maybe the swt classes are not on your bundle's cp |
| hect | which siounds weird |
| hect | they are! |
| progre55 | hi people! I'm running eclipse 3.5.5 on an ubuntu (9.10) machine. However, for instance when I type a class name and after a dot (.) press ctrl+space, it's not showing up it's methods. Any workarounds? |
| progre55 | oh sorry, I mean, eclipse "Version: 3.5.1" |
| rcjsuen | Did you try in a new project? |
| progre55 | rcjsuen, no, should I try to create a new project? |
| rcjsuen | Doesn't hurt. |
| progre55 | sec) |
| progre55 | rcjsuen, yeah, no use |
| progre55 | no default proposals |
| rcjsuen | http://wiki.eclipse.org/IRC_FAQ#Why_is_Content_Assist_not_working_in_the_Java_editor.3F_Why_doesn.27t_Eclipse_recognize_my_.java_file_as_a_Java_file.3F |
| philk__ | is it possible to have a toolbar button created that does not do anything but only acts as a drop-downlist? |
| philk__ | i mean using the menuContributions |
| progre55 | rcjsuen, appreciate :) |
| hect | again, I run an app in Eclipse and it runs fine, I run it under knopflerfish and it throws a no class found exception: 'java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Composite' |
| philk__ | paulweb515: Its not possible to have my drop-down toolbar button menu items also show up in another menu? |
| linnuxxy | I have TableView with check box... how can I set the items to be checked or unchecked from the ContentProvider? |
| linnuxxy | or the LabelProvider |
| linnuxxy | ? |
| rcjsuen | there's a check state provider |
| linnuxxy | CheckboxTableViewer? |
| rcjsuen | wel lthat's the class to use |
| rcjsuen | I assumed you were alrdy using that. |
| asimismo | I'm hitting bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=287307 What's the best way to update the SWT-GTK plugin to get the fix? |
| linnuxxy | thank you rcjsuen ... I found it :) |
| rcjsuen | asimismo: I would just download the maintenance build and go from there I guess, would be the fastest and failsafe approach |
| asimismo | rcjsuen: The build of just that plugin? How does one track that down? |
| rcjsuen | I mean an entire build. |
| asimismo | Ah |
| asimismo | Yeah, was afraid you'd say that! |
| rcjsuen | Or you can use the workaround and live with that for the time being. |
| asimismo | Has anybody tried the Ubuntu 9.10 package for 3.5? (Can't use it, it has this bug, I expect.) |
| rcjsuen | I believe Fedora applied that patch locally. Ubuntu may have too. |
| asimismo | Didn't seem to work for me. Unless I'm doing it wrong. |
| rcjsuen | You could ask for clarifications in #eclipse-linux. |
| rcjsuen | what, the workaround didn't work you mean? |
| asimismo | Ah, nice. Didn't know about that channel. |
| asimismo | I exported GDK_NATIVE_WINDOWS |
| asimismo | Oh, I see what you mean--3.5.1 might be backported. |
| rcjsuen | what did you type in the command line |
| rcjsuen | to be clear, the fix is not in 3.5.1 |
| asimismo | export GDK_NATIVE_WINDOWS=true |
| asimismo | The guy offering to backport wasn't backporting in Eclipse.org source? |
| rcjsuen | Not sure I follow. |
| rcjsuen | The fix went in 3.6 |
| rcjsuen | Andrew backported it for 3.5 for Fedora packages. |
| rcjsuen | SWT then recently put the fix in the 3.5 maintenance stream. |
| asimismo | Well, it says it was backported to 3.5.x. Is that 3.5.1 or 3.5.2, or both? |
| rcjsuen | you mean this "Backported fix to 3.5.x stream - will be available in next week's M build. |
| rcjsuen | "? |
| asimismo | Right |
| rcjsuen | it will be in 3.5.2 when it's out |
| rcjsuen | as i noted above, it is not in 3.5.1 |
| rcjsuen | but Andrew patched it for the Fedora packages |
| asimismo | Ok, just clarifying. I'll try the Ubuntu package and see if it's fixed. |
| asimismo | If not I'll just download a new build. |
| rcjsuen | asimismo: So you exported the env var from a terminal, then how did you start Eclipse? |
| FurnaceBoy | rcjsuen: disabling code folding made little or no difference |
| rcjsuen | Guess that wasn't it then. |
| rcjsuen | Are you using the Zend Debugger? |
| FurnaceBoy | no |
| FurnaceBoy | no debugger |
| rcjsuen | okay i only recall those two problems off hand |
| FurnaceBoy | thx |
| rcjsuen | ~294666 |
| Arbalest | Bug 294666 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=294666 - PDT / Editor / 2.1.2 - Macintosh / Mac OS X - NEW / critical / - Assignee: php.ui-inbox - The slow-typing monster is back! |
| rcjsuen | o now i remember |
| rcjsuen | FurnaceBoy: Did you try turning off mark occurrences? |
| FurnaceBoy | not yet. lemme see.. |
| FurnaceBoy | no effect on keystroke latency |
| FurnaceBoy | btw speed of generic text editor is ok |
| FurnaceBoy | this is a decent system, 3.2GHz P4 HT with plenty of ram |
| rcjsuen | guess not that either |
| rcjsuen | i'm out of ideas then |
| FurnaceBoy | :) |
| rcjsuen | as there was also ~271233 |
| Arbalest | Bug 271233 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=271233 - PDT / Editor / 2.1 - PC / Linux-GTK - RESOLVED / FIXED / normal / - Assignee: php.ui-inbox - mark occurences slows down typing |
| FurnaceBoy | ooh. nice bot. |
| Action: FurnaceBoy checks 294666 |
| FurnaceBoy | i definitely have an infestation of the slow typing monster. feels more like The Alien actually. |
| FurnaceBoy | the kind that tempts me to switch off the main engine cooling and let the whole thing self destruct |
| ZwEnN | hello guys :) i've got a problem with a language package.... since i installed our school's version of eclipe there was the german language pre installed and now i get error messages... i'm sure it's down to this package but i don't know how to uninstall it properly :/ could someone help me? |
| FurnaceBoy | rcjsuen: I would consider that I am seeing 294666. |
| FurnaceBoy | rcjsuen: though not only on mixed files, also on php-only files. |
| ZwEnN | Why is it always so difficult to get help in irc channels? oO |
| NoobFukaure | ZwEnN: download the correct language for your use, unzip it and use that |
| FurnaceBoy | rcjsuen: thanks voted up 294666 |
Popular searches: