December 9, 2009  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31

[00:00:13] <toulmean> njbartlett: see higher on the thread, I attached the activator code
[00:00:20] <toulmean> nitind: ok, let's try that.
[00:00:33] <njbartlett> toulmean: The -dev flag is absolutely required to run in self-hosting. It's basically a hack
[00:00:50] <nitind> toulmean: it's complaining about your DesignerCmdlineApplication class, not the activator.
[00:00:50] *** StarkHalo has quit IRC
[00:00:50] <toulmean> njbartlett: but it's not in the arguments ?
[00:01:03] <toulmean> nitind: doh
[00:01:15] <toulmean> nitind: thx. Looking there now then.
[00:01:31] <nitind> toulmean: Are you not seeing any errors reported in your Problems view?
[00:01:34] <toulmean> njbartlett: I mean, if you create a new Eclipse run config, it's not in the args. It may be added.
[00:01:35] *** blue_asterisk has joined #eclipse
[00:01:44] <toulmean> nitind: no
[00:01:59] <nitind> I would expect that to be caught and shown there.
[00:02:02] <njbartlett> toulmean: It's not in the visible args in the launcher dialog. It gets secretly added. It's part of PDE's magic :-)
[00:02:27] <toulmean> njbartlett: yes, that's what I mean. And adding it twice somehow was an issue.
[00:02:34] <toulmean> nitind: me too.
[00:03:20] <njbartlett> toulmean: The reason for -dev mode is that at runtime, your Bundle-Classpath header says "." (dot) but your classes are not actually in "dot", they are in "target/classes". So -dev hacks the runtime to make Equinox look somewhere else
[00:03:56] <njbartlett> toulmean: Now I'm wondering if -dev mode knows that your classes are in target/classes and not in bin/, which is the usual place
[00:04:06] <toulmean> njbartlett: I see.
[00:04:15] <toulmean> njbartlett: well we have jumped that shark now.
[00:04:28] <nitind> toulmean: What's the argument list and types for DesignerCmdlineApplication#start) ?
[00:04:31] <toulmean> njbartlett: it now complains about something else: my start method on my Eclipse app class is not ok.
[00:04:39] *** Kudd__ is now known as Kudd
[00:04:45] <toulmean> nitind: public Object start(IApplicationContext context) throws Exception {
[00:05:00] <toulmean> nitind: Eclipse is fine with it.
[00:05:19] <njbartlett> toulmean: Err yes, so you've turned off -dev mode and things are still working at all? Now I'm confused!
[00:05:41] <toulmean> njbartlett: so I had added -dev to my arguments.
[00:05:50] <toulmean> njbartlett: looks like it was there two times.
[00:06:07] <toulmean> njbartlett: hence the ClassNotFoundException or something.
[00:06:23] <njbartlett> toulmean: Aha, interesting. I guess adding it again overrode the settings from JDT about where the classes should be. Weird.
[00:06:25] <toulmean> njbartlett: I removed it from Run Configs>My Config>Arguments and now I'm fine.
[00:06:37] <toulmean> njbartlett: weird indeed. I also removed the -debug flag.
[00:06:49] <toulmean> I really added a lot of stuff to that config.
[00:07:03] <nitind> toulmean: Don't add -debug yourself.  The tracing tab will do it for you behind-the-scenes.
[00:07:22] <toulmean> nitind: ok. Yes it's removed.
[00:07:33] <nitind> toulmean: And your app class implements org.eclipse.equinox.app.IApplication ?
[00:08:01] <toulmean> nitind: yes.
[00:14:00] <nitind> toulmean: Same error as http://pastie.org/734483 still?
[00:14:21] <toulmean> nitind: yes, even after cleaning.
[00:16:22] <nitind> toulmean: I'd say start with a new launch configuration, then, changing as little as possible from the defaults.  And for goodness sake, turn autobuilds on.
[00:17:11] <njbartlett> toulmean: Hmm VerifyError should never happen, the problem should be caught during compilation. Usually it only happens when you do a partial recompilation after changing stuff.
[00:17:31] <toulmean> nitind: what does it bring ?
[00:17:54] <toulmean> nitind: what if I want to have build turned off so I can debug as much as I want and use a predefined delta for incremental build ?
[00:18:13] <toulmean> njbartlett: I think that or the runtime env doesn't match.
[00:18:35] <njbartlett> toulmean: Doesn't match waht?
[00:18:48] <toulmean> njbartlett: for example if you don't use the same java
[00:18:59] <toulmean> njbartlett: oh well.
[00:20:13] <toulmean> I'm sorry guys. It's weird I can make that stuff work.
[00:20:28] <toulmean> nitind: probably right, let me do a new launch config.
[00:21:55] <toulmean> nitind: I still get the same error.
[00:22:06] * toulmean mutters "Damn"
[00:25:29] *** Mr_Grim has quit IRC
[00:29:38] *** rhk has quit IRC
[00:32:36] <toulmean> s/It's weird I can make that stuff work./It's weird I can't make that stuff work./
[00:32:48] * toulmean will try again tomorrow...
[00:33:50] *** reid02 has joined #eclipse
[00:35:01] *** Powerplay has quit IRC
[00:47:53] *** robinr has joined #eclipse
[00:51:15] *** Hanumaan has quit IRC
[00:53:48] *** sphenxes01 has quit IRC
[00:56:21] *** francis41 has quit IRC
[00:58:00] *** francis4 has joined #eclipse
[00:59:13] *** dilton has left #eclipse
[01:01:42] *** deSilva has quit IRC
[01:06:18] *** Carnage\ has quit IRC
[01:07:45] *** fsteeg has quit IRC
[01:11:20] *** njbartlett has quit IRC
[01:20:23] *** tr1gger_ has quit IRC
[01:26:29] *** njbartlett has joined #eclipse
[01:27:27] *** amnesic has quit IRC
[01:28:57] *** robinr has quit IRC
[01:29:15] *** glima[AWAY] is now known as glima
[01:34:35] *** Accolade has joined #eclipse
[01:44:14] *** Leemp has joined #eclipse
[01:50:20] *** ccmonster has left #eclipse
[01:51:18] *** ExElNeT_ has quit IRC
[01:56:10] *** armence has joined #eclipse
[02:01:16] *** phoenixz has quit IRC
[02:02:13] *** Irakirashia has quit IRC
[02:02:18] *** deng_c has joined #eclipse
[02:07:22] *** tphgangster has joined #eclipse
[02:10:28] *** coachz has joined #eclipse
[02:10:31] *** njbartlett has quit IRC
[02:10:39] <coachz> does eclipse support indentation based code folding ?
[02:12:35] *** |conan| has quit IRC
[02:13:05] *** Tesseract has quit IRC
[02:16:40] *** coachz has left #eclipse
[02:22:16] *** Tesseraction has joined #eclipse
[02:22:49] *** amitev has quit IRC
[02:23:05] *** amitev has joined #eclipse
[02:23:37] *** aksn has quit IRC
[02:24:21] *** Shown has quit IRC
[02:24:40] *** armence has quit IRC
[02:30:49] *** blue_asterisk has quit IRC
[02:33:51] *** JabDesign has joined #eclipse
[02:34:36] *** funkt0r has joined #eclipse
[02:45:41] *** Dashkal has quit IRC
[02:50:36] *** Tesseract has joined #eclipse
[02:51:35] *** JacobSingh has joined #eclipse
[02:55:29] *** yann||work has quit IRC
[02:55:33] *** yann|work has joined #eclipse
[02:57:13] *** Rudy_Steiner has joined #eclipse
[02:57:41] <Rudy_Steiner> any body from brazil????
[02:58:18] *** conan has joined #eclipse
[02:59:01] <rcjsuen> Why do you ask? :o
[02:59:29] <philk__> ~brazil
[02:59:38] <philk__> ;)
[03:01:20] <Rudy_Steiner> because i don't speak inglish very well!  :(
[03:01:43] <Rudy_Steiner> philk__ Do you speak portuguese?
[03:01:45] <rcjsuen> you seem to be doing okay so far
[03:01:53] <Accolade> you should ask if anybody speaks Portugese (just saying ;)
[03:01:59] <rcjsuen> you could try to get by with English for the time being
[03:02:08] <Accolade> I agree
[03:04:17] *** Tesseraction has quit IRC
[03:04:19] *** Theravadan has joined #eclipse
[03:04:53] <Rudy_Steiner> ok
[03:09:23] *** l0gin has quit IRC
[03:15:11] <philk__> are the any plans for a Equinox Monitor Admin impl?
[03:15:58] *** d_a_carver has quit IRC
[03:22:47] *** parasol has joined #eclipse
[03:25:20] *** |conan| has joined #eclipse
[03:27:30] *** Pi^2 has joined #eclipse
[03:27:36] *** Accolade_ has joined #eclipse
[03:27:36] *** Accolade has quit IRC
[03:28:05] *** Accolade_ is now known as Accolade
[03:41:34] *** kesselhaus has joined #eclipse
[03:41:46] *** conan has quit IRC
[03:41:52] *** Rudy_Steiner has quit IRC
[03:57:38] *** steve__ has joined #eclipse
[04:01:18] *** conan has joined #eclipse
[04:03:02] *** toulmean has quit IRC
[04:03:03] *** adante has quit IRC
[04:03:07] *** adante has joined #eclipse
[04:07:32] *** Mr_Grim has joined #eclipse
[04:19:03] *** |conan| has quit IRC
[04:23:00] *** steve__ has quit IRC
[04:26:06] *** Afterlawl has joined #eclipse
[04:27:44] <philk__> rcjsuen: how would I facilitate a workbench parts progress-service to make its title italic and bold in case it had changed while in background (using DTCM)
[04:29:14] <rcjsuen> philk__: Rephrase?
[04:29:31] <rcjsuen> to make it bold you use
[04:29:35] <rcjsuen> IWSPS's warnOfContentChange() method
[04:29:50] <philk__> rcjsuen: during the refresh of the tree i want it to enter its busy state
[04:30:12] <philk__> rcjsuen: at the end of the refresh i want it to call warnOfContentChange()
[04:30:32] <rcjsuen> I'm not sure if there's API to force it to be italicized.
[04:31:28] <rcjsuen> Prakash wrote some stuff wrt the IWSPS
[04:31:53] <rcjsuen> i guess maybe if you called showBusy by hand
[04:31:56] <rcjsuen> http://blog.eclipse-tips.com/2009/02/using-progress-bars.html
[04:32:32] <philk__> rcjsuen: the progressService schedule method should do that busy increment
[04:32:39] <rcjsuen> right, it should
[04:33:09] <rcjsuen> but that'd be in a job and refreshing would be in a ui thread
[04:33:12] <rcjsuen> unless I'm missing something
[04:33:54] *** rcjsuen has quit IRC
[04:36:16] *** wipeout has joined #eclipse
[04:36:53] <wipeout> i accidentally disable the compile with errors without warning. does anyone know how to re-enable it
[04:39:23] *** laknath_ has quit IRC
[04:39:28] *** laknath__ has joined #eclipse
[04:40:17] *** ramenmeal has joined #eclipse
[04:44:41] *** anli_ has quit IRC
[04:45:26] *** xxen has quit IRC
[04:49:45] *** wipeout has quit IRC
[04:50:05] <m0> I am wondering, why doesn't my eclipse update to 3.5.1 automatically?
[04:50:15] <m0> It says, there are no updates and I only have 3.5.0
[04:50:50] *** mbana has quit IRC
[04:50:59] *** pingveno has quit IRC
[04:51:18] *** ZeekDaGeek has quit IRC
[04:52:26] *** funkt0r_ has joined #eclipse
[05:04:02] *** funkt0r has quit IRC
[05:04:41] *** pingveno has joined #eclipse
[05:05:01] *** Bass10 has quit IRC
[05:05:36] *** tolland has quit IRC
[05:05:42] *** Bass10 has joined #eclipse
[05:06:03] *** Technobabble has left #eclipse
[05:07:05] *** Bass10 has quit IRC
[05:08:01] *** Bass10 has joined #eclipse
[05:08:22] *** SniperFodder has joined #eclipse
[05:10:56] *** ZeekDaGeek has joined #eclipse
[05:18:44] *** Kudd has quit IRC
[05:23:58] *** modernbob has quit IRC
[05:27:02] *** Stefa1 has quit IRC
[05:32:11] *** dmiles_afk has joined #eclipse
[05:33:09] *** modernbob has joined #eclipse
[05:36:24] *** kesselhaus has quit IRC
[05:37:43] *** kthomas_vh has joined #eclipse
[05:38:43] *** JacobSingh has quit IRC
[05:55:56] *** Mr_Grim has quit IRC
[05:59:05] *** parasol has quit IRC
[06:03:39] *** Bass10 has quit IRC
[06:04:42] *** ldlework has joined #eclipse
[06:05:03] <ldlework> Is there anything that would let me automate Close Project, windows commandline command, open Project?
[06:05:15] <ldlework> This is needed to emulate a functioning git pull, since egit does not support it.
[06:30:03] *** toulmean has joined #eclipse
[06:30:54] <philk__> paulweb515: is it possible to provide additional icons to the "Resource Browse" dialog?
[06:31:07] <philk__> paulweb515: I mean additional locations to search for icons?
[06:32:50] <philk__> the "Resource Attribute Value". I would like to facilitate the IconFinder API to allow for search and automatical download of icons into projects directly from this dialog.
[06:45:46] *** toulmean has quit IRC
[06:48:09] *** laknath__ has quit IRC
[06:48:15] *** Mr_Grim has joined #eclipse
[07:11:53] *** philk_ has joined #eclipse
[07:12:49] *** toulmean has joined #eclipse
[07:27:32] *** therealpxc has joined #eclipse
[07:27:45] <therealpxc> very quick question: can eclipse plugins be installed locally to ~/.eclipse?
[07:31:18] *** philk__ has quit IRC
[07:31:38] *** blue_asterisk has joined #eclipse
[07:34:34] *** funkt0r_ has quit IRC
[07:39:43] *** kikz4life has joined #eclipse
[07:39:50] <kikz4life> hi there everyone
[07:40:03] <kikz4life> anyone here using the eclipse birt design/
[07:40:09] *** TomTom has joined #eclipse
[07:40:37] <kikz4life> just want to ask if it possible to import an database schema from the eclipse
[07:41:12] <kikz4life> inside the schema are those like the sql query (ie. select * from table where id = ?)
[07:41:18] <kikz4life> is that possible?
[07:47:01] *** kottlett has joined #eclipse
[07:52:32] *** JabDesign has quit IRC
[07:54:54] *** toulmean has quit IRC
[07:58:01] *** BigJ has joined #eclipse
[07:59:04] <BigJ> when I go to help software updates I get cannot launch update UI this installation has not be configured properly for software updates
[08:00:18] *** volodya_ has quit IRC
[08:00:32] *** JacobSingh has joined #eclipse
[08:01:18] *** tokam1 has quit IRC
[08:02:07] *** punknroll has joined #eclipse
[08:04:11] *** ramenmeal_ has joined #eclipse
[08:05:13] *** Evelynn has joined #eclipse
[08:05:56] *** ramenmeal has quit IRC
[08:05:57] *** ramenmeal_ is now known as ramenmeal
[08:06:42] *** JacobSingh has quit IRC
[08:16:37] *** bigmack83 has joined #eclipse
[08:17:12] *** bigmack83 has joined #eclipse
[08:18:55] *** zabka has joined #eclipse
[08:19:13] *** nlc has quit IRC
[08:20:11] *** punknroll has quit IRC
[08:22:14] <philk_> paulweb515: I would like to have the same menu items in a pull-down button inside a toolbar as well as in the main menu as a submen. Is that possible?
[08:24:19] *** Accolade has quit IRC
[08:24:22] *** Accolade_ has joined #eclipse
[08:25:23] *** Accolade has joined #eclipse
[08:26:42] *** ramenmeal has quit IRC
[08:27:14] *** Accolade has quit IRC
[08:27:15] *** Accolade__ has joined #eclipse
[08:27:31] *** Accolade__ is now known as Accolade
[08:34:55] *** Kemeros has joined #eclipse
[08:39:03] *** Mr_Grim has quit IRC
[08:41:03] <Kemeros> Hello, i'm using Stanford's version of eclipse 3.2 to learn java and can't seem to use any shortcuts like the delete key or F5 in the workbench. Been looking for an hours on google but there does't seem to be anyone that experiences that... does anyone have a clue how to fix this?
[08:42:09] <Kemeros> an hours heh
[08:42:50] *** Accolade_ has quit IRC
[08:44:42] *** hooch has joined #eclipse
[08:47:39] *** SpektoM has joined #eclipse
[08:47:50] *** ramenmeal has joined #eclipse
[08:48:59] *** ramenmeal_ has joined #eclipse
[08:48:59] *** ramenmeal has quit IRC
[08:49:04] *** ramenmeal_ is now known as ramenmeal
[08:51:57] *** CodeWar has joined #eclipse
[08:52:43] *** bigmack83_ has joined #eclipse
[08:54:28] *** bigmack83 has quit IRC
[08:57:17] *** veyres has joined #eclipse
[08:58:59] <CodeWar> any idea where the downloads for different platforms are .. in particular i m looking for galileo on opensolaris
[08:59:42] *** alankila has quit IRC
[08:59:53] *** alankila has joined #eclipse
[09:01:27] <CodeWar> never mind found it http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.5.1-200909170800/eclipse-SDK-3.5.1-solaris-gtk-x86.zip
[09:01:34] *** akurtakov__ has joined #eclipse
[09:01:57] *** Accolade has left #eclipse
[09:02:04] *** keya has joined #eclipse
[09:04:41] *** JacobSingh has joined #eclipse
[09:06:18] *** CodeWar has quit IRC
[09:06:57] *** akurtakov_ has quit IRC
[09:10:21] *** ldleworker has joined #eclipse
[09:10:28] *** SniperFodder has quit IRC
[09:14:02] *** Kemeros has left #eclipse
[09:14:32] *** kostmo has joined #eclipse
[09:15:26] *** fsteeg has joined #eclipse
[09:16:28] <kostmo> I'm writing an eclipse plugin that opens a file and should move to a particular line number, but the methods that came up on Google aren't working
[09:17:36] <kostmo> specifically this method won't compile: ((ITextEditor)org.eclipse.jdt.ui.JavaUI.openInEditor(compilationUnit)).selectAndReveal(int, int);
[09:17:41] *** volodya_ has joined #eclipse
[09:17:47] <kostmo> I found it here: http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg13207.html
[09:17:54] *** sama has joined #eclipse
[09:18:29] <kostmo> Can anybody help?
[09:20:22] *** JacobSingh_ has joined #eclipse
[09:23:00] *** balor has joined #eclipse
[09:23:45] *** toulmean has joined #eclipse
[09:26:40] *** w0lfshad3 has joined #eclipse
[09:26:43] <w0lfshad3> where do i get the source for java.lang.*, i tried two jdk source packages already and they don't integrate with eclipse
[09:27:48] *** ldlework has quit IRC
[09:28:48] *** JacobSingh_ has quit IRC
[09:32:33] *** JacobSingh has quit IRC
[09:38:16] *** dpy has joined #eclipse
[09:40:07] *** xjih78 has joined #eclipse
[09:40:12] <xjih78> hi everybody
[09:40:24] <xjih78> I'm working on a eclipse classic on a gnu/linux box.
[09:41:09] <xjih78> sometimes it doesn't obey when I do a task like adding/removing plugins
[09:41:23] *** balor has quit IRC
[09:41:42] *** kensanata has joined #eclipse
[09:43:36] <philk_> paulweb515: how would I make a certain menu contribution toggle its visibility depending on the toggle state of a command?
[09:44:01] <philk_> paulweb515: I have to toggle command in place, but have no idea how I would grab the contribution and make it re-evaluate its visibility?
[09:47:40] <swente> now as i have created a property-page for projects having my (custom) facet enabled, i would like to refresh the properties-dialog when the facet is en|dis-abled, to make that page [dis]appear. (is this possible at all?)
[09:48:50] *** SzymonB has joined #eclipse
[09:49:04] *** volodya_ has quit IRC
[09:50:08] *** pingveno has quit IRC
[09:50:38] *** volodya_ has joined #eclipse
[09:53:31] *** Xilent has joined #eclipse
[09:53:48] *** pschriner has joined #eclipse
[09:54:04] <hooch> is it normal for eclipse (pdt) to lag?  sometimes it takes a few seconds to echo my keystrokes, saving can also take a few seconds.  it seems to happen at some times, but not others?
[09:54:35] <swente> hooch: is the system eventually swapping?
[09:54:51] *** pingveno has joined #eclipse
[09:56:37] *** blue_asterisk has quit IRC
[09:58:24] *** akurtakov has joined #eclipse
[09:58:36] *** akurtakov__ has quit IRC
[10:01:01] *** opossum_oisif has joined #eclipse
[10:02:28] *** akurtakov has quit IRC
[10:02:43] *** akurtakov has joined #eclipse
[10:04:20] <hooch> swente: not at all.  there's 8gb of memory and nothing else of any consequence happening
[10:04:36] <hooch> ohh i need to assign more ram to the java runtime or something?
[10:06:51] *** fsteeg has quit IRC
[10:08:20] <hooch> thanks i'll see how this goes now.  i've also turned off apple's Spotlight thing on my workspace directory
[10:08:31] *** w0lfshad3 has quit IRC
[10:09:14] *** tom17bombadil has joined #eclipse
[10:10:27] <swente> hooch: mmh JRE memory .. if it runs out, it would give you a sign (jre does no swapping itself)
[10:10:53] *** z4z4 has joined #eclipse
[10:14:57] *** acuster has joined #eclipse
[10:15:39] *** volodya_ has quit IRC
[10:16:41] *** sama has quit IRC
[10:17:13] <hooch> swente: i think it's also a factor of the php debugger validating files on the fly?
[10:18:57] *** glima is now known as glima[AWAY]
[10:22:19] <swente> hooch: i can't really judge, honestly i'm not familiar with PDT. debugging .. remote-debugging also might bring some network-latency - with a high-latency connection this might also cause problems (in general)
[10:24:35] <hooch> hm no it's a local thing
[10:28:30] <philk_> paulweb515: can I use the preference value saved by RegistryToggleState as enablement for another contribution? Basically I would like to show the other contribution only if the toggle state is true. That should work also after restarting the workbench
[10:31:22] *** ramenmeal has quit IRC
[10:36:47] *** kostmo has quit IRC
[10:37:08] *** toulmean has quit IRC
[10:44:39] *** balor has joined #eclipse
[10:46:24] *** sphenxes has joined #eclipse
[10:47:25] *** veyres has quit IRC
[10:47:25] *** philk_ has quit IRC
[10:47:25] *** joe2371 has quit IRC
[10:47:25] *** peper has quit IRC
[10:47:25] *** tangent3 has quit IRC
[10:47:25] *** charley has quit IRC
[10:47:25] *** Echidna has quit IRC
[10:47:25] *** omry_|work has quit IRC
[10:47:25] *** odin_ has quit IRC
[10:47:25] *** tromey has quit IRC
[10:52:36] *** ap73 has joined #eclipse
[10:52:40] *** volodya_ has joined #eclipse
[10:53:18] <ap73> Hello! I have been searching in Google and have found some references relating to be able to develop
[10:53:42] <ap73> ARM code for Windows CE using Eclipse.  What I can't find are the tools to allow me to do it.
[10:54:03] <ap73> Can anyone point me to the plugins that I need?
[10:55:55] *** volodya_ is now known as volodya
[10:57:08] *** pingveno has joined #eclipse
[10:58:09] *** spawnyd has joined #eclipse
[10:58:43] *** Pikachu_2015 has joined #eclipse
[11:00:06] *** veyres has joined #eclipse
[11:00:06] *** philk_ has joined #eclipse
[11:00:06] *** joe2371 has joined #eclipse
[11:00:06] *** peper has joined #eclipse
[11:00:06] *** tangent3 has joined #eclipse
[11:00:06] *** charley has joined #eclipse
[11:00:06] *** omry_|work has joined #eclipse
[11:00:06] *** odin_ has joined #eclipse
[11:00:06] *** Echidna has joined #eclipse
[11:00:06] *** tromey has joined #eclipse
[11:01:25] <xjih78> I have trouble setting up eclipse for gnu/linux
[11:02:29] <xjih78> some settings won't change at all
[11:02:44] *** philk_ has quit IRC
[11:02:44] *** odin_ has quit IRC
[11:02:44] *** charley has quit IRC
[11:02:44] *** Echidna has quit IRC
[11:02:44] *** omry_|work has quit IRC
[11:02:44] *** tromey has quit IRC
[11:02:44] *** veyres has quit IRC
[11:02:44] *** joe2371 has quit IRC
[11:02:44] *** tangent3 has quit IRC
[11:02:44] *** peper has quit IRC
[11:04:27] <xjih78> I can't find anything on this issue
[11:06:22] <ralf_e> xjih78, what do you mean by "some settings won't change at all"?
[11:06:22] *** veyres has joined #eclipse
[11:06:22] *** omry_|work has joined #eclipse
[11:08:30] <Egelmex> xjih78: ~info
[11:08:30] <Arbalest> Please state a) your CPU architecture (x86, 64-bit, etc.), b) operating system (Windows, Linux, OSX, etc.), c) your Java runtime environment (please verify by checking your ~logs or in the about dialog's ~jre section. No, typing 'java -version' in the command line does not count as checking), d) your Eclipse version, and e) where did you get Eclipse from (eclipse.org, distro repository, etc.).
[11:08:44] <Egelmex> xjih78: as well as which settings won't change
[11:10:36] *** crashR has quit IRC
[11:11:01] *** jham has quit IRC
[11:16:45] *** Shown has joined #eclipse
[11:17:45] *** philk_ has joined #eclipse
[11:17:45] *** joe2371 has joined #eclipse
[11:17:45] *** peper has joined #eclipse
[11:17:45] *** tangent3 has joined #eclipse
[11:17:45] *** charley has joined #eclipse
[11:17:45] *** odin_ has joined #eclipse
[11:17:45] *** Echidna has joined #eclipse
[11:17:45] *** tromey has joined #eclipse
[11:18:43] *** deng_c has quit IRC
[11:19:14] *** jarlen has left #eclipse
[11:23:28] *** deng_c has joined #eclipse
[11:24:09] *** Administrator__ has joined #eclipse
[11:24:35] *** ldleworker is now known as Guest65476
[11:24:40] *** Administrator__ is now known as ldleworker
[11:25:10] *** sama has joined #eclipse
[11:25:25] *** JacobSingh has joined #eclipse
[11:25:54] *** erdal has joined #eclipse
[11:26:21] *** dpy has quit IRC
[11:26:34] *** dpy has joined #eclipse
[11:29:21] *** njbartlett has joined #eclipse
[11:30:15] <njbartlett> philk_: Ping
[11:31:00] <philk_> njbartlett: yes
[11:31:15] <njbartlett> philk_: Oh hi was just about to reply to your bug
[11:31:23] <philk_> njbartlett: thats fine :)
[11:31:25] <njbartlett> philk_: Are you using the latest code? I already fixed the first issue
[11:31:34] <philk_> njbartlett: yes I am
[11:31:47] <njbartlett> philk_: Now it should just eat the NoSuchMethodError and continue
[11:32:02] <philk_> njbartlett: checking...
[11:32:03] <njbartlett> philk_: Hmm then can you attach a stack trace to the bug?
[11:32:35] <philk_> njbartlett: to which bug?
[11:32:50] <philk_> with the unbind?
[11:32:55] <njbartlett> philk_: http://github.com/njbartlett/Extensions2Services/issues#issue/2
[11:33:21] <philk_> njbartlett: just a sec
[11:33:59] *** Theravadan has quit IRC
[11:35:36] <philk_> njbartlett: there you go
[11:37:55] *** Kudd has joined #eclipse
[11:37:57] *** acuster has quit IRC
[11:40:50] *** dmiles_afk has quit IRC
[11:42:13] *** Guest65476 has quit IRC
[11:43:42] *** LongBeach has quit IRC
[11:43:50] *** philk_ has quit IRC
[11:43:50] *** odin_ has quit IRC
[11:43:50] *** charley has quit IRC
[11:43:50] *** Echidna has quit IRC
[11:43:50] *** tromey has quit IRC
[11:43:51] *** joe2371 has quit IRC
[11:43:51] *** tangent3 has quit IRC
[11:43:51] *** peper has quit IRC
[11:44:22] *** pschriner5427 has joined #eclipse
[11:45:34] *** pingveno has quit IRC
[11:53:01] *** magnet has joined #eclipse
[11:55:02] *** philk_ has joined #eclipse
[11:55:02] *** joe2371 has joined #eclipse
[11:55:02] *** peper has joined #eclipse
[11:55:02] *** tangent3 has joined #eclipse
[11:55:02] *** charley has joined #eclipse
[11:55:02] *** odin_ has joined #eclipse
[11:55:02] *** Echidna has joined #eclipse
[11:55:02] *** tromey has joined #eclipse
[11:56:13] *** auser has joined #eclipse
[11:57:17] *** pschriner has quit IRC
[11:57:23] <philk_> njbartlett: hmmm just pulled the git repo and the namespace of your extensions has changed from name.njbartlett to eu.wwuk.eclipse.extsvcs*
[12:00:04] <njbartlett> philk_: Hmm it shouldn't have had that extension for ages. When did you last pull?
[12:02:11] <philk_> just now
[12:02:21] <philk_> the master
[12:03:27] *** deng_c has quit IRC
[12:04:22] *** scorphus has joined #eclipse
[12:04:26] <njbartlett> philk_: Well it hasn't been under name.neilbartlett for a long time
[12:06:23] <philk_> njbartlett: the downloadable bundle is
[12:07:05] <njbartlett> philk_: What downloadable bundle?
[12:07:55] <philk_> njbartlett: from the git site
[12:08:01] <philk_> when you click download
[12:08:15] *** philk_ has quit IRC
[12:08:15] *** odin_ has quit IRC
[12:08:15] *** charley has quit IRC
[12:08:15] *** Echidna has quit IRC
[12:08:15] *** tromey has quit IRC
[12:08:15] *** joe2371 has quit IRC
[12:08:15] *** tangent3 has quit IRC
[12:08:15] *** peper has quit IRC
[12:09:03] <njbartlett> philk_: well that's odd... github problem perhaps
[12:12:39] <magnet> i pulled it last week and it was in name.neilbartlett
[12:13:34] <njbartlett> magnet: Hmm. Then maybe I didn't push changes when I thought I had. Sorry about that.
[12:14:14] <magnet> mhh, in what package do you want it to be? :)
[12:17:02] *** synx` has quit IRC
[12:18:50] *** auser has quit IRC
[12:19:13] *** volodya has quit IRC
[12:21:22] *** codesmart has joined #eclipse
[12:22:32] <codesmart> Hello, is it generally possible to use interfaces in databinding? my tool complains that the proeprty class is abstract.
[12:23:19] *** tolland has joined #eclipse
[12:31:45] *** kikz4life has quit IRC
[12:34:07] *** keya has quit IRC
[12:36:43] *** opossum_oisif has quit IRC
[12:38:28] *** keya has joined #eclipse
[12:40:38] *** hect has joined #eclipse
[12:40:42] <hect> hi!
[12:41:36] *** philk_ has joined #eclipse
[12:41:36] *** joe2371 has joined #eclipse
[12:41:36] *** peper has joined #eclipse
[12:41:36] *** tangent3 has joined #eclipse
[12:41:36] *** charley has joined #eclipse
[12:41:36] *** odin_ has joined #eclipse
[12:41:36] *** Echidna has joined #eclipse
[12:41:36] *** tromey has joined #eclipse
[12:42:26] <hect> I want to run a GUI application using a thread. I created a class that extends Thread, in the run() method I execute this: Display display = Display.getDefault(); but it gets frozen
[12:42:32] <hect> any help?
[12:42:37] <hect> I'm working with SWT
[12:45:18] <erdal> hect: have a look at the swt snippets
[12:45:26] <philk_> njbartlett: from the git site, when you click the download
[12:45:42] <philk_> njbartlett: whats up with the "property" tag for the factory element?
[12:46:03] <erdal> hect: http://www.eclipse.org/swt/snippets/
[12:46:08] <hect> cool
[12:46:52] <erdal> and maybe you shoudl get familiar with swt in general
[12:47:31] <hect> can't find anything thread related...
[12:48:35] <erdal> cause that is the wrong direction :-)
[12:48:58] <hect> nice
[12:49:25] <njbartlett> philk_: I've started to add the capability to publish an extension object as a service
[12:50:00] <philk_> njbartlett: but its a required tag... now my plugin.xml all became invalid
[12:50:14] <njbartlett> philk_: Required?? You sure?
[12:51:31] <philk_> yes... 1..*
[12:51:49] <njbartlett> philk_: Oops. Let me just fix that and push again :-)
[12:53:02] <philk_> njbartlett: sure sure :)
[12:53:43] *** mcp_ has joined #eclipse
[12:54:02] <njbartlett> philk_: Done
[12:54:21] *** |conan| has joined #eclipse
[12:54:37] *** amnesic has joined #eclipse
[12:55:13] <hect> any help on how to open a graphic app from a thread using swt ?
[12:56:04] <erdal> afaik, swt must run in the main thread
[12:56:07] *** ExElNeT has joined #eclipse
[12:56:37] <erdal> i.e. your Display has to be created in the main thread
[12:56:43] *** deSilva has joined #eclipse
[12:57:18] *** Resistance1 has quit IRC
[12:58:19] <philk_> njbartlett: refreshing index...
[12:58:46] <njbartlett> hect: This message is relevant: http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg02825.html
[12:58:50] *** conan has quit IRC
[12:59:10] <hect> mmm interesting
[12:59:25] <njbartlett> hect: Ping rcjsuen when you see him
[12:59:56] <hect> will do
[13:02:31] <njbartlett> hect: I could be wrong, but it looks like that message implies you will need to use Equinox rather than Knopflerfish, because it has the support for running stuff on the main thread. However Knopflerfish might be able to do something similar. How about raising a support query with Makewave guys?
[13:03:58] <hect> njbartlett: where's the right place for that?
[13:04:20] <hect> anyway, I think this is quite a common problem... there should be an easy solution
[13:05:18] <njbartlett> hect: Not sure the right place for that. Doesn't Knopflerfish have its own mailing list?
[13:05:35] <njbartlett> hect: I'm not sure it is such a common problem. Most people using OSGi and SWT are doing Eclipse RCP
[13:05:45] <philk_> njbartlett: the schema is not updated yet? What do I need to do with eGit to get the new version?  I am new to git .)
[13:06:21] <njbartlett> philk_: Err I don't use EGit, I would just do a git pull from the command line
[13:06:53] *** volodya has joined #eclipse
[13:06:57] <njbartlett> philk_: Free online git book: http://progit.org/
[13:07:50] *** tom17bombadil has quit IRC
[13:11:06] <mcp_> Can someone tell me how to use java.util.Calendar in an EMF model?
[13:11:16] <njbartlett> hect: http://www.knopflerfish.org/mailman/listinfo
[13:12:45] *** LongBeach has joined #eclipse
[13:13:22] <philk_> is it possible to add a new formatter to MessageFormat? I would like to add file size formatter...
[13:13:44] *** TomTom has quit IRC
[13:14:31] *** rcjsuen has joined #eclipse
[13:16:04] <philk_> rcjsuen: got it working, my problem yesterday night
[13:16:28] <philk_> rcjsuen: also njbartlett wants you to read this http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg02825.html
[13:17:41] <rcjsuen> BigJ: How did you install Eclipse?
[13:17:49] <rcjsuen> philk_: Did Neil say why?
[13:18:06] <njbartlett> rcjsuen: Actually hect wants some help with launching SWT in a thread
[13:18:31] <rcjsuen> I'm not that far in the logs yet.
[13:18:31] <njbartlett> rcjsuen: philk_ is lying to you as well as stalking you ;-)
[13:19:04] <philk_> rcjsuen: pffff
[13:19:11] <philk_> njbartlett: pfffff
[13:19:11] <philk_> :)
[13:23:32] *** JacobSingh has quit IRC
[13:24:21] *** mbana has joined #eclipse
[13:26:10] *** mcp_ has quit IRC
[13:27:10] <hect> rcjsuen: If I launch the GUI (swt) from a bundle's activator, the osgi framework freezes until the GUI is closed. If I put the code in a thread, it freezes as soon as it reaches the line: Display display = Display.getDefault();  any help with this?
[13:27:50] <rcjsuen> Not familiar with that stuff I'm afraid.
[13:28:25] <hect> oki ;)
[13:30:50] <paulweb515> hect: SWT (just like swing) depends on a single Event Dispatch Thread (the UI thread)
[13:31:17] <hect> aha
[13:31:30] <paulweb515> hect: RCP apps and the IDE work because they run the SWT dispatch loop from their IApplication
[13:34:51] <hect> I can't use RCP
[13:37:13] <hect> this works with swing: SwingUtilities.invokeLater(new Runnable() {
[13:37:13] <hect>             public void run() {
[13:37:14] <hect>                 m_frame = new JFrame("Main application");
[13:37:14] <hect>                 setContent();
[13:37:14] <hect>             }
[13:37:14] <hect>         });
[13:40:05] *** JacobSingh has joined #eclipse
[13:40:13] <paulweb515> hect: what are you using, anyway?  Just an OSGI app?
[13:40:28] <hect> what do you mean?
[13:41:12] <paulweb515> You have a bundle ... so what is hosting it?  Your own RCP app?  The Eclipse IDE? an OSGI application?
[13:41:43] <hect> my own visual app
[13:41:55] <erdal> hect: you could start a new jvm (ugly, just a workaround)
[13:42:24] <erdal> and use some kind if IPC
[13:42:27] <paulweb515> hect: which is an RCP app
[13:42:28] <erdal> of
[13:42:44] <hect> paulweb515: I guess, yes ;9
[13:42:46] <hect> ;)
[13:43:06] <paulweb515> so why can't you launch SWT from your IApplication?
[13:43:26] <erdal> he is using knoplerfish, i guess this was the problem
[13:43:44] * paulweb515 grumbles
[13:43:46] <ralf_e> hect, i just tried this, http://pastie.org/735300 works perfectly for me
[13:43:53] <ralf_e> at least it does in Equinox :)
[13:43:57] <paulweb515> so an OSGi app then!
[13:44:11] <rcjsuen> ralf_e: You're on a Mac?
[13:44:22] <ralf_e> linux
[13:44:23] <hect> mmm let's see
[13:44:33] <ralf_e> but shouldn't make a difference, should it?
[13:44:46] <rcjsuen> ralf_e: Yes it does due to Mac specifics.
[13:45:02] <ralf_e> rcjsuen, how? what's different?
[13:45:21] <rcjsuen> ralf_e: http://dev.eclipse.org/mhonarc/lists/equinox-dev/msg02825.html
[13:45:41] <ralf_e> rcjsuen, argh :)
[13:45:41] <paulweb515> hect: to make SWT work you need one thread (in our apps it's the main one) running the display event loop:  while (!display.isDisposed()) { if (!display.readAndDispatch()) { display.sleep() } }
[13:46:31] <ralf_e> i guess for RCP apps some tricky magic goes on to execute the event loop in the main thread?
[13:46:44] *** nlc has joined #eclipse
[13:47:15] <paulweb515> ralf_e: specifically org.eclipse.osgi.service.runnable.ApplicationLauncher  :-)
[13:47:30] <hect> mmm
[13:47:45] <ralf_e> good to know, wasn't aware that something special is going on in that regard
[13:47:55] <paulweb515> ralf_e: well, on the mac
[13:48:13] *** laknath_ has joined #eclipse
[13:48:18] <ralf_e> paulweb515, even was hoping that you could run the workbench on plain osgi in a far, far away future :)
[13:49:33] <paulweb515> ralf_e: you can (just not on the Mac :-)
[13:49:53] <philk_> paulweb515: can I use the preference value saved by RegistryToggleState as enablement for another contribution? Basically I would like to show the other contribution only if the toggle state is true. That should work also after restarting the workbench
[13:51:14] <ralf_e> paulweb515, is there some bug for tracking this problem? would be too cool if this would be possible, even on the mac :)
[13:51:34] <ralf_e> paulweb515, just running swt from a plain osgi activator is fun in itself :)
[13:51:36] <rcjsuen> ralf_e: That would require intervention on Apple's part I believe.
[13:51:47] <paulweb515> philk_: only if you found a way to publish that to the eval service ... preferences aren't there by default
[13:52:31] <paulweb515> ralf_e: the mac is the most complicated platform to solve it on (i.e. it would be the last :-)  because of the UI thread must be the main thread problem
[13:52:36] <philk_> paulweb515: so suppose I have the toggle command in place... how would I modify the visibility of another contribution? I would guess by using a context?
[13:52:40] <ralf_e> rcjsuen, i guess there is no official/supported way to run code on the main thread in an osgi application :)
[13:53:15] <philk_> paulweb515: the problem is, the checkstate is persisted but the context is not re-activated upon workbench start, even if the toggle state is read back.
[13:53:32] <paulweb515> philk_: Tie the preference to a context (but you don't want to go hog wild with one context per preference) or write a source that exposes the preference to the IEvaluationService
[13:53:40] <rcjsuen> ralf_e: If you use the IApplication way that would work AFAIK. But that is an Equinox concept and not OSGi.
[13:54:09] <hect> paulweb515:  your example is not working for me under knopflerfish
[13:55:45] <paulweb515> hect: are you on a mac?
[13:55:54] <hect> i'm on win XP
[13:56:37] <philk_> paulweb515: my scenaria is that I want to have a toggle contribution that shows/hides another contribution. Since there is no way to get a specific contribution by ID and make it disappear (or make its isVisible() return false) i think the cleanest way would indeed be a property tester for preferences. A preferences source would then trigger the re-evaluation of every contribution that evaluates preferences property tester?
[13:57:02] <paulweb515> hect: I didn't give you an example ... just a statement.  One thread has to create the display and then run the event loop, and that thread will block as long as SWT is running
[13:57:18] <ralf_e> hect, you mean the pastie I posted? what happens?
[13:57:21] <paulweb515> hect: so in knopperfish, how are you going to pick the correct thread to run the SWT event loop?
[13:57:22] <hect> I see
[13:58:05] <paulweb515> hect: once you have the event loop running, any thread can use display.asyncExec(Runnable) to post SWT code to the UI thread (similar to invokeLater(*) for Swing)
[13:58:20] <njbartlett> Hmm if not running on a Mac then the code from ralf_e should work fine with any OSGi framework. hect, what is the error you get from it?
[13:59:23] <hect> Exception in thread "Thread-14" [stderr] java.lang.UnsatisfiedLinkError: no swt-win32-3555 or swt-win32 in swt.library.path, java.library.path or the jar file
[14:00:08] <paulweb515> hect: you need 2 .jars for SWT unless you get it as a separate project from the eclipse download page
[14:00:36] *** tr1gger has joined #eclipse
[14:10:28] *** keya has quit IRC
[14:10:49] <philk_> paulweb515: If I would not implement a source but just a propertytester for preferences, how would I make IEvaluationService re-evaluate all expressions that use this particular property tester?
[14:11:13] *** keya has joined #eclipse
[14:11:23] <philk_> paulweb515: the propertytester itself would register itself as a PreferenceChangeListener or so
[14:11:58] *** pnehrer has joined #eclipse
[14:15:00] <ralf_e> hect, do you have the swt fragment for win32 in your run config?
[14:15:19] <ralf_e> (not sure if some Equinox magic is going on to include the native libraries)
[14:17:04] <paulweb515> philk_: I wouldn't depend on your property tester to do that ... but anybody could register themselves as a listener on that preference and request a property re-evaluation
[14:17:28] *** njbartlett has quit IRC
[14:17:40] *** opossum_oisif has joined #eclipse
[14:18:57] *** amnesic has quit IRC
[14:19:05] *** amnesic has joined #eclipse
[14:19:52] *** amnesic has quit IRC
[14:19:58] <philk_> paulweb515: now the contribution i want to hide/show can be display lazy... so there would actually no code executed that the contribution could itself register as a preference listener
[14:23:02] *** Fragarach87 has joined #eclipse
[14:27:41] *** allisterb has quit IRC
[14:28:13] *** allisterb has joined #eclipse
[14:29:58] *** amnesic has joined #eclipse
[14:33:14] *** tangent3 has quit IRC
[14:34:11] *** Bass10 has joined #eclipse
[14:35:01] *** ramenmeal has joined #eclipse
[14:36:41] *** stevex-w has joined #eclipse
[14:37:08] <Echidna> what are command categories for
[14:37:39] <Echidna> i get warnings "!MESSAGE Commands should really have a category:" for those that use categoryId='org.eclipse.ui.category.dialogs'
[14:41:25] *** laknath_ has quit IRC
[14:42:36] *** laknath_ has joined #eclipse
[14:50:09] *** stevex-w has quit IRC
[14:50:55] *** stevex-w has joined #eclipse
[14:51:42] <paulweb515> Echidna: command categories show up in the Keys preference page
[14:56:01] *** TomTom has joined #eclipse
[14:57:22] <philk_> paulweb515: just one more question regarding the toggling... is there any example inside Eclipse itself where this is used?
[15:00:01] *** pschriner5427 has quit IRC
[15:01:57] <paulweb515> philk_: I don't believe so ... Automatic Build would be an example when it is finally converted from an action to a command
[15:02:46] <philk_> paulweb515: I will have to wait until this happens and now hack something together
[15:02:46] *** Leemp has quit IRC
[15:04:15] *** rhk has joined #eclipse
[15:06:50] *** kthomas_vh_ has joined #eclipse
[15:07:08] *** Carnage\ has joined #eclipse
[15:07:31] <philk_> when I want to update a workbench control from another thread... should I use a WorkbenchJob/UIJob for that or just Display.async()?
[15:10:40] <rcjsuen> generally i try to use the former
[15:11:44] <philk_> it seems that eGit is constantly scanning the repository... I will uninstall it until that has been fixed
[15:12:02] <philk_> rcjsuen: and whats the difference between WJ and UIJob?
[15:12:13] <rcjsuen> philk_: You can look at the implementation to find out ;)
[15:12:25] <rcjsuen> i think the main diff is the shouldRun() method override
[15:12:41] <philk_> rcjsuen: of course I could do that :) Yeah, the WJ checks for the workbench
[15:12:51] <rcjsuen> i usually use WJ
[15:12:59] <rcjsuen> better safe than sorry as i often like to say
[15:20:01] *** eyalw_ has joined #eclipse
[15:20:04] *** odin_ has quit IRC
[15:21:20] *** Evelynn has quit IRC
[15:22:30] *** kthomas_vh has quit IRC
[15:22:58] *** njbartlett has joined #eclipse
[15:23:23] *** volodya has quit IRC
[15:23:53] <philk_> rcjsuen: I need to constantly poll a USB devices power status. I would use a WJ for that. But what happens, if the user cancels the WJ in the UI? How would I restart it again?
[15:24:56] <philk_> njbartlett: say, in a DS component that consumes Listeners I would like to further filter the listeners I want to call... ComponentContext.locateServices does not give me the ability to specify a filter. So I guess I would have to resort to BC.getServiceReferences(filter)?
[15:24:58] <rhk> philk_: what's your polling rate?
[15:25:13] <philk_> rhk: the poll rate is user defined... 10 secs or so
[15:25:24] <rhk> ok, so not fast or anything
[15:25:26] <philk_> rhk: but the user should have to ability to stop the polling
[15:25:58] <philk_> rhk: no, batter status as well as memory status we do not need to update so often... what if we had to update in sec steps?
[15:26:42] <rhk> I have some devices I poll 100 times per second. I use my own thread and signal it
[15:26:47] <rhk> for start/stop
[15:27:11] <njbartlett> philk_: I think locateServices does allow you to filter, using the target attribute on the reference element
[15:27:23] <njbartlett> philk_: Or you can just use the Event Strategy instead of lookups
[15:27:38] *** elver has joined #eclipse
[15:28:04] <philk_> njbartlett: yes, but that would be a static filter... I need to adjust the filter during runtime... depending on the notifications properties
[15:28:23] <elver> Can anyone recommend a good CSV editing/viewing plugin for Eclipse?
[15:28:34] <njbartlett> philk_: Oh I see. Then you're going beyond the facilities provided by DS
[15:29:06] <philk_> njbartlett: I would rather not use the EventAdmin here, cause calling the listeners directly with an object is easier as deciphering the object into EventAdmin dictionaries
[15:30:25] <njbartlett> philk_: Yes but remember DS is not meant to support every possible use case... more like 80% of them. Dynamic filtering of bound services is outside that 80%. You will have to use the API instead.
[15:30:32] *** AhtiK has joined #eclipse
[15:31:30] <philk_> njbartlett: thats no problem. I will use the API, just thought I missed something
[15:31:42] <rcjsuen> philk_: when the user starts it again wouldn't you just spawn a new job
[15:32:48] <philk_> rcjsuen: using a command? That command would then have to be invisble when the job is running, and visible when it has been stopped...
[15:33:46] <njbartlett> philk_: I've fixed that issue in e2s with the unbind method. I'd already done it for the bind method but forgot the unbind. Doh!
[15:34:38] <rcjsuen> Well, I don't know how the user is supposed to start it. A job listener would be required for monitoring changes.
[15:35:36] <philk_> njbartlett: hmmm shouldn't the bind method be there always? Or could it be that you do not care about a service but reference it anway?
[15:37:22] <philk_> rcjsuen: for now I will just mark the job as not visible to the user :)
[15:37:54] *** bigmack83_ has quit IRC
[15:40:05] *** dpy has quit IRC
[15:41:41] *** erdal has left #eclipse
[15:43:46] *** charley has quit IRC
[15:44:42] *** krbarnes has joined #eclipse
[15:45:47] <philk_> njbartlett: thanks for the update on git
[15:46:22] <philk_> njbartlett: I asked that before... would you prefer status updates sent through EventAdmin or directly to listeners, using the WB pattern?
[15:46:25] <njbartlett> philk_: No problem, BTW feel free to fork and fix yourself when you find problems like this, I'm open to pull requests.
[15:46:49] <philk_> njbartlett: then I would first have to know how to fork and push in git.... will take some time to get used to it
[15:47:08] <njbartlett> philk_: Sure but Git is the future so better to get used to it in a small project now :-)
[15:47:19] *** guest123 has joined #eclipse
[15:47:24] <guest123> hello
[15:47:34] <guest123> i am having some troubles with eclipse
[15:47:44] <guest123> I cannot connect to internet from it
[15:47:53] <philk_> njbartlett: i know its the future.. tell this some of my clients... still using cvs and thinking about upgrading to svn next year
[15:47:56] <guest123> neither internet nor localhost
[15:47:59] <njbartlett> philk_: Whiteboard pattern and EventAdmin both have their place. The topic filtering functionality of EventAdmin is complicated to replicate in your own WB components, though.
[15:48:28] <njbartlett> philk_: Sheesh. Just tell them to skip over SVN
[15:48:30] <hect> ralf_e: I just took the example you sent me (swt + osgi) It doesn't work on eclipse or knopflerfish :(
[15:48:37] <guest123> the problem is also same in new instalation
[15:49:25] <njbartlett> hect: Is it still the DLL error?
[15:49:38] <guest123> i am using debian
[15:49:53] <hect> njbartlett: yeah, this one: http://www.eclipse.org/swt/faq.php#missingdll
[15:49:55] <njbartlett> guest123: You're going to have to explain what "cannot connect to the internet" could mean
[15:50:25] <philk_> njbartlett: now I am implementing this Battery Status watcher service... It has 1..n on EventHandler(target=(battery/*)) and therefore only gets instantiated when there is actually a listener that is interested in Battery status updates... now would you create more topics? like battery/LOW battery/CRITICAL battery/CHARGING battery/DISCHARGING
[15:50:36] <ralf_e> hect, check your run configuration
[15:50:41] <guest123> njbartlett: Operation failed with exception 'java.net.SocketException
[15:50:49] <guest123> whenever i try to connect
[15:50:54] <hect> ralf_e: where's that?
[15:51:04] <guest123> rse, svn, updates...
[15:51:06] <philk_> njbartlett: or would you rather have just one Topic for battery events... and filter on the properties?
[15:51:09] <ralf_e> hect, Run > Run Configurations
[15:51:27] <ralf_e> hect, here you can configure the bundles with which your bundle is started in the osgi container
[15:51:45] <rhk> guest123: are you running a firewall? are you behind a proxy?
[15:51:47] <hect> ralf_e: oh yeah, I see now
[15:52:23] <guest123> no and no
[15:52:26] <guest123> iptables are clean
[15:52:36] <ralf_e> hect, you should have org.eclipse.swt (because you have a dependency to it, I guess) and you also need org.eclipse.swt.*yourplatform* (which should be added automatically when you click "Add Required Bundles")
[15:53:38] <hect> where should those appear? under the bundles tab?
[15:53:48] <ralf_e> hect, yes
[15:54:10] *** Stefan has joined #eclipse
[15:54:16] *** Irakirashia has joined #eclipse
[15:54:19] <philk_> njbartlett: another design problem... I would like to have a base class for some of my DS that has an activate method and fetches some services from the context... but I would have to make sure, that each DS xml contains the refs to those services or the base class will not be able to locate them... That is very error prone... is there something in DS where you could say, services of this kind should always have those references
[15:54:19] <philk_> ? Is that what a service factory is for?
[15:54:22] <rhk> guest123: what jvm are you using?
[15:54:42] <guest123> can you explain what should i do? ;)
[15:54:51] <hect> ralf_e: it works!
[15:54:59] *** tom17bombadil has joined #eclipse
[15:55:12] <ralf_e> hect, :)
[15:55:17] <ralf_e> hect, on knopflerfish, too?
[15:55:25] <hect> let me try
[15:55:48] <ralf_e> keep in mind that this way of using swt will not work on mac os x
[15:55:59] <rhk> guest123: java -version
[15:56:10] <hect> ralf_e: why?
[15:56:33] <guest123> java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)
[15:57:20] <hect> ralf_e: I exported the bundle and run it into knopflerfish, same error: missing dll
[15:57:52] <ralf_e> hect, as paul mentioned before, on os x the display needs to be created on the main thread and cannot be created on a 2nd thread
[15:58:03] <ralf_e> there currently is no way to do that with plain osgi
[15:58:04] <hect> I see
[15:58:21] <hect> it doesn't need or have to execute on mac os, so that's not a problem
[15:58:47] *** dilton has joined #eclipse
[15:59:10] <ralf_e> the *win32* fragment adds a native library, I don't know how this is done internally and is supposed to work with Knopflerfish / plain osgi or if it's an Equinox feature
[15:59:24] <ralf_e> maybe somebody here knows?
[15:59:30] <guest123> rhk: any idea,
[15:59:31] <guest123> ?*
[15:59:49] <rhk> guest123: dunno. it's certainly odd.
[16:00:22] *** ekiczek has quit IRC
[16:00:23] <guest123> rhk: i agree
[16:00:33] <rhk> guest123: do you have anything configured in the eclipse proxy settings?
[16:00:49] <guest123> rhk: no
[16:01:41] <hect> where can I find the swt bundles that knopferfish is asking for?
[16:01:50] *** krbarnes has left #eclipse
[16:03:02] <paulweb515> hect: usually eclipse/plugins
[16:03:09] <hect> oki
[16:03:45] <paulweb515> hect: i.e. the bundle and fragment I would need from 3.5.1  to have SWT working are: org.eclipse.swt_3.5.1.v3555a.jar and org.eclipse.swt.gtk.linux.x86_3.5.1.v3555a.jar
[16:04:32] <guest123> rhk: no idea? :\
[16:04:53] <guest123> rhk: could it be because of java version?
[16:05:00] <rhk> guest123: do other java apps have any issues?
[16:05:19] <guest123> rhk: i am not sure if i have another java app
[16:05:42] <guest123> rhk: oh i do, wait a mom
[16:06:37] <hect> paulweb515: I could start the swt.3.5.1.jar bundle but I couldn't start the swt_win32 bundle
[16:07:02] <hect> Cannot start a fragment bundle
[16:07:04] <paulweb515> hect: the swt.win32 thing is a fragment, not a bundle
[16:07:09] <hect> cool
[16:07:26] <paulweb515> hect: assuming the system can see it, it should be available simply by starting the SWT bundle
[16:08:09] <guest123> rhk: weird... jDownloader also cannot connect
[16:08:46] <rhk> guest123: can you install a different version of java?
[16:09:19] <guest123> rhk: not sure, i've  it from repo and it has dependencies
[16:09:49] <rhk> guest123: what distro?
[16:10:09] <guest123> rhk: debian, sid
[16:10:41] *** balor has quit IRC
[16:10:47] <rhk> guest123: you might want to look on one of the debian forums to see if anyone else is having a problem like this.
[16:11:04] <rhk> guest123: also, maybe try asking in #debian
[16:11:33] <rhk> guest123: it doesn't seem like it's an eclipse-specific problem. Is this a new package of sun java?
[16:11:49] <rhk> guest123: I know I had issues updating a windows machine to the latest sun jvm
[16:12:28] *** njbartlett has quit IRC
[16:12:42] *** Carnage\ has quit IRC
[16:14:16] *** eyalw_ has quit IRC
[16:18:48] <rcjsuen> guest123: Some folks in #eclipse-linux might know something.
[16:18:56] <rcjsuen> if you got it from them repos
[16:19:21] <guest123> im trying to downgrade first
[16:21:09] <guest123> didnt help :/
[16:21:18] *** anli_ has joined #eclipse
[16:24:36] *** amnesic has quit IRC
[16:24:48] *** ramenmeal has quit IRC
[16:30:21] *** dilton has left #eclipse
[16:31:01] *** dilton has joined #eclipse
[16:36:25] *** volodya has joined #eclipse
[16:37:36] *** allisterb has quit IRC
[16:37:41] *** toulmean has joined #eclipse
[16:41:49] *** sledgeas has joined #eclipse
[16:42:29] *** guest123 has quit IRC
[16:42:41] *** LongBeach has quit IRC
[16:43:04] *** allisterb has joined #eclipse
[16:44:25] *** cyzie has quit IRC
[16:44:59] *** blue_asterisk has joined #eclipse
[16:47:17] *** conan has joined #eclipse
[16:49:23] *** njbartlett has joined #eclipse
[16:52:32] *** opossum_oisif has quit IRC
[16:53:28] *** dilton has left #eclipse
[16:53:32] *** dilton has joined #eclipse
[16:55:32] *** d_a_carver has joined #eclipse
[16:58:07] *** frog_ has joined #eclipse
[16:58:17] *** tr1gger_ has joined #eclipse
[16:58:18] *** sledgeas has quit IRC
[16:59:45] <philk_> njbartlett: whats recommend in an OSGi environment... to have some bigger complex bundles or many fine grained single task bundles?
[17:00:25] *** blue_asterisk has quit IRC
[17:02:58] *** |conan| has quit IRC
[17:03:36] *** tr1gger has quit IRC
[17:04:08] *** phoenixz has joined #eclipse
[17:04:50] <kottlett> hi! if there is a proprietary plug-in in my target platform, how do I associate the javadoc / set a plug-in location to the plugin?
[17:04:52] <njbartlett> philk_: That's up to you. There are pros and cons either way, you need to balance them according to your needs.
[17:05:19] <philk_> njbartlett: I constantly drag around big bundles here when I only want to deploy a small app
[17:06:38] <philk_> I just wanted to use FrameworkUtil.getBundle(getClass()) from within a workbench contribution and it seems that the Bundle is null. I remember I had to set a special Manifest entry to make this work
[17:06:58] *** dilton has left #eclipse
[17:07:00] *** dilton has joined #eclipse
[17:09:04] *** zabka has quit IRC
[17:09:57] *** codesmart has quit IRC
[17:10:37] *** ap73 has quit IRC
[17:10:37] *** tphgangster has quit IRC
[17:10:37] *** mcbulba_ has quit IRC
[17:10:37] *** FauxFaux has quit IRC
[17:10:37] *** Helheim has quit IRC
[17:10:37] *** ycy has quit IRC
[17:10:37] *** onre has quit IRC
[17:10:37] *** Infinito has quit IRC
[17:10:37] *** tokam-|-away has quit IRC
[17:10:38] *** Nurbs has quit IRC
[17:10:38] *** maxb has quit IRC
[17:10:38] *** felipe` has quit IRC
[17:10:38] *** paulweb515 has quit IRC
[17:10:38] *** lemmy has quit IRC
[17:10:39] *** mbana has quit IRC
[17:10:39] *** rcjsuen has quit IRC
[17:10:39] *** magnet has quit IRC
[17:10:39] *** Shown has quit IRC
[17:10:39] *** modernbob has quit IRC
[17:10:39] *** yann|work has quit IRC
[17:10:39] *** moqq has quit IRC
[17:10:40] *** BrianHV has quit IRC
[17:10:41] *** glima[AWAY] has quit IRC
[17:10:41] *** Arbalest has quit IRC
[17:10:41] *** philk_ has quit IRC
[17:10:41] *** Echidna has quit IRC
[17:10:42] *** tromey has quit IRC
[17:10:42] *** joe2371 has quit IRC
[17:10:42] *** peper has quit IRC
[17:10:42] *** njbartlett has quit IRC
[17:10:43] *** conan has quit IRC
[17:10:43] *** volodya has quit IRC
[17:10:43] *** tom17bombadil has quit IRC
[17:10:43] *** Irakirashia has quit IRC
[17:10:43] *** Stefan has quit IRC
[17:10:43] *** Bass10 has quit IRC
[17:10:43] *** keya has quit IRC
[17:10:43] *** nlc has quit IRC
[17:10:43] *** scorphus has quit IRC
[17:10:44] *** Xilent has quit IRC
[17:10:44] *** kensanata has quit IRC
[17:10:44] *** Afterlawl has quit IRC
[17:10:44] *** reid02 has quit IRC
[17:10:44] *** buggs has quit IRC
[17:10:44] *** loesh has quit IRC
[17:10:44] *** jenia has quit IRC
[17:10:45] *** lednerk has quit IRC
[17:10:45] *** rawblem has quit IRC
[17:10:45] *** allisterb has quit IRC
[17:10:45] *** dilton has quit IRC
[17:10:45] *** TomTom has quit IRC
[17:10:46] *** tolland has quit IRC
[17:10:46] *** z4z4 has quit IRC
[17:10:46] *** akurtakov has quit IRC
[17:10:46] *** SzymonB has quit IRC
[17:10:46] *** ZeekDaGeek has quit IRC
[17:10:46] *** therealpxc has quit IRC
[17:10:46] *** amitev has quit IRC
[17:10:46] *** ReneP has quit IRC
[17:10:46] *** karltk has quit IRC
[17:10:46] *** paulweb515_ has quit IRC
[17:10:46] *** orospakr has quit IRC
[17:10:46] *** uebera|| has quit IRC
[17:10:46] *** raboof has quit IRC
[17:10:47] *** haptiK has quit IRC
[17:10:47] *** context has quit IRC
[17:10:47] *** guyzmo has quit IRC
[17:10:47] *** nano- has quit IRC
[17:10:47] *** swente has quit IRC
[17:10:48] *** AhtiK has quit IRC
[17:10:48] *** deSilva has quit IRC
[17:10:48] *** sphenxes has quit IRC
[17:10:48] *** elver has quit IRC
[17:10:48] *** adante has quit IRC
[17:10:48] *** francis4 has quit IRC
[17:10:48] *** crib has quit IRC
[17:10:48] *** cantoma has quit IRC
[17:10:48] *** Aleph_One has quit IRC
[17:10:48] *** werdan7 has quit IRC
[17:10:49] *** d_a_carver has quit IRC
[17:10:49] *** laknath_ has quit IRC
[17:10:49] *** ldleworker has quit IRC
[17:10:49] *** protected_meta has quit IRC
[17:10:49] *** BearPerson has quit IRC
[17:10:50] *** Gussi has quit IRC
[17:10:50] *** stevex-w has quit IRC
[17:10:51] *** rhk has quit IRC
[17:10:51] *** JacobSingh has quit IRC
[17:10:51] *** ExElNeT has quit IRC
[17:10:51] *** Kudd has quit IRC
[17:10:51] *** alankila has quit IRC
[17:10:51] *** xore has quit IRC
[17:10:51] *** Milyardo has quit IRC
[17:10:51] *** debio264 has quit IRC
[17:10:51] *** ralf_e has quit IRC
[17:10:52] *** cmw72 has quit IRC
[17:10:52] *** Egelmex has quit IRC
[17:10:52] *** Verkel has quit IRC
[17:10:52] *** kex has quit IRC
[17:10:52] *** ronghail has quit IRC
[17:10:52] *** m0 has quit IRC
[17:10:52] *** dogmeat has quit IRC
[17:10:53] *** trac^ has quit IRC
[17:10:53] *** atpa8a has quit IRC
[17:10:53] *** jsemar has quit IRC
[17:10:53] *** reisi has quit IRC
[17:10:53] *** plediii has quit IRC
[17:10:53] *** Alberth has quit IRC
[17:10:53] *** evil_gordita has quit IRC
[17:10:54] *** mr_science has quit IRC
[17:10:54] *** b0c1 has quit IRC
[17:10:54] *** frog_ has quit IRC
[17:10:54] *** toulmean has quit IRC
[17:10:54] *** anli_ has quit IRC
[17:10:54] *** spawnyd has quit IRC
[17:10:54] *** xjih78 has quit IRC
[17:10:55] *** kottlett has quit IRC
[17:10:55] *** Pi^2 has quit IRC
[17:10:55] *** NoobFukaure has quit IRC
[17:10:55] *** Zenopus has quit IRC
[17:10:55] *** Doppp has quit IRC
[17:10:56] *** hooch has quit IRC
[17:10:56] *** kthomas_vh_ has quit IRC
[17:10:56] *** hect has quit IRC
[17:10:56] *** Pikachu_2015 has quit IRC
[17:10:56] *** SpektoM has quit IRC
[17:10:56] *** BigJ has quit IRC
[17:10:57] *** [-jon-] has quit IRC
[17:10:57] *** tr1gger_ has quit IRC
[17:10:57] *** Fragarach87 has quit IRC
[17:10:57] *** veyres has quit IRC
[17:10:58] *** Pikachu_2014 has quit IRC
[17:10:58] *** imeikas has quit IRC
[17:10:58] *** gambler has quit IRC
[17:11:59] *** ap73 has joined #eclipse
[17:11:59] *** tphgangster has joined #eclipse
[17:11:59] *** felipe` has joined #eclipse
[17:11:59] *** Nurbs has joined #eclipse
[17:11:59] *** onre has joined #eclipse
[17:11:59] *** Helheim has joined #eclipse
[17:11:59] *** maxb has joined #eclipse
[17:11:59] *** FauxFaux has joined #eclipse
[17:11:59] *** ycy has joined #eclipse
[17:11:59] *** tokam-|-away has joined #eclipse
[17:11:59] *** mcbulba_ has joined #eclipse
[17:11:59] *** paulweb515 has joined #eclipse
[17:11:59] *** Infinito has joined #eclipse
[17:13:35] *** tr1gger has joined #eclipse
[17:13:35] *** mbana has joined #eclipse
[17:13:35] *** rcjsuen has joined #eclipse
[17:13:35] *** magnet has joined #eclipse
[17:13:35] *** Shown has joined #eclipse
[17:13:35] *** modernbob has joined #eclipse
[17:13:35] *** yann|work has joined #eclipse
[17:13:35] *** lemmy has joined #eclipse
[17:13:35] *** moqq has joined #eclipse
[17:13:35] *** glima[AWAY] has joined #eclipse
[17:13:35] *** Arbalest has joined #eclipse
[17:13:35] *** BrianHV has joined #eclipse
[17:14:36] *** dilton has joined #eclipse
[17:14:36] *** tr1gger_ has joined #eclipse
[17:14:36] *** frog_ has joined #eclipse
[17:14:36] *** d_a_carver has joined #eclipse
[17:14:36] *** njbartlett has joined #eclipse
[17:14:36] *** conan has joined #eclipse
[17:14:36] *** allisterb has joined #eclipse
[17:14:36] *** toulmean has joined #eclipse
[17:14:36] *** volodya has joined #eclipse
[17:14:36] *** anli_ has joined #eclipse
[17:14:36] *** tom17bombadil has joined #eclipse
[17:14:36] *** Irakirashia has joined #eclipse
[17:14:36] *** Stefan has joined #eclipse
[17:14:36] *** AhtiK has joined #eclipse
[17:14:36] *** elver has joined #eclipse
[17:14:36] *** kthomas_vh_ has joined #eclipse
[17:14:36] *** rhk has joined #eclipse
[17:14:36] *** TomTom has joined #eclipse
[17:14:36] *** stevex-w has joined #eclipse
[17:14:36] *** laknath_ has joined #eclipse
[17:14:36] *** Bass10 has joined #eclipse
[17:14:36] *** Fragarach87 has joined #eclipse
[17:14:36] *** keya has joined #eclipse
[17:14:36] *** nlc has joined #eclipse
[17:14:36] *** JacobSingh has joined #eclipse
[17:14:36] *** deSilva has joined #eclipse
[17:14:36] *** ExElNeT has joined #eclipse
[17:14:36] *** tromey has joined #eclipse
[17:14:36] *** Echidna has joined #eclipse
[17:14:36] *** peper has joined #eclipse
[17:14:36] *** joe2371 has joined #eclipse
[17:14:36] *** philk_ has joined #eclipse
[17:14:36] *** hect has joined #eclipse
[17:14:36] *** tolland has joined #eclipse
[17:14:36] *** scorphus has joined #eclipse
[17:14:36] *** Kudd has joined #eclipse
[17:14:36] *** ldleworker has joined #eclipse
[17:14:36] *** veyres has joined #eclipse
[17:14:36] *** Pikachu_2015 has joined #eclipse
[17:14:36] *** spawnyd has joined #eclipse
[17:14:36] *** sphenxes has joined #eclipse
[17:14:36] *** z4z4 has joined #eclipse
[17:14:36] *** akurtakov has joined #eclipse
[17:14:36] *** Xilent has joined #eclipse
[17:14:36] *** SzymonB has joined #eclipse
[17:14:36] *** kensanata has joined #eclipse
[17:14:36] *** xjih78 has joined #eclipse
[17:14:36] *** alankila has joined #eclipse
[17:14:36] *** SpektoM has joined #eclipse
[17:14:36] *** hooch has joined #eclipse
[17:14:37] *** BigJ has joined #eclipse
[17:14:37] *** kottlett has joined #eclipse
[17:14:37] *** therealpxc has joined #eclipse
[17:14:37] *** ZeekDaGeek has joined #eclipse
[17:14:37] *** Afterlawl has joined #eclipse
[17:14:37] *** adante has joined #eclipse
[17:14:37] *** Pi^2 has joined #eclipse
[17:14:37] *** amitev has joined #eclipse
[17:14:37] *** francis4 has joined #eclipse
[17:14:37] *** reid02 has joined #eclipse
[17:14:37] *** xore has joined #eclipse
[17:14:37] *** debio264 has joined #eclipse
[17:14:37] *** Milyardo has joined #eclipse
[17:14:37] *** ralf_e has joined #eclipse
[17:14:37] *** protected_meta has joined #eclipse
[17:14:37] *** Pikachu_2014 has joined #eclipse
[17:14:37] *** ReneP has joined #eclipse
[17:14:37] *** BearPerson has joined #eclipse
[17:14:37] *** buggs has joined #eclipse
[17:14:37] *** loesh has joined #eclipse
[17:14:37] *** lednerk has joined #eclipse
[17:14:37] *** jenia has joined #eclipse
[17:14:37] *** rawblem has joined #eclipse
[17:14:37] *** crib has joined #eclipse
[17:14:37] *** cantoma has joined #eclipse
[17:14:37] *** Gussi has joined #eclipse
[17:14:37] *** cmw72 has joined #eclipse
[17:14:37] *** Aleph_One has joined #eclipse
[17:14:37] *** NoobFukaure has joined #eclipse
[17:14:37] *** imeikas has joined #eclipse
[17:14:37] *** nano- has joined #eclipse
[17:14:37] *** paulweb515_ has joined #eclipse
[17:14:37] *** karltk has joined #eclipse
[17:14:37] *** guyzmo has joined #eclipse
[17:14:37] *** uebera|| has joined #eclipse
[17:14:37] *** haptiK has joined #eclipse
[17:14:37] *** orospakr has joined #eclipse
[17:14:37] *** context has joined #eclipse
[17:14:37] *** swente has joined #eclipse
[17:14:37] *** raboof has joined #eclipse
[17:14:37] *** werdan7 has joined #eclipse
[17:14:37] *** gambler has joined #eclipse
[17:14:37] *** [-jon-] has joined #eclipse
[17:14:37] *** reisi has joined #eclipse
[17:14:37] *** Alberth has joined #eclipse
[17:14:37] *** plediii has joined #eclipse
[17:14:37] *** atpa8a has joined #eclipse
[17:14:37] *** Doppp has joined #eclipse
[17:14:37] *** evil_gordita has joined #eclipse
[17:14:37] *** Zenopus has joined #eclipse
[17:14:37] *** jsemar has joined #eclipse
[17:14:37] *** Verkel has joined #eclipse
[17:14:37] *** b0c1 has joined #eclipse
[17:14:37] *** trac^ has joined #eclipse
[17:14:37] *** ronghail has joined #eclipse
[17:14:37] *** Egelmex has joined #eclipse
[17:14:37] *** kex has joined #eclipse
[17:14:37] *** dogmeat has joined #eclipse
[17:14:37] *** m0 has joined #eclipse
[17:14:37] *** mr_science has joined #eclipse
[17:15:45] *** auser has joined #eclipse
[17:18:07] *** hdave has joined #eclipse
[17:18:59] *** pnehrer has quit IRC
[17:21:09] *** SpektoM has quit IRC
[17:21:15] <hdave> Is there an eclipse plugin for Spring?  I've been going around in circles on the web trying to find the elusive "Spring IDE"....
[17:21:35] <hdave> Many broken links from the Eclipse plugin website
[17:23:54] *** deSilva has quit IRC
[17:24:11] <ralf_e> hdave, there is the free but non open source sts plugin, the open source variant is called "spring ide": http://twitter.com/cdupuis/status/5745793325
[17:24:32] <ralf_e> hdave, it's a bit hard to find the download link indeed :)
[17:25:12] <hdave> ralf_e: thanks for the help, which is better do you think: sts or spring ide
[17:25:45] <ralf_e> hdave, depends if you prefer using open source tooling :) sts has more features
[17:25:55] <ralf_e> i'm happy with spring ide so far
[17:26:01] *** ekiczek has joined #eclipse
[17:26:04] <ralf_e> it comes with an editor for the spring beans xml files with class name completion
[17:26:08] <ralf_e> which is everything i care about
[17:26:12] <hdave> ralf_e: nice
[17:26:28] <ralf_e> but they might have superduper nice features in sts, i didn't really look
[17:26:30] <hdave> ralf_e: i always prefer open source ;-)
[17:26:58] <hdave> ralf_e: i'll check them both out...if I see anything in STS that blows me away, i'll report back....thanks
[17:27:52] *** tr1gger_ has quit IRC
[17:30:00] *** allisterb_ has joined #eclipse
[17:31:53] *** njbartlett has quit IRC
[17:38:32] *** toulmean has quit IRC
[17:39:57] *** TomTom has quit IRC
[17:41:54] *** kaje has joined #eclipse
[17:42:24] <philk_> paulweb515: when I have a label control on a toolbar and change its text, I call getParent().update(false) and set my internal dirty flag, so the manager ask me again for the site of my control.... which control method does it call to find out the controls size?
[17:43:07] <kaje> I've created an RCP app that uses GEF to create a directed graph very similar to the shapes example. I'd like to put labels inside the shapes now. Can someone give me a nudge in the direction of how people do that? My google searches haven't turned much up...
[17:44:03] *** notk0 has joined #eclipse
[17:44:15] <notk0> hello, what is the "syntax" of TODO?
[17:44:17] <notk0> inside commends?
[17:44:21] <notk0> comments*
[17:44:50] <d_a_carver> notkO: // TODO:
[17:45:00] <notk0> ok ty
[17:45:15] *** odin_ has joined #eclipse
[17:45:20] <d_a_carver> notk0: you can set that up in your eclipse preferences as well for the java editor and xml editors I believe
[17:46:39] *** allisterb has quit IRC
[17:47:53] *** keya has quit IRC
[17:48:41] <kaje> nevermind, I think I can figure it out from the Database Schema Editor example
[17:50:54] <mbana> strange question but would it be possible to load the osgi bundles, especially the JDT ones with felix?
[17:51:17] <mbana> and when does the RCP and OSGI come out??? ;) i've been asking forever
[17:51:50] *** notk0 has left #eclipse
[17:53:29] *** Resistance0 has joined #eclipse
[17:54:28] *** Theravadan has joined #eclipse
[17:54:52] <paulweb515> philk_: org.eclipse.jface.action.ControlContribution.computeWidth(Control)
[17:54:59] <paulweb515> it looks like it is asking computeSite(*)
[17:57:09] *** stijnbe has joined #eclipse
[17:57:10] <kaje> How can I run() a registered action? It isn't in the menus or the coolbar...
[17:57:13] *** Kudd_ has joined #eclipse
[18:02:37] *** auser has quit IRC
[18:04:11] *** toulmean has joined #eclipse
[18:04:45] *** finalbeta has joined #eclipse
[18:05:15] <rcjsuen> mbana: jeff blogged about both books recently i think
[18:07:05] *** stijnbe has quit IRC
[18:08:15] *** Xilent has quit IRC
[18:08:16] *** ppr has joined #eclipse
[18:08:55] *** peper has quit IRC
[18:09:00] *** frog_ has quit IRC
[18:09:06] *** deSilva has joined #eclipse
[18:09:13] *** zabka has joined #eclipse
[18:10:25] *** z4z4 has quit IRC
[18:11:41] <ralf_e> I saw that some other Java IDE shows the keyboard hotkey for 1.2 seconds if you invoke a command using the menu (helpful to learn the quicker hotkeys just by using the features). Wondered if Eclipse has such a feature as well that just needs to be turned on?
[18:12:04] *** Kudd has quit IRC
[18:14:03] <paulweb515> ralf_e: no ... we only offer key assist for CTRL+SHIFT+L or if you start a multi-keystroke binding (like ALT+SHIFT+Q )
[18:14:17] *** SzymonB has quit IRC
[18:14:21] <paulweb515> kaje: registered action?
[18:15:21] *** Resistance0 has quit IRC
[18:15:21] *** Resistance7 has joined #eclipse
[18:15:25] *** leitaox has joined #eclipse
[18:16:39] <ralf_e> paulweb515, hmm, I'm wondering if it would be too bold to add such a feature :)
[18:17:09] *** kensanata has quit IRC
[18:17:47] *** odin_ has quit IRC
[18:17:47] *** philk_ has quit IRC
[18:17:47] *** Echidna has quit IRC
[18:17:48] *** joe2371 has quit IRC
[18:17:48] *** tromey has quit IRC
[18:18:19] *** leitaox has quit IRC
[18:18:31] *** deSilva has quit IRC
[18:18:32] *** LongBeach has joined #eclipse
[18:18:44] <paulweb515> while I have no interest in it :-) it might be possible to do ... org.eclipse.jface.action.ExternalActionManager.CommandCallback.preExecute(IAction, Event)
[18:19:19] *** phoenixz has quit IRC
[18:19:41] <paulweb515> ActionContributionItems call back into this code before they run() an action
[18:20:38] <ralf_e> paulweb515, cool, thanks, will try to write a plug-in :)
[18:22:12] <paulweb515> ralf_e: you could always try slapping it in the status line (when you type ALT+SHIFT+Q it shows up in the status line before the key assist dialog pops up)
[18:22:34] *** Armon has joined #eclipse
[18:23:10] <paulweb515> ralf_e: that's done in org.eclipse.ui.internal.keys.KeyBindingState.updateStatusLines()
[18:23:59] <m0> Hello, how do I get the default update sites? The 64bit Eclipse version doesn't have any default update sites
[18:24:08] <m0> I tried running Eclipse 32bit, and it doesn't work.
[18:24:56] <m0> http://dl.dropbox.com/u/1801758/EclipseError.png
[18:25:29] <m0> I have Java 64bit installed, and the 64bit Eclipse works fine but it ships with no default update sites.
[18:26:14] *** |conan| has joined #eclipse
[18:26:18] <Armon> Hi, is there a keyboard shortcut to move the carret behind the next closing tag/bracket? to skip the closing tag that auto-complete adds
[18:27:03] *** yann|work has quit IRC
[18:27:50] <hect> guys, I'm writting a graphic application with osgi+swt. There will be a main app, where some functionality will be added with other bundles. These bundles also contain the GUI design
[18:28:30] *** irbull has joined #eclipse
[18:28:34] <hect> I'm having trouble to write this using SWT, since every component requires a parent component.
[18:29:05] <paulweb515> hect: Shell is the topmost frame, and its parent is Display
[18:29:22] <hect> So there's the host application bundle A, which draws the main window. Then this bundle calls bundle B, which will draw more stuff
[18:30:04] <kaje> paulweb515: Sorry, I register the action with the ActionBarAdvisor
[18:30:14] <m0> I always thought Java runs in any architecture :(
[18:30:25] <paulweb515> kaje: but don't add it to a toolbar or menu?
[18:30:47] <hect> when B draws stuff, new Composite(parent, style), I tried to send the parent as a paramenter from A to B, but it doesn't work
[18:30:47] <paulweb515> hect: the interface that allows A to call B will have to pass in a parent of some kind
[18:31:01] <rcjsuen> m0: I've only heard of the "no update site" problem on Linux.
[18:31:04] <paulweb515> hect: oh, how are you sending it?
[18:31:16] <m0> I am running Windos 7 64bit
[18:31:19] <kaje> paulweb515: Yes, I'd like it to fire once the window opens, I was going to put it in the postWindowOpen method in the WorkbenchWindowAdvisor, but I don't know how to get a hold of the action...
[18:31:25] *** deSilva has joined #eclipse
[18:31:29] <rcjsuen> m0: as to your 32-bit problem, I will guess it's because it's runnin the 32-bit eclipse with a 64-bit VM
[18:31:33] <hect> B is a service, it implements an interface: draw(parent)
[18:31:36] <hdave> ralf_e: apparently spring sts requires spring ide and add extensions regarding cloud computing, vmware, tutorial authoring, and grails
[18:31:43] <kaje> Maybe I should just dispense with the action and make it a method in my WorkbenchWindowAdvisor...
[18:32:02] <paulweb515> hect: so A has created a Shell(display, SWT.TRIM)?
[18:32:03] <hect> paulweb515: have you done this before?
[18:32:12] <m0> rcjsuen: I thought Java doesn't matter which architecture you run it in
[18:32:18] <hect> paulweb515: yes
[18:32:30] <rcjsuen> m0: The Eclipse workbench has native code.
[18:32:32] <paulweb515> hect: I've done SWT and I'm familiar with the restrictions OSGi places on per-bundle communication
[18:32:38] <m0> rcjsuen: Oh, I see
[18:33:04] <m0> Aha, I downloaded the new Eclipse from the site (64bit) and it has the update sites.
[18:33:08] <paulweb515> hect: so then what happens when you get the B service and call B.draw(shell) ?
[18:34:11] <hect> mmmm
[18:34:50] <paulweb515> or Composite c1 = new Composite(shell, SWT.NONE): B.draw(c1) ... whichever
[18:35:20] *** kthomas has joined #eclipse
[18:36:37] *** kartben has joined #eclipse
[18:37:27] <hect> paulweb515: right now, I can't find the example that I wrote, but I remember it used to crash
[18:37:41] <hect> you think it should work?
[18:37:41] *** conan has quit IRC
[18:38:17] *** xxen has joined #eclipse
[18:39:30] *** jlgosse has joined #eclipse
[18:40:28] <paulweb515> hect: I thought ralf_e had provide a generic example that worked on knopperfish for firing up SWT ... were you able to get that to work?
[18:41:26] <hect> paulweb515:  I can get a basic example to work. What I can't get to work is to draw the user interface from more than 1 bundle
[18:42:06] *** TomTom has joined #eclipse
[18:42:20] *** Core-Dump has joined #eclipse
[18:42:45] *** BrianHV_ has joined #eclipse
[18:43:02] <paulweb515> hect: as long as bundle B also imports the SWT packages (or requires the bundle) it's probably not a classpath problem
[18:43:28] <paulweb515> hect: Is bundle A on the UI thread when it gets service B and calls out to it?  Was it crashing with an error?
[18:43:56] <rcjsuen> good question, the exact problem is not known at the moment, besides "but it doesn't work"
[18:44:26] *** Fragarach87 has quit IRC
[18:44:49] <hect> I also would like to keep bundle A loosely coupled with B, so A doesn't know the details of what B is drawing/doing
[18:44:57] <hect> one sec and I'll write the code...
[18:45:49] <ralf_e> paulweb515, this was the example snippet: http://pastie.org/735300 (but i didn't test on knopflerfish, not sure if the native library is supposed to work in any container or if Equinox magic is going on here)
[18:46:26] <hect> the problem I'm talking about now is different from the one before
[18:51:32] *** philk_ has joined #eclipse
[18:51:32] *** odin_ has joined #eclipse
[18:51:32] *** joe2371 has joined #eclipse
[18:51:32] *** Echidna has joined #eclipse
[18:51:32] *** tromey has joined #eclipse
[18:51:51] *** xxen has quit IRC
[18:51:56] *** zabka has quit IRC
[18:52:08] *** kthomas_vh_ has quit IRC
[18:53:49] *** Fragarach87 has joined #eclipse
[18:55:00] *** BrianHV has quit IRC
[18:56:10] *** BrianHV_ is now known as BrianHV
[18:56:14] <philk_> paulweb515: it seems that my computeWidth is never called. It always calls the base classes...?
[18:56:26] <jlgosse> what's the best way to make a shell be... un-resizeable
[18:56:50] <rcjsuen> jlgosse: dialog_trim or something, there's a style bit to prevent
[18:57:07] <philk_> paulweb515: I am extending WorkbenchWindowControlContribution but the contributionmanager is calling ControlContribution.computeWidth.... really strange
[18:57:24] <rcjsuen> rather, i should say
[18:57:32] <rcjsuen> jlgosse: the presence (or absence) of SWT.RESIZE dictates it
[18:57:33] *** volodya has quit IRC
[18:58:14] <philk_> paulweb515: also it seems that if there is no image / text set in my label control, the computeWidth calculates a too small size, even when I call contributionManager.update(false) after setting a new image later on...
[18:58:15] *** njbartlett has joined #eclipse
[18:58:38] <paulweb515> philk_: that might be a bug in the control contribution proxy code?
[18:59:00] <philk_> paulweb515: I guess so... you changed something there lately?
[18:59:16] <paulweb515> philk_: does your MenuAdditionCacheEntry create a org.eclipse.ui.internal.menus.DynamicToolBarContributionItem
[18:59:52] <paulweb515> philk_: it looks like that doesn't delegate to the proper computeWidth
[19:00:01] <philk_> paulweb515: how can I see that? You might wanna TeamViewer directly on my system if you have time
[19:00:05] *** magnet__ has joined #eclipse
[19:00:44] *** toulmean has quit IRC
[19:01:05] *** magnet__ is now known as magnet_
[19:01:14] *** ppr is now known as peper
[19:01:32] *** Armon_2 has joined #eclipse
[19:02:15] *** toulmean has joined #eclipse
[19:02:18] <philk_> paulweb515: I will have to check that tomorrow
[19:03:26] <philk_> paulweb515: you are right...
[19:03:51] <philk_> paulweb515: stacktrace... http://pastebin.com/m336ab36b
[19:03:52] *** tphgangster has quit IRC
[19:04:13] <philk_> paulweb515: wrong delegation... DynamicToolBarContributionItem is called and not the real control.
[19:04:28] *** phillipsm has joined #eclipse
[19:04:29] *** JacobSingh has quit IRC
[19:04:34] <philk_> paulweb515: can you please file a bug for that yourself? I need to hurry and might forget it... I think you can quickly fix it
[19:05:22] <phillipsm> has anyone had success getting autocompletion to work with pydev and django? ive added all the folders in /usr/lib/pymodules/python2.6/django/ to my PYTHONPATH and it still won't autocomplete!!!
[19:09:15] *** Kudd_ has quit IRC
[19:10:06] *** jlgosse has quit IRC
[19:10:29] <paulweb515> philk_: sure, I file one
[19:11:24] *** Armon has quit IRC
[19:13:33] <paulweb515> philk_: ~297375
[19:13:35] <Arbalest> Bug 297375 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=297375 - Platform / UI / 3.6 - PC / Linux - NEW / normal / - Assignee: platform-ui-triaged - [Contributions] DynamicToolBarContributionItem needs to proxy more methods
[19:13:53] *** kartben has quit IRC
[19:16:33] *** ipatrol has joined #eclipse
[19:16:43] <ipatrol> How do I install a plugin?
[19:17:03] *** tom17bombadil has quit IRC
[19:17:47] <rcjsuen> ipatrol: Did you look under the 'Help' menu?
[19:18:49] <ipatrol> Yes, but I haven't found any clear directions
[19:19:07] <ipatrol> Just what appears to be long technecal ramblings
[19:19:18] <rcjsuen> In my 'Help' menu I have a 'Install New Software...' option.
[19:19:41] <ipatrol> k, then what?
[19:20:15] <phillipsm> rcjsuen: then you need to add the repo with the plugin you want to get so it can find it
[19:20:29] <ipatrol> I have no clue where the repo for pydev is
[19:20:46] <rcjsuen> I presume it is on their website somewhere...at least, I would hope.
[19:20:48] <phillipsm> http://pydev.org/updates
[19:21:15] <phillipsm> ipatrol: did you try searching for how to install pydev in eclipse?
[19:21:58] <ipatrol> got it, thx
[19:23:25] <phillipsm> #kubuntu-offtopic
[19:23:30] *** phillipsm has left #eclipse
[19:24:41] *** jlgosse has joined #eclipse
[19:28:00] <jlgosse> Any reason in particular why ScrolledComposite wouldn't actually scroll, and would instead grow to match its contents? I'm using a FillLayout for the ScrolledComposite (which is in a 3x1 grid), and inside of the ScrolledComposite I have a Composite with a vertical row layout
[19:28:39] <jlgosse> http://pastebin.org/62813 for a snippet
[19:29:47] <ipatrol> Pydev won't install, some error
[19:30:26] *** hect has quit IRC
[19:31:09] <ralf_e> jlgosse, see http://www.eclipse.org/swt/snippets/#scrolledcomposite for examples how to use ScrolledComposite
[19:32:38] <jlgosse> ralf_e: Seen them all, hasn't helped at all. I wouldn't ask otherwise
[19:33:29] <ralf_e> jlgosse, imo the scrolledcomposite itself is not supposed to have a layout
[19:33:33] <ralf_e> but i'm not sure
[19:33:56] <ralf_e> last usage of that class is a bit far in the past
[19:33:58] <rcjsuen> SC is one of the wildest beasts to tame in SWT imo.
[19:34:05] <jlgosse> ralf_e: I'll try that. Didn't really try.
[19:34:08] <rcjsuen> and don't look at me, I haven't tamed it yet ;)
[19:34:25] <jlgosse> rcjsuen: Any alternatives without resorting to JFace?
[19:34:35] <toulmean> ExpandableComposite brings joy.
[19:34:38] <rcjsuen> I'm not even sure if JFace would help.
[19:35:02] <toulmean> oops.
[19:35:04] <rcjsuen> I guess middleColumnScroller.setMinSize(middleColumnScroller.computeSize(SWT.DEFAULT, SWT.DEFAULT)); is causing problems?
[19:35:09] *** Fragarach87 has quit IRC
[19:35:21] <rcjsuen> ipatrol: Was there more to your story?
[19:35:36] <jlgosse> toulmean: You're suggesting that? I will take a look.
[19:35:44] <jlgosse> ralf_e: I tried removing the layout, it didn't change anything
[19:35:53] <toulmean> jlgosse: no, I'm still in the middle of my first coffee.
[19:35:55] <jlgosse> rcjsuen: Maybe, I took it out and everything broke
[19:36:12] <rcjsuen> Did you print the Point to see what's the size anyway?
[19:36:17] <toulmean> jlgosse: I would ask an explicit layout on the parent of your ScrolledComposite
[19:36:20] <rcjsuen> EC is in Forms anyway.
[19:36:32] <toulmean> jlgosse: and I would also not use FillLayout. Use TableWrapLayout
[19:37:55] *** Fragarach87 has joined #eclipse
[19:38:04] <jlgosse> toulmean: The parent of the scrolledcomposite is the shell, with a GridLayout
[19:38:33] <toulmean> jlgosse: set the client in your ScrolledComposite ?
[19:39:36] <jlgosse> toulmean: I set the content, if that's what you mean
[19:39:49] <toulmean> jlgosse: I think that's what I mean yes.
[19:39:57] *** philk_ has quit IRC
[19:39:58] <toulmean> the content should be a composite
[19:40:02] *** amnesic has joined #eclipse
[19:40:02] <toulmean> with a layout.
[19:40:15] <toulmean> the content should have your child widget.
[19:40:17] *** philk_ has joined #eclipse
[19:41:50] *** Aleph_One has quit IRC
[19:41:50] <jlgosse> toulmean: I have done all of that. The child (content) is a composite with a vertical row layout
[19:43:33] *** andy has joined #eclipse
[19:43:59] *** synx` has joined #eclipse
[19:45:38] *** ipatrol has quit IRC
[19:46:14] *** fixl has joined #eclipse
[19:47:02] <toulmean> jlgosse: here is what I do in the expansion listener.
[19:47:25] <toulmean> jlgosse: getSplash().setRedraw(false);
[19:47:26] <toulmean> getSplash().layout(true);
[19:47:26] <toulmean>                 getSplash().pack();
[19:47:27] <toulmean>                 getSplash().setRedraw(true);
[19:47:34] <toulmean> replace getSplash() by your shell.
[19:47:36] <toulmean> good luck.
[19:48:42] <juli> I suffered ExpandableComposite
[19:48:57] <jlgosse> juli: What did you do
[19:49:09] <juli> we ended replacing it with something else
[19:49:36] <juli> at some point pack() I think it was tht function.. was veeery slow
[19:50:24] <juli> in a scrolled composite with 10 or more expandable expanding one, or adding a new exp to the "list" was slow
[19:50:57] <juli> I moved it out of the forms package, I hacked it, but then it still had some problems
[19:51:14] <d_a_carver> toulmean: there is just something icky about methods like setRedraw(boolean), prefer items like enableRedraw(), disableRedraw().  I know not your code.
[19:51:40] <toulmean> d_a_carver: is it exactly the same thing ?
[19:51:58] <d_a_carver> toulmean: yes, but when reading code, it is clearer what the intent is.
[19:52:11] <toulmean> d_a_carver: ah
[19:52:24] <toulmean> d_a_carver: it's like the people who don't like to use String#contains()
[19:52:40] <toulmean> d_a_carver: and rather keep on using String#indexOf() == -1
[19:53:07] <d_a_carver> I prefer string contains...I always have to remember what the freaking -1 means.
[19:53:31] <toulmean> d_a_carver: same here. OK for enable/disable I just ignored that API/.
[19:53:38] <toulmean> d_a_carver: I'll use it going forward.
[19:54:20] *** TomTom has quit IRC
[19:55:00] <d_a_carver> toulmean: yeah, I don't even know if enableRedraw() disableRedraw are even real methods.  I see alot of methods that accept booleans.
[19:55:15] *** sama has quit IRC
[19:56:37] *** ap73 has quit IRC
[19:56:40] <rcjsuen> well, tto be fair contains was added in Java 5 ;p
[19:57:23] * toulmean is happy to make sure his code compiles in cobol too
[19:57:32] <toulmean> ;0
[19:57:41] *** erdal has joined #eclipse
[19:57:44] <toulmean> ;P more exactly
[19:58:10] <d_a_carver> I think I still have some COBOL brain cells left I can dust off if necessary.
[19:58:36] <toulmean> d_a_carver: no no
[19:58:45] <toulmean> d_a_carver: no need for lobotomy.
[20:01:20] <d_a_carver> nah just need electric shock to wake those brain cells up. :)
[20:03:02] <toulmean> :)
[20:04:07] *** Pikachu_2015 has quit IRC
[20:06:46] *** ExElNeT has quit IRC
[20:08:44] *** pingveno has joined #eclipse
[20:13:29] *** scorphus has quit IRC
[20:13:30] <Armon_2> Hi, is there a keyboard shortcut to move the carret behind the next closing tag/bracket? to skip the closing tag that auto-complete adds
[20:15:18] <paulweb515> Armon_2: I just hit TAB or END until I get where I want
[20:16:15] <Armon_2> paulweb515: aha! END seems to be doing the trick. brilliant thank you!
[20:16:37] <rcjsuen> speaking of which, I just realized my SDK no longers highlights brackets
[20:16:38] <rcjsuen>  @_@
[20:16:38] *** erdal has quit IRC
[20:16:38] *** jlgosse has quit IRC
[20:16:38] *** stevex-w has quit IRC
[20:16:52] <rcjsuen> altho it's ticked in the prefs
[20:17:11] <paulweb515> rcjsuen: maybe your color is "white" :-)
[20:17:18] <rcjsuen> o nm here we go
[20:17:44] <rcjsuen> almost had one o them heart atks
[20:18:12] <paulweb515> rcjsuen: you have to be using Eclipse for it to  work ... not Notepad
[20:18:13] *** jsemar has quit IRC
[20:18:15] * paulweb515 snickers
[20:18:32] *** jsemar has joined #eclipse
[20:20:19] *** Sohakes has joined #eclipse
[20:21:10] *** Sohakes has quit IRC
[20:25:53] *** Luyang has joined #eclipse
[20:26:08] <Luyang> Hi all. How can I use the Ant perspective without having to switch to the build.xml file??
[20:26:29] <Luyang> It always seems to try and parse the Java file in focus
[20:26:50] <Luyang> but I don't wanna have to switch back and forth between java and build.xml
[20:28:13] *** amnesic has quit IRC
[20:30:19] *** Arnos has joined #eclipse
[20:30:20] <Luyang> can somebody help me
[20:30:40] <toulmean> Luyang: ~ask
[20:30:40] <Arbalest> If you have a question, just ask, don't ask if you can ask a question. Skip the "meta-questions" like asking whether anyone uses X also as a precursor to check whether anyone can help you with a problem you have with X. Just ask the real question you have about X.
[20:31:34] <Luyang> Arbalest: I've already asked the question
[20:31:48] *** tangent3 has joined #eclipse
[20:31:49] <Luyang> [20:27] <Luyang> It always seems to try and parse the Java file in focus
[20:32:18] <Luyang> oh, before that I wrote: [20:27] <Luyang> Hi all. How can I use the Ant perspective without having to switch to the build.xml file??
[20:32:29] <Luyang> Arbalest: do you have the answer sir?
[20:33:13] <toulmean> Luyang: you are talking to the IRC bot, he won't have the answer.
[20:33:21] *** bigmack83 has joined #eclipse
[20:33:34] <toulmean> Luyang: but usually switching perspective is just a matter of going to Window> Switch perspective
[20:33:44] <Luyang> toulmean: oh :)
[20:33:46] <Arnos> Is there a shortcut for System.out.println(); ?
[20:34:29] *** erdal has joined #eclipse
[20:34:29] *** stevex-w has joined #eclipse
[20:34:39] <Luyang> toulmean: well, I have multiple documents open in the editor area and I have the ant perspective to the right... but when I double click an ant target when a Java file is in focus in the editor I get an error that the beginning of the ant XML is wrong
[20:34:39] <toulmean> Arnos: sysout then hit Ctrl+Space
[20:34:54] <Luyang> but I want it to remember which build.xml file I used to add in the Ant view
[20:35:01] *** ExElNeT has joined #eclipse
[20:35:03] <Arnos> toulmean: Thanks
[20:35:27] <Luyang> That's some sweet AI for toulmean
[20:35:30] <Arnos> toulmean: Is there a list of those shortcuts somewhere?
[20:35:54] <toulmean> Arnos: yep, in preferences, in templates I think. You can create your own.
[20:36:03] <toulmean> Luyang: not sure what you're trying to do.
[20:37:30] <Luyang> toulmean: I open the Ant view. I add the build.xml file in the root of the project. Then I open a few Java files. Then I wanna execute an Ant target by double clicking its name in the Ant view. Then I get error because it tries to parse the Java file in focus as an Ant file. But I already told the Ant view which build.xml file I wanted to use...?
[20:37:53] <toulmean> Luyang: oh that's fun.
[20:37:57] <toulmean> Luyang: I would open a bug...
[20:37:57] *** fixl has quit IRC
[20:38:32] *** pingveno has quit IRC
[20:38:35] <Luyang> toulmean: hmmm... yeah, but the weird thing is that afai remember it worked with one of my build.xml files
[20:38:49] *** fsteeg has joined #eclipse
[20:38:53] <toulmean> :/
[20:39:02] <Luyang> so I'm thinking not everyone is experiencing this. I'm wondering if the Ant view changes "current working directory" depending on the file in focus...
[20:39:19] <Luyang> anyway, I could open a bug about it...
[20:39:22] <Luyang> ~bugs
[20:39:22] <Arbalest> Eclipse Bugzilla - https://bugs.eclipse.org/bugs/
[20:39:26] <Luyang> thanks
[20:39:33] <toulmean> :)
[20:40:09] <Luyang> gotta love to contribute
[20:40:32] *** evil_gordita has quit IRC
[20:41:21] <Luyang> It should've been solved here https://bugs.eclipse.org/bugs/show_bug.cgi?id=31433 hmm
[20:43:16] <Luyang> Error message is Something.java 1: Content is not allowed in prolog.
[20:44:29] *** nlc has quit IRC
[20:44:51] <hdave> i'm using Eclipse 3.4.2 and am trying to do some software updates, but I keep getting the following error "Cannot find a solution satisfying the following requirements org.eclipse.ui [3.4.2.M20090204-0800]."   Any ideas?
[20:45:12] *** evil_gordita has joined #eclipse
[20:45:39] *** nlc has joined #eclipse
[20:48:06] <d_a_carver> hdave: sounds like you are running into some mirror issues on the update.
[20:48:53] <hdave> d_a_carver: meaning something is wrong with the update site(s)?
[20:49:37] *** volodya has joined #eclipse
[20:49:41] <d_a_carver> hdave: meaning that one of the mirrors it is trying to use has problems.  Early versions of p2 in 3.4.x had problems not handling mirrors that didn't respond.   Any reason you can't upgrade to 3.5?
[20:50:19] <hdave> d_a_carver: not that I know of :-$
[20:50:28] <Luyang> OMG the Eclipse bugzilla mail takes forever
[20:50:37] <hdave> d_a_carver: will try the upgrade...thanks for the help
[20:50:51] <d_a_carver> Luyang: have you checked spam filters?
[20:51:06] <Luyang> Yes
[20:51:51] <Luyang> Now I got a big red box with the text "You have requested an account token too recently to request another. Please wait a while and try again."
[20:52:09] <Luyang> NOW I got it
[20:56:14] *** conan has joined #eclipse
[20:57:18] *** Aleph_One has joined #eclipse
[21:00:07] *** monk12 has joined #eclipse
[21:00:21] *** Resistance4 has joined #eclipse
[21:01:54] *** |conan| has quit IRC
[21:02:46] *** krbarnes has joined #eclipse
[21:04:59] *** Dashkal has joined #eclipse
[21:11:46] *** toulmean has quit IRC
[21:12:33] *** Resistance7 has quit IRC
[21:17:33] *** Arnos has quit IRC
[21:20:34] *** odin_ has quit IRC
[21:20:35] *** Echidna has quit IRC
[21:20:35] *** tromey has quit IRC
[21:20:35] *** joe2371 has quit IRC
[21:20:42] *** fixl has joined #eclipse
[21:25:19] *** pingveno has joined #eclipse
[21:32:21] *** joe2371 has joined #eclipse
[21:32:30] *** Echidna has joined #eclipse
[21:32:32] *** tromey has joined #eclipse
[21:36:42] *** dmiles_afk has joined #eclipse
[21:39:11] *** aksn has joined #eclipse
[21:40:31] *** phoenixz has joined #eclipse
[21:44:43] *** fsteeg_ has joined #eclipse
[21:44:48] *** fsteeg has quit IRC
[21:45:04] *** fsteeg_ is now known as fsteeg
[21:49:50] *** xxen has joined #eclipse
[21:51:10] <Luyang> silence
[21:56:28] <hdave> d_a_carver: wanted to let you know that 3.5.1 works great with spring tools, only snag was i needed to install mylyn jira before i could install sts...no biggie...thanks
[21:57:04] <d_a_carver> hdave: no problem
[21:57:41] *** Carnage\ has joined #eclipse
[21:57:56] *** odin_ has joined #eclipse
[22:01:09] <Luyang> shouldn't eclipse bugzilla send out an email to the bug requester?
[22:01:33] <juli> it does
[22:03:13] <rcjsuen> by default if you performed the action, i don't think it does
[22:03:29] <rcjsuen> if someone commented on your bug then yes it should
[22:03:31] <rcjsuen> check your email prefs
[22:06:17] *** aksn has quit IRC
[22:07:03] *** Luyang has quit IRC
[22:10:14] *** Bass10 has quit IRC
[22:11:26] *** phoenixz has quit IRC
[22:13:36] *** rcjsuen has quit IRC
[22:14:25] *** Core-Dump has quit IRC
[22:14:31] *** Fragarach87 has quit IRC
[22:15:33] *** Sal has joined #eclipse
[22:15:39] <Sal> hello
[22:16:04] *** yassine has joined #eclipse
[22:16:05] <Sal> is there a way to create a new project inside the default workspace but then let my source folder point to another directory?
[22:17:45] <yassine> i have several plugins.link files inside my dropins directory of eclipse and each <pluginsName>.link file contains a vailid path reference to a valid plugin, but when i start eclipse non of the referenced plugins ins avaiable. any idea what could be wrong?
[22:20:09] <nitind> Sal: Sure.  Just create it, then add the folder linked to an external directory, and then set it as a source folder.
[22:20:42] <Sal> nitind: but i need it to be my project root folder
[22:20:52] <Sal> not a subdir
[22:21:01] *** ekiczek has quit IRC
[22:22:14] <nitind> Sal: Then set the physical location of the project itself to be that place.
[22:22:28] <Sal> :)
[22:22:38] <Sal> that's whay i'm trying to avoid
[22:22:52] <Sal> i need to create projects inside my local web server root
[22:23:12] *** SzymonB has joined #eclipse
[22:23:37] <nitind> That's never made sense to me.  You're messing with your production server, then.
[22:23:50] <Sal> and having eclipse creates its projects there, means that it will create all its config files and folders there too
[22:24:20] <d_a_carver> Sal why not setup an Alias on your web server to point to your project workspace?
[22:24:26] <nitind> Sal: Do you mean putting the workspace there, or just the one project?
[22:24:34] *** krbarnes has quit IRC
[22:24:50] <d_a_carver> sal or particularly have the alias point at the project in your workspace.
[22:25:17] <Sal> i would like to create the project in the default workspace, that means a place where eclipse keeps its dot config files and dot directories
[22:25:32] <nitind> You can't have it both ways.  Use the Alias.
[22:25:49] <Sal> and then, have as the real source folder, a directory under my local web server
[22:26:00] <Sal> alias?
[22:26:16] <Sal> ok, wait....
[22:26:26] <Sal> so i create my project in the default workspace
[22:26:27] <Sal> then?
[22:27:55] <Sal> oh, an alias inside the httpd.conf
[22:28:07] <Sal> but that wont separate eclipse files from my files
[22:28:23] <Sal> i just don't want the damn eclipse files messing up my source dir
[22:30:03] *** acuster has joined #eclipse
[22:32:01] <fixl> has anyone tried that InteliJ IDe ?
[22:34:58] <Sal> is there a way to move my internal web browser tab to the center of the IDE where my code is?
[22:35:00] <d_a_carver> fixl: been meaning too now that it's open source.
[22:35:38] *** dilton has left #eclipse
[22:35:51] <d_a_carver> Sal web browser tab acts as an editor so it goes where editor's can be placed.  It depends on what you mean "where my code is"
[22:35:52] *** dilton has joined #eclipse
[22:36:16] <Sal> not it opens on the right
[22:36:36] <Sal> where my debug output and browser output panels are
[22:40:08] <philk_> paulweb515: thanks for filing the bug!
[22:41:27] <fixl> ewww did they write the gui wit SWING :D
[22:43:38] <philk_> njbartlett: my DS extends Thread and references another service. The thread polls the service periodically. However, when this service is unbound, the thread still wants to use it (and fails). Is there any way to synchronize the two things?
[22:44:13] *** ekiczek has joined #eclipse
[22:45:29] <njbartlett> philk_: Err, use a mandatory dependency?
[22:45:34] *** nlc has quit IRC
[22:46:00] <philk_> njbartlett: its already a 1..1 static dependency
[22:46:17] *** nlc has joined #eclipse
[22:46:29] <njbartlett> philk_: So, the deactivate method should be called as soon as the service goes away
[22:47:06] <philk_> njbartlett: the problem is that the thread sleeps while the service is unbound. So in the deactivate method I call interrupt() so the thread can wake up, but it might be already out of its sleep and call the bound service again
[22:47:35] <philk_> njbartlett: the called service then returns an error when called, because its internal state is already closed.
[22:47:41] *** Sal has left #eclipse
[22:48:15] <njbartlett> philk_: Right, well the static policy can't protect you from worrying about concurrency if you actually create your own threads!
[22:48:42] <njbartlett> philk_: I would convert it to a 1..1 dynamic reference and write thread-safe code
[22:49:35] <philk_> njbartlett: and then unbind is synchronized as well as inside the thread the access to the bound service variable?
[22:50:19] <njbartlett> philk_: If you write it that way, yeah.
[22:50:38] <njbartlett> philk_: Though I prefer to avoid synchronized blocks for the unbind etc, I prefer AtomicReference
[22:51:03] <philk_> njbartlett: never user AR... have to see a tutorial first
[22:51:29] <philk_> njbartlett: do you have any sample codes where threads are using inside OSGi services?
[22:51:34] <njbartlett> philk_: AtomicRef is cool because you can't forget to copy it first into a local var
[22:53:24] <njbartlett> philk_: Yes, http://github.com/njbartlett/eclipsecon09_components
[22:53:26] *** dilton has left #eclipse
[22:53:29] *** dilton has joined #eclipse
[22:53:38] *** dilton has left #eclipse
[22:53:50] *** dilton has joined #eclipse
[23:01:20] *** kostmo has joined #eclipse
[23:01:27] *** rhk has quit IRC
[23:02:33] *** Mr_Grim has joined #eclipse
[23:02:37] *** laknath_ has quit IRC
[23:02:42] <kostmo> after obtaining a SearchMatch from a SearchEngine, how does one find the line number of the result in a source file?
[23:03:07] <kostmo> (I'm working on a plugin)
[23:04:27] <kostmo> The SearchMatch.getElement() can be cast to a IJavaElement - is there some method that locates these within a source file?
[23:05:24] *** rcjsuen has joined #eclipse
[23:05:50] <nitind> They're not always in a source file.  check the type hierarcy of that interface to see what you ahve to work with.
[23:09:33] *** volodya has quit IRC
[23:12:34] *** fixl has quit IRC
[23:12:40] *** therealpxc has quit IRC
[23:12:44] <philk_> njbartlett: thanks! will check it 2morrow
[23:12:52] <philk_> njbartlett: g'd n8!
[23:16:43] <njbartlett> philk_: Good neight
[23:19:36] <kostmo> nitind: I just found what I was looking for - the getOffset() method of SearchMatch says where the element is within the source file
[23:20:50] *** Cobi has quit IRC
[23:21:27] *** Mr_Grim has quit IRC
[23:22:01] *** Cobi has joined #eclipse
[23:26:29] *** Resistance4 has quit IRC
[23:26:48] *** Resistance1 has joined #eclipse
[23:27:18] *** Resistance9 has joined #eclipse
[23:27:46] *** stevex-w has quit IRC
[23:31:20] *** fixl has joined #eclipse
[23:32:44] <nitind> kostmo: "or -1 if unknown"
[23:33:36] <kostmo> nitind: thanks
[23:36:36] *** magnet_ has quit IRC
[23:38:43] *** Carnage\ has quit IRC
[23:45:51] *** cmw72 has quit IRC
[23:47:06] *** opossum_oisif has joined #eclipse
[23:57:29] *** JamesJ has joined #eclipse
[23:57:42] *** JamesJ has quit IRC
[23:58:19] *** JamesyJ has joined #eclipse
[23:59:11] <JamesyJ> hi!

top