[00:03:11] *** amitev has quit IRC [00:09:55] *** |conan| has joined #eclipse [00:10:28] *** conan has quit IRC [00:10:31] *** |conan| is now known as conan [00:11:45] *** kelaouchi has joined #eclipse [00:12:22] <Lrac> Hi everyone. I'm using Eclipse 3.3.0 on Windows for Java development, and all of a sudden I have 2 entries for everything in my content assist popup. everything from functions to things like the 'sysout' template expansion. Any ideas? [00:13:11] <rcjsuen> Never heard of that one. [00:13:20] <rcjsuen> Try 3.3.1.1. [00:13:38] <Lrac> ok, will try [00:14:11] <nitind> And be sure you update to the corresponding Mylyn release. And disable Mylar if it's installed. [00:14:20] <rcjsuen> good point [00:14:25] <rcjsuen> forgot the java dev one includes Mylyn [00:14:26] <rcjsuen> probably the culprit [00:14:32] <rcjsuen> ~tell Lrac about compare [00:14:33] <KOS-MOS> Lrac: Wondering what's the difference between all of those Eclipse packages? See http://www.eclipse.org/downloads/moreinfo/compare.php [00:16:42] <Lrac> Yeah, Mylyn was it, I disabled all of the content assist proposal types that were associated with Mylin under Java > Editor > Content Assist > Advanced, that did it. Wonder how that got turned on? *Shrug* thanks for the help! [00:19:02] *** fzlogik has quit IRC [00:21:04] *** Lrac has left #eclipse [00:24:30] *** scorphus has quit IRC [00:25:24] *** kelaouch1 has quit IRC [00:26:57] *** Hesabo has quit IRC [00:29:16] <aikie> is it possible to make project templates in eclipse. something like a java project wich already has some files in it? [00:29:25] *** ekiczek has joined #eclipse [00:31:11] <d_a_carver> Well, some plugins do that...but I don't think there is a way without creating a basic project, putting the base files in there, and then using the Import Existing Projects wizard. [00:35:23] *** merlin2049er has joined #eclipse [00:37:53] *** conan has quit IRC [00:39:33] *** merlin2049er has quit IRC [00:39:43] *** conan has joined #eclipse [00:40:14] *** kab has quit IRC [00:42:55] *** ajt has quit IRC [00:47:56] *** safak has quit IRC [00:48:31] *** wanderingii has joined #eclipse [00:49:42] <wanderingii> how can i install eclipse on fedora? [00:50:27] *** rahul_ has quit IRC [00:50:30] *** flazz has joined #eclipse [00:50:32] *** steegf has joined #eclipse [00:50:57] <flazz> when installing on osx can i just drag the eclipse icon to my applications or do i need all the extra stuff that came in the download? [00:52:44] <d_a_carver> ~tell flazz about linux-install [00:52:45] <KOS-MOS> flazz: Trying to install Eclipse on Linux? http://wiki.eclipse.org/IRC_FAQ#How_do_I_install_Eclipse_on_Linux.3F [00:53:13] <flazz> no osx [00:53:16] <d_a_carver> ~tell wanderingii about linux-install. [00:53:32] <d_a_carver> flazz: sorry I sent it the wrong person [00:53:41] <d_a_carver> wanderingii: see the linux install faq. [00:54:25] <d_a_carver> flazz: http://developer.apple.com/tools/eclipse.html [00:55:48] <wanderingii> thanks [00:56:57] <flazz> is there a way to get tabs that look better in osx? [00:57:16] *** BlackBsd has joined #Eclipse [01:04:39] *** rawblem has left #eclipse [01:05:46] *** aikie has quit IRC [01:05:56] <wanderingii> how do i getmy java bin path? [01:06:30] <rcjsuen> java bin path? [01:06:44] *** __zzz__ has left #eclipse [01:06:53] <rcjsuen> depends on how your distro installs java runtime environments i guess [01:07:11] *** fsteeg has quit IRC [01:07:35] <wanderingii> im trying to follow the guide in wiki.eclipse.org that was provided earlier and it says to run a line ./eclipse -vm /path/to/bin/java [01:07:44] <rcjsuen> right [01:07:47] <wanderingii> im currently using fedora [01:07:55] <rcjsuen> ijuma: any ideas? [01:09:55] <rcjsuen> wanderingii: google around, lots of fedora users out in the wild [01:10:17] *** dohtem` has joined #eclipse [01:10:49] <rcjsuen> wanderingii: did you install a Sun / IBM jre? [01:11:04] <wanderingii> think so. any way i can verify? [01:11:13] <ijuma> i just use the sun-provided one [01:11:47] <ijuma> wanderingii: how did you install your jvm? [01:12:12] <wanderingii> i cant remember its been a while since i started settin up this laptop [01:13:06] <ijuma> wanderingii: ls /usr/java [01:13:52] <wanderingii> default jdk 1.6.0_03 latest [01:14:39] <ijuma> wanderingii: so, there's your vm [01:14:45] <ijuma> jdk 6 update 3 [01:14:53] <wanderingii> ok [01:15:21] <ijuma> ./eclipse /usr/java/jdk/bin/java should work i think [01:16:12] <ijuma> yes, sorry [01:16:27] <ijuma> mind and fingers not in the same wavelength ;) [01:17:15] <wanderingii> error: a java runtime environment or java development kit must be available in order to run eclipse [01:17:32] <ijuma> wanderingii: did you add the -vm like rcjsuen said? [01:17:48] *** ekuleshov_ has joined #eclipse [01:17:52] <ijuma> ./eclipse -vm /usr/java/jdk/bin/java [01:18:01] *** milesd has joined #eclipse [01:18:03] <milesd> hi, everybody [01:18:11] <milesd> I'm trying to create a junit test case using eclipse [01:18:36] <milesd> I did the new class dialog and selected junit.framework.TestCase as the super-class [01:18:50] <milesd> but it's telling me that the implicit constructor isn't visible and telling me I should define one [01:19:09] <milesd> none of the junit tutorials say I should have to do this. [01:19:10] <wanderingii> thanks, the correct path was more or less the same but dir was actually called jdk1.6.0_03 . [01:19:25] <milesd> anybody know what this seemingly eclipse-specific issue is? [01:19:47] <rcjsuen> I don't have that problem with JUnit 3. [01:20:15] <milesd> rcjsuen: is that the version eclipse is using? [01:20:29] <rcjsuen> Well, the Eclipse SDK ships with 3 and 4 [01:20:46] <milesd> rcjsuen: hrm... how do I configure which version it uses? [01:21:56] <rcjsuen> Well, to be honest, I doubt it's changed in JUnit 4. [01:22:08] <rcjsuen> Do you get this same problem in a new Java project? [01:22:09] <milesd> me too [01:22:14] <milesd> I just thought it was worth a try [01:22:16] <rcjsuen> ~tell milesd about info [01:22:17] <KOS-MOS> milesd: Please state your CPU architecture (x86, 64-bit, etc.), operating system (Windows, Linux, Mac OSX, etc.), your Java runtime environment (unless you checked in your workspace logs and/or in the about dialog, you do not know _for sure_, please see ~jre. No, typing 'java -version' in the command line does not count as checking), your Eclipse version, and where did you download Eclipse from. [01:22:25] <wanderingii> anyone know how to add a shortcut for eclipse on the desktop and applications menu? [01:23:23] *** eelriver_ has quit IRC [01:24:28] <milesd> it was a 3.7 problem [01:24:39] <milesd> I installed 4.4 and it works as expected [01:33:56] *** RexMundi has quit IRC [01:34:59] *** nerdboy|off is now known as nerdboy [01:35:10] *** ekuleshov has quit IRC [01:38:24] *** zither_ has quit IRC [01:40:04] *** soulreaper has quit IRC [01:44:01] *** SirBob1701 has joined #eclipse [01:44:45] *** eidolon has quit IRC [01:48:33] *** gaillard_ has joined #eclipse [01:48:36] *** comphappy has joined #eclipse [01:49:12] *** dohtem` has quit IRC [01:49:32] <comphappy> would it be possible to configure native linux eclipse to use a compiler with wine? [01:50:35] <FauxFaux> Anything's possible. [01:50:40] <comphappy> thanks [01:50:44] <rcjsuen> sky's the limit [01:50:53] <rcjsuen> *queue encouraging remark of your choice* [01:50:58] <FauxFaux> Not if you have a SPACE SHUTTLE* [01:51:08] <comphappy> well... [01:52:35] <comphappy> how would i go about attempting to implement this [01:52:49] <comphappy> without a space shuttle [01:53:02] <comphappy> (little out of my budget right now) [01:54:01] <rcjsuen> comphappy: Well, if you no have space shuttle, then the sky's the limit. [01:54:12] <rcjsuen> You just have a lower limit compared to those with a shuttle. [01:55:20] <comphappy> they have the ability to work out side the box [01:55:42] <comphappy> playing with free floating bodies of water [01:57:41] <comphappy> ok how do i create a profile for a tool chain [01:59:13] *** wanderingii has quit IRC [02:00:23] *** milesd has quit IRC [02:00:41] *** Sal has joined #eclipse [02:00:44] <Sal> hello [02:01:36] <Sal> is it possibile to have something like dreamweaver using eclipse? i mean wysiwyg html, wysiwyg css, js and php with debugger? [02:03:34] <comphappy> look at aptana for that [02:04:23] <Sal> i saw that [02:04:49] <Sal> i doesn't have wysiwyg html+css and it doesn't have a good php module (no debugger) [02:05:09] <Sal> aptana seems more like a javascript editor [02:05:49] <Sal> anyway, i'll try it [02:05:56] <Sal> thanks [02:05:57] *** Sal has quit IRC [02:06:59] *** rahul_ has joined #eclipse [02:08:32] *** cmw72 has quit IRC [02:20:24] *** dohtem has joined #eclipse [02:22:28] *** BlackBsd has quit IRC [02:33:04] *** eidolon has joined #eclipse [02:38:13] *** conan has quit IRC [02:39:27] *** conan has joined #eclipse [02:39:59] *** dohtem has quit IRC [02:42:50] *** grEvenX has joined #eclipse [02:42:55] <grEvenX> hello [02:43:30] <grEvenX> when using other IDE's I'm used to working on my project files straight from the server from a SFTP connection [02:43:53] *** gaillard_ has quit IRC [02:44:13] <grEvenX> any good solutions for Eclipse 3.3.x on that, or any other effective way of doing some sort of auto-synching to the remote server? [02:45:56] *** nmatrix9 has joined #eclipse [02:46:26] <rcjsuen> ~tm [02:46:27] <KOS-MOS> Check out Eclipse's Target Management project - http://www.eclipse.org/dsdp/tm/ [02:47:18] <grEvenX> KOS-MOS: thanx, I'll check it out [02:54:04] *** mrsolo_ has joined #eclipse [02:56:13] *** z` has quit IRC [03:02:04] *** qwstar has joined #eclipse [03:02:25] <grEvenX> KOS-MOS: very nice! seems like just the thing I was looking for (and so more) [03:03:24] <qwstar> i have a cdt project that needs to link to a library in another eclipse project. can i get it to automatically infer the proper include/library directories just by putting the library project in project references? [03:04:14] <qwstar> also, auto-build doesn't rebuild dependent projects when I change the code in a library [03:07:56] *** Hesabo has joined #eclipse [03:11:24] *** cell76 has joined #eclipse [03:14:22] *** ekuleshov_ has quit IRC [03:14:41] *** ekuleshov has joined #eclipse [03:17:47] *** grEvenX has quit IRC [03:18:42] *** ekuleshov has quit IRC [03:18:59] *** ekuleshov has joined #eclipse [03:20:08] *** cell76 has left #eclipse [03:20:11] *** ekuleshov has quit IRC [03:20:30] *** ekuleshov has joined #eclipse [03:28:45] *** qwstar has quit IRC [03:46:30] *** nmatrix9 has quit IRC [03:51:05] *** conan has quit IRC [03:54:13] *** conan has joined #eclipse [03:58:52] *** cerbereus has joined #eclipse [04:00:30] *** RexMundi has joined #eclipse [04:07:13] *** Matrix9 has joined #eclipse [04:22:50] *** steegf has quit IRC [04:31:28] *** KarlThePagan has quit IRC [04:32:24] *** Infinito_ has joined #eclipse [04:37:49] *** kesselhaus has quit IRC [04:38:19] *** KarlThePagan has joined #eclipse [04:43:43] *** eidolon has quit IRC [04:50:45] *** eelriver has joined #eclipse [04:53:29] *** asimismo__ has quit IRC [05:10:40] *** victori has joined #eclipse [05:10:57] <victori> my eclipse starting acting wonky, stuff does not autocomplete or method completions are missing [05:11:08] <victori> I tried cleaning out the workspace already [05:11:28] <victori> no updates, 3.3 eclipse workspace w/ spring+wtp+jetty plugin [05:11:32] <victori> and viplugin [05:12:03] <rcjsuen> victori: Eh? So a clean/empty workspace doesn't help? [05:12:12] <victori> yea [05:12:35] <victori> no updates were done, so not sure why it started happening, though my codebase / workspace has gotten much larger [05:13:09] <victori> 826meg workspace [05:13:10] <rcjsuen> that's odd [05:13:26] <victori> 24 Kloc project [05:13:27] <rcjsuen> If setting a non-existent folder as a workspace doesn't fix it, I don't know what to tell you. [05:14:05] <victori> hmm it is extremely frustrating since I depend on eclipse's auto imports [05:14:13] <victori> it happes on anonymous inner classes [05:14:32] <rcjsuen> Try reproducing on an Eclipse SDK download. [05:14:35] <victori> new Link() { void blah() { ...stuff wont auto complete here } }; [05:14:54] <victori> though things auto complete just fine outside the annoymous inner classes [05:14:57] <victori> really odd issue [05:15:15] *** derjohn has quit IRC [05:15:56] *** derjohn has joined #eclipse [05:16:58] <victori> going to try updating eclipse + plugins see what happens [05:17:38] <rcjsuen> That might be ris-kay, that update manager and all. [05:19:17] <victori> *shrug* I don't have much to lose at this point [05:20:00] <victori> no updates, seems like I am up to date [05:24:52] *** merlin2049er has joined #eclipse [05:33:39] *** eggauah has quit IRC [05:37:40] *** conan has quit IRC [05:38:15] *** conan has joined #eclipse [05:48:41] *** SirBob1701 has quit IRC [06:01:17] *** Infinito_ has quit IRC [06:06:28] *** rcjsuen has quit IRC [06:20:10] *** merlin2049er has quit IRC [06:43:39] *** Matrix9 has quit IRC [06:45:59] *** lorbrito has joined #eclipse [06:51:38] *** kelaouch1 has joined #eclipse [06:51:43] *** comphappy has quit IRC [07:04:41] *** kelaouchi has quit IRC [07:31:21] *** cerbereus has quit IRC [07:38:54] *** mef has joined #eclipse [07:58:03] *** mefisto has quit IRC [08:01:58] *** asimismo__ has joined #eclipse [08:02:01] *** asimismo__ is now known as asimismo [08:07:16] *** asimismo__ has joined #eclipse [08:09:52] *** v0idnull has joined #eclipse [08:10:08] <v0idnull> Guys, using the XML Schema Editor, how can I next complext type elements? [08:12:26] *** asac_ has joined #eclipse [08:20:14] *** kalexander has joined #eclipse [08:25:12] *** asac has quit IRC [08:25:12] *** asac_ is now known as asac [08:25:45] *** asimismo has quit IRC [08:44:17] *** lorbrito has quit IRC [08:50:10] *** kalexander has left #eclipse [08:59:00] *** rahul_ has quit IRC [09:12:12] *** edawg has joined #eclipse [09:30:48] *** Ramosa has joined #eclipse [09:42:18] *** asimismo__ has quit IRC [10:02:35] *** co2 has joined #eclipse [10:02:42] *** LeVA has joined #eclipse [10:04:32] *** xushi has joined #eclipse [10:12:49] *** z` has joined #eclipse [10:13:48] *** TomTom has joined #eclipse [10:14:26] *** probonono has joined #eclipse [10:16:12] *** pombreda has joined #eclipse [10:24:01] *** dohtem has joined #eclipse [10:25:03] *** dominikg has joined #eclipse [10:34:22] *** KarlThePagan has quit IRC [10:35:36] *** xushi_ has joined #eclipse [10:41:49] *** xushi has quit IRC [10:45:08] *** LongBeach has quit IRC [10:53:02] *** soulreaper has joined #eclipse [10:56:33] *** fzlogik has joined #eclipse [10:56:51] *** xushi has joined #eclipse [10:57:10] *** xushi has quit IRC [10:59:09] *** kjkoster5489 has joined #eclipse [11:00:39] *** acuster has joined #eclipse [11:01:38] *** dohtem` has joined #eclipse [11:03:32] *** xushi_ has quit IRC [11:09:14] <dmiles> to build optimized .class files i uncheck the settings under "Java Compiler" about line numbers and local var info? [11:09:35] *** riishigh_ has joined #eclipse [11:10:45] *** riishigh has quit IRC [11:17:29] *** dohtem has quit IRC [11:18:17] *** bgilb has joined #eclipse [11:18:28] <bgilb> how do i tell a project of mine in eclipse to use more memory? :X [11:20:54] <dominikg> open the runtime configuration (run as ...) and add -Xmx256M to the vmargs [11:27:23] <bgilb> thank you [11:30:19] <pombreda> dmiles: that would optimize a bit, but only the size afaik [11:31:26] <pombreda> dmiles: I would look at other stuffs like bytecode optimizer (often also obfuscators like dash-o and retroguard) but imho, unless you do mobile, that is not much uof use [11:33:49] <dmiles> pombreda, ecj cmdline -O and friends probly good enough [11:34:19] <dmiles> well i tried ussing soot and it takes several days to run :( [11:34:53] <dmiles> gcj about 8 hours [11:35:56] <dmiles> but gjc.. i am not sure whats going on.. its not the .class file stuff.. i feed it .class [11:37:19] <dmiles> what is moble? [11:37:25] <dmiles> erm mobile [11:38:04] <dmiles> oh sorry, mobile devices, things having less memory [11:47:46] <pombreda> :-) [11:51:07] <pombreda> dmiles: you may want to check http://proguard.sourceforge.net/ it is an obfuscator, but you can use it so only shrink class files [11:53:35] <dominikg> if you are only looking for size reduction, also check pack200 [11:53:51] *** LongBeach has joined #eclipse [11:54:38] *** nerdboy is now known as nerdboy|off [11:55:18] <dmiles> the classes i have under 25mb now.. its the instances that are killing me ;( [12:03:41] *** bgilb has quit IRC [12:10:45] <pombreda> dmiles: :-D [12:11:01] <pombreda> dmiles: no java optimization will help you there ;-) [12:11:11] <pombreda> I mean no automated optimization :-P [12:11:12] *** pfn has quit IRC [12:12:53] <dmiles> well i am hacking on soot and proguard srcs trying to emit better .java (ussing jode to emit their outputs) [12:13:15] <dmiles> letting them put .class in memory and then i decopmmpile them [12:13:34] *** acuster has quit IRC [12:13:41] <dmiles> hoping for some better version of src [12:14:33] <dmiles> well i commented out all the obsufication/renaming bits [12:15:07] <dmiles> just trying for optimization.. alot of the optimization though is shorting long classnames and methods names to less than 4 bytes [12:15:10] *** dohtem` is now known as dohtem [12:16:44] *** edawg has left #eclipse [12:17:49] <dominikg> dmiles, how would that help with optimizing the memory footprint of instances?`... btw. in which dimensions are you thinking there? 25mb of classfiles sounds like a huge project. And what is the goal of your optimization? [12:18:25] <pombreda> dmiles: just curious what is your problem? [12:18:36] *** mhaller has quit IRC [12:18:41] <pombreda> dominikg: :-) [12:18:56] <dmiles> well my optimization goal is to start to not use my projects version of String,Integer and use java's [12:19:05] <pombreda> dmiles: I think dominikg and I are thinking a like :-) [12:19:28] <dmiles> so i am looking for opertunatities to to make a objects that only wrap a single object [12:19:40] <dmiles> so i am looking for opertunatities to to *NOT* make a objects that only wrap a single object [12:19:56] <pombreda> dmiles: is this open source code? [12:20:02] <dmiles> yes [12:20:07] <dmiles> for me anyways [12:20:10] <pombreda> dmiles: url then? [12:20:25] <dmiles> i mean i have the src but i signed several NDAs [12:20:30] <pombreda> dmiles: I recall you were working on some gamiing stuff, was it? [12:20:46] <dmiles> yes, this is the game servers database [12:20:51] <pombreda> dmiles: ok, so not open code, then [12:21:14] <pombreda> dmiles: what is the the problem you are facing? at a high level? [12:21:27] <dmiles> i was saying that becasue when i talk about decompilers i thought'd make sure you knew at least i can have the src ; [12:22:11] <pombreda> dmiles: is that a memory footprint problem with the running app? [12:22:25] <dmiles> the high level problem is the src sets out to reinvent the lisp programming language and interpretes it from java creating big extra footprints [12:22:39] <pombreda> dmiles: :-) [12:23:05] <dmiles> it needs at least 3gb it seems on a good day [12:23:28] <pombreda> dmiles: ok, then you are probably better off tracing and profiling to look for areas of extra objects creation, imho [12:23:33] <dmiles> Initialization time = 1416.196 secs. [12:23:40] <dmiles> finanly it loaded [12:23:48] <pombreda> dmiles: then, probably work on some lazy loading in some cases [12:23:53] <dmiles> my unit test lately is if it even starts [12:24:11] <pombreda> dmiles: or optimize some loops, or things like that [12:24:33] <pombreda> dmiles: that sounds like an awfully long start time [12:24:35] <dmiles> pombreda, oh god.. dont go away until i show you a loop [12:24:56] <pombreda> but I doubt class shrinkage will give you much [12:25:14] <dominikg> i have a feeling the project in question is a dailywtf candidate [12:25:32] <dmiles> you'll see imediately the high level prolbem that making me try for optimiations [12:25:33] <dmiles> http://paste.lisp.org/display/52175 [12:25:38] <pombreda> dmiles: there are probably tons of stuffs cached at start time, may be too much, and no lazy loading of caches [12:25:54] <dmiles> so i think i can solve memory footpints by ussing int instead of SubLInteger [12:26:05] <pombreda> it does uses cyc :-) [12:26:31] <dmiles> it *is* cyc [12:26:42] *** dan`afk has joined #eclipse [12:27:02] <dmiles> that init time is loading the bootsrap kb into runtime [12:27:26] <pombreda> I remember playing with http://www.google.com/search?q=opencyc a while back [12:28:05] <dmiles> yeah ... finanly cyc rtl has a java port [12:28:35] <dmiles> soon , very soon.. going to have opencyc as a .jar file [12:29:00] <dmiles> thats not just a client to a C server.. but server in java [12:29:30] <dmiles> this build i am working with is about the 5th attempt at a native cyc in java [12:29:53] <pombreda> dmiles: I am sorry I cannot help much there, but most likely the cyc kb does not have any lazy loading and probably should. or it has, but the kb is still huge :-) [12:30:30] <dmiles> oh the SubL programming language (method accessors) are lazy.. they only cache the java.lang.reflect.Method at the last moment [12:30:34] <pombreda> and I am sure it is already quite optimized [12:30:57] <dmiles> i am switching it out though to use sun nativemethodaccessor though [12:31:15] <dmiles> so that'll be a huge speed up [12:32:00] <dmiles> so the lazyness is just storing the classname and method name strings and not loading the class until it's needed [12:32:39] <pombreda> dmiles: may be you could try #opencyc ? [12:32:49] <dmiles> yeah quite a bit of optimizations.. howver not bent towards running in java.. just doing really ssmart KB indexing [12:33:30] <dmiles> the java sources are just to see if it was going to be possible.. and it was! [12:33:41] <pombreda> dmiles: but lotsa reflection + big KB + inferencing algorithm is not a simple problem :-) [12:34:42] <pombreda> ask conan, the lead maintainer of drools, a java rules engine: this is not a simple problem :-) [12:35:01] <pombreda> dmiles: but I am not helping there, you already know that :-P [12:35:02] <dmiles> true true.. well so what my project is about is finding what things in the java implementation could be done to make it effecient [12:35:31] <dmiles> ah yeah .. i started exampining drools.. just becasue they would have had to solve very simulars [12:35:55] <pombreda> dmiles: you can try #drools on irc.codehaus.org :-) [12:35:58] <dmiles> true true to <pombreda> dmiles: but lotsa reflection + big KB + inferencing algorithm is not a simple problem :-) [12:35:59] <pombreda> or conan here [12:36:24] <dmiles> i hope i didnt register as too much a kook to conan [12:36:45] <pombreda> dmiles: not sure I parser a kook? [12:36:53] <dmiles> trollish [12:36:57] <pombreda> *I parse :-) [12:37:02] <pombreda> nah [12:37:14] <pombreda> dmiles: he is a sweetest chap [12:40:13] *** kjkoster5489 has quit IRC [12:45:38] *** bingobob has joined #eclipse [12:49:04] *** lnxnt has joined #eclipse [12:53:54] *** safak has joined #eclipse [12:55:49] *** vwegert has joined #eclipse [12:56:10] *** LeVA_ has joined #eclipse [13:07:46] *** bingobob has quit IRC [13:11:34] *** lnxnt has quit IRC [13:12:29] *** dan`afk has quit IRC [13:13:44] *** LeVA has quit IRC [13:17:25] *** LeVA_ is now known as LeVA [13:19:02] *** LeVA has quit IRC [13:26:45] *** Ramosa has quit IRC [13:29:34] *** dohtem has quit IRC [13:33:43] *** bingobob has joined #eclipse [13:41:24] *** rcjsuen has joined #eclipse [14:04:24] *** wanderingii has joined #eclipse [14:04:31] *** kjkoster5489 has joined #eclipse [14:19:46] *** ecfuser59170 has joined #eclipse [14:19:53] *** eggauah has joined #eclipse [14:20:18] *** ecfuser14302 has joined #eclipse [14:21:20] *** ecfuser59170 has quit IRC [14:23:07] *** Ramosa has joined #eclipse [14:25:01] *** bingobob has quit IRC [14:36:16] *** wanderingii has quit IRC [14:49:33] *** geoaxis has joined #eclipse [14:50:51] *** ecfuser14302 has quit IRC [14:51:17] *** kjkoster5489 has quit IRC [15:04:27] *** Hesabo has quit IRC [15:04:34] *** bingobob has joined #eclipse [15:05:29] *** bingobob has left #eclipse [15:10:13] *** fsteeg has joined #eclipse [15:18:14] *** Hesabo has joined #eclipse [15:22:12] *** wanderingii has joined #eclipse [15:28:08] *** splatch has joined #eclipse [15:28:11] <splatch> oi! [15:29:23] *** splatch_ has quit IRC [15:29:27] *** splatch__ has joined #eclipse [15:30:32] *** splatch is now known as splatch_ [15:30:33] *** splatch_ is now known as splatch [15:31:00] *** splatch is now known as splatch_ [15:44:07] *** zither has joined #eclipse [15:45:50] <zither> what do i have to do to debug a jsf web application with eclipse and tomcat? when i set a breakpoint in a class, the web server says that class is not available. [15:47:15] <dominikg> zither, are you impling, that the class is available if you don't set a breakpoint and 'disappears' when you do? [15:47:34] <zither> dominikg, yes [15:47:48] <zither> dominikg, when there are no breakpoints all works ok [15:48:10] *** TomTom has quit IRC [15:48:47] <zither> dominikg, well... almost ok [15:50:23] <dominikg> i use wtp in combination with tomcat to debug web applications and havn't had problems with that jet. did you set the breakpoint before or after you started debugging with tomcat? [15:52:17] <zither> dominikg, i set the breakpoint(s) first and then pressed the debug button from eclipse, which started the tomcat server [15:52:40] *** kjkoster5489 has joined #eclipse [15:53:24] <zither> dominikg, do i have to start a tomcat server from outside eclipse? [15:54:48] <dominikg> no, if you setup a tomcat configuration in wtp associated your project with it and use 'debug on server' it should be taken care of automagically [15:56:13] <zither> dominikg, do i have to setup/configure anything in tomcat's config to allow debugging? [15:56:44] <dominikg> worked out of the box for me (windows). [15:57:53] <zither> i'm using gentoo here [15:58:15] <dominikg> can you pastebin the exact error message please? [15:58:39] <dominikg> rcjsuen, wake up :) [15:59:23] <rcjsuen> dominikg: I'm awake, but I never used wtp, so I haven't been talking. [15:59:32] *** soulreaper has quit IRC [16:01:35] <zither> dominikg, is pastebin.com down or just working like shit? [16:01:51] <zither> dominikg, http://paste.uni.cc/18027 [16:03:04] <dominikg> .java? are you sure you are not looking for a .class? [16:03:39] <zither> dominikg, that's what tomcat says [16:04:02] *** mhaller has joined #eclipse [16:05:00] <zither> i have no idea why tomcat is asking for a .java [16:05:07] *** Ramosa has quit IRC [16:07:41] <safak> what is the reason that plugin.xml doesn't exist on creation of a brand new plugin project? [16:08:25] <rcjsuen> safak: Because you might not need a plugin.xml. [16:08:28] <rcjsuen> Quite simply. [16:08:45] <rcjsuen> The plugin.xml file is an Eclipse concept and not an OSGi concept. [16:09:39] <safak> rcjsuen: ok and how can I create it when I need it - just a new file? [16:10:22] <rcjsuen> safak: Well ,most people just handle extension points in the 'Extensions' tab. [16:10:26] <rcjsuen> You could just manipulate the file there intsead. [16:10:42] <dominikg> zither, i'm not sure why it does either. [16:10:53] <safak> rcjsuen ah thanks [16:11:16] <zither> dominikg, thanks for your time anyway [16:11:39] <dominikg> did you try to search your project for a file that contains the String 'ValidatePassword.java' ? [16:11:54] <rcjsuen> zither: Ctrl+Shift+R [16:12:23] <zither> dominikg, i do have that file [16:12:24] <rcjsuen> Or well, if you're looking for a string and not the file, use Ctrl+H. [16:12:34] <zither> dominikg, and i do have a breakpoint set in it [16:12:48] <dominikg> not the file itself, i'm looking for references to that file (eg. in web.xml) [16:13:30] <zither> dominikg, i'll do a grep [16:14:13] <dominikg> another think i noticed is that there is a leading slash on the path in the errormsg, does that absolute path acutally exist? [16:15:35] <zither> dominikg, all the paths inside the web application seems to start with "/" and they do work [16:15:58] <wanderingii> how do you know if your system is set up to enable to you develop a java app with gui and swing? [16:16:43] <dominikg> wanderingii, if you have a jdk and a text editor, you#re ready to go [16:16:44] <rcjsuen> wanderingii: For the command line people, you need a JDK. [16:16:54] <rcjsuen> yes, a text editor is preferable [16:16:58] <rcjsuen> but if you want to use 'echo', sure [16:17:38] <rcjsuen> wanderingii: http://www.java2s.com/Code/Java/Swing-JFC/HelloWorldSwing.htm [16:17:47] <rcjsuen> Enjoy [16:21:56] *** awj has joined #eclipse [16:22:12] <wanderingii> thanks. [16:22:20] <awj> I have a question about how to use the various TextConsole classes. [16:22:42] *** KarlThePagan has joined #eclipse [16:22:43] <awj> I'm having a bit of trouble figuring out where the proper entry point is. [16:23:15] <rcjsuen> awj: Please continue elaborating on your problem. [16:23:25] <awj> The end result I want, is a new Show View action which will display a new console tab specific to my plugin, with one of my TextConsoles as the only console attached. [16:23:57] <awj> Previously, I was simply using a SourceViewer, but replacing that with a TextConsoleViewer doesn't appear to do what I expect. [16:24:51] <awj> From what I've read, it appears that I need to add pages to some other Console object, and those pages would be TextConsoleViewers, but I'm not sure what that other object should be. [16:25:36] <awj> Currently, I have a custom ViewPart, and I'm just stuck on how to write the createPartControl to get my custom Console up and running. [16:25:50] <rcjsuen> mmmmmm [16:25:56] <rcjsuen> You want a console in your own view? [16:26:32] <awj> Yes. [16:26:40] <awj> Or just a separate (default) console view. [16:27:01] <rcjsuen> Pick one or the other. [16:27:10] <awj> The only changes I'm making are more to do with input/output in the console (presumably handled by the IOConsoleDocument class), rather than updating the console itself. [16:28:12] <awj> er, IOConsole class, I guess. [16:28:57] <awj> I guess I'm just having trouble understanding the interplay between the classes in the o.e.ui.console package. [16:29:16] <awj> I understood just fine hooking up my custom Document to a SourceViewer. [16:29:49] <awj> But I'd like to reuse some of the functionality in the IOConsolePartitioner for my document, so I'm trying to switch to the ui.console classes. [16:30:25] <awj> Am I being clear enough? [16:30:36] <rcjsuen> To create the console I think you need to use the createPage method. [16:30:44] <rcjsuen> At least, in terms of, for creating the SWT widget. [16:38:08] <awj> So, ConsoleView and the factory are both internal to ui.console, so what do I use as an argument to createPage? [16:38:27] <awj> Assuming you meant IConsole.createPage. [16:39:53] <awj> Is there a good place to check the documentation for an overview of how these classes are supposed to be used? [16:40:13] <rcjsuen> I guess you can't really use these classes in your own view. [16:40:33] <rcjsuen> Well, that's the method I meant, but then you'd have to write your own implementation of IConsoleView. [16:41:57] <rcjsuen> Perhaps you should just subclass TextConsole / IOConsole / MessageConsole and then add it to the IConsoleManager yourself. [16:42:41] <awj> Doing some testing... [16:48:30] *** schnootop has joined #eclipse [16:48:50] <schnootop> anyone know why when i try to update the new Eclipse patches it wont allow me to update them instead i get a Eclipse RCP Patch 3 for 3.3.1 (3.3.1.v20080102_331) requires feature "org.eclipse.rcp (3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS) [16:50:32] <rcjsuen> everyone seems to be having update problems these days [16:51:01] <schnootop> is there any reasons, or just unknown :P [16:51:33] <rcjsuen> I haven't heard of any solutions personally. [17:00:56] *** fortytwo has joined #eclipse [17:05:12] <fortytwo> hi... i have a treeviewer in my app... what is the preferred way to update the treeviewer when the model changes? some listener registered to my model which then updates the ui using a uijob? [17:06:18] <rcjsuen> fortytwo: yes, that would do [17:06:41] <fortytwo> thx [17:14:39] *** acuster has joined #eclipse [17:15:13] *** zaphands has quit IRC [17:15:40] <rcjsuen> Don't you hate it when you keep trying to put breakpoints and then realized you used Ctrl+F11 instead of F11? ;_; [17:17:24] *** simmerz has joined #eclipse [17:17:47] <simmerz> is it possible to start eclipse without initialising any plugins? rdt is crashing on me and I want to remove it [17:20:15] *** eidolon has joined #eclipse [17:20:23] <rcjsuen> Not that I know of. [17:20:27] <rcjsuen> simmerz: Everything in Eclipse is a plug-in. [17:20:50] <simmerz> ok, so is there any way to get eclipse back up and running without a complete reinstall? [17:21:13] <rcjsuen> You can try deleting the RDT's files by hand. [17:23:45] *** soulreaper has joined #eclipse [17:25:16] <rcjsuen> ~clean [17:25:17] <KOS-MOS> Please try restarting Eclipse with the '-clean' argument. http://wiki.eclipse.org/Graphical_Eclipse_FAQs#I_have_just_installed_a_plug-in_but_I_do_not_see_any_indication_of_it_in_my_workspace._What_do_I_do.3F [17:25:19] <rcjsuen> And then restart with -clean. [17:26:18] *** andross_ has joined #eclipse [17:28:12] *** ajt has joined #eclipse [17:28:35] <awj> Bah, I'm not going to waste any more time with the Console re-use stuff. [17:28:40] <awj> Thanks anyway, rcjsuen. [17:28:45] *** andross_ has quit IRC [17:29:00] <rcjsuen> awj: What kind of changes do you want to do to the console anyway? [17:29:12] <rcjsuen> Can't you just subclass IOConsole / MessageConsole and manipulate its contents that way? [17:29:43] <awj> Perhaps, but I still feel like I'm spinning my wheels trying to figure out how to add my own viewer for it. [17:30:03] <rcjsuen> Why do you want to add your own source viewer anyway. [17:30:09] <awj> And I don't really want my Console to get shoved to the background if, e.g. my Tomcat instance logs an event to its console. [17:30:29] <awj> I mostly just wanted to reuse the IOConsolePartitioner so that I could easily mark regions of my document as read-only. [17:30:52] <rcjsuen> oh [17:30:57] <rcjsuen> so you want some parts read only but not some? [17:35:51] <awj> Basically, yes. [17:36:06] <awj> I'm doing a script input console, so I want past input to be selectable and copyable, but not editable. [17:36:12] <awj> Same with the script prompt. [17:36:27] <awj> But, even with a multi-line script, I'd like the contents of it to be editable. [17:37:08] <rcjsuen> I'd recommend trying to ask on the eclipse.platform newsgroup or looking at other Eclipse plug-ins to see how they implement it. [17:39:32] <awj> Yeah, that's the way I was going, but then I thought I could easily reuse the IOConsolePartitioner, but turns out to be a little more trouble than it's worth. [17:40:20] <rcjsuen> yeah, they're internal and all, so [17:40:58] <rcjsuen> Sorry, I've just never used consoles the way you have before (I was just displaying strings in them and doing hyperlinking). [17:42:21] <awj> I've not done it either. It's possible that I'm just making things too complicated. [17:43:26] *** KarlThePagan has quit IRC [17:45:31] *** fortytwo has quit IRC [17:46:33] <zither> how can i make eclipse restore the previous perspective after a debug session? [17:47:21] *** wanderingii has quit IRC [17:52:33] <rcjsuen> zither: Not that I know of. [17:53:10] <zither> rcjsuen, isn't that a "feature" that anyone would like to have? [17:53:24] <rcjsuen> I usually just use Ctrl+F8 nowadays. [17:54:05] <rcjsuen> zither: Check bugzilla then. If it's as popular as you think it is, someone probably filed one already. [17:54:17] <zither> rcjsuen, i will, thanks [17:54:28] <awj> Man, why is SharedTextColors internal? [17:54:56] <awj> Seems relatively easy to have a shared way to cache requested colors, without each plugin needing to dispose of them individually. [17:56:13] <rcjsuen> awj: If you think it should be api, file a bug. [17:56:29] <rcjsuen> It's not hard to write your own implementation (or copy/paste the code if you have to). [17:56:34] <rcjsuen> Or use a ColorRegistry I suppose. [17:56:44] *** edrin has joined #eclipse [17:56:45] <edrin> if i do x = y; and y is a variable of type MyEnum, will x be a reference to y or will x represent the value of y when it was set? [17:57:06] <rcjsuen> edrin: Ask in ##java. [17:57:23] <edrin> why not here? [17:57:39] <rcjsuen> edrin: You can try asking here, but there are like over two times the amount of people there. [17:58:10] *** riishigh_ has quit IRC [17:58:44] *** riishigh_ has joined #eclipse [17:58:57] <rcjsuen> Can't you just use == and test for equality? [18:00:30] <awj> rcjsuen: Yeah, ColorRegistry will work fine. I just didn't think every plugin that needed colors should have to dispose of them manually. [18:01:08] <awj> Some of my frustration is just lack of experience with the APIs. I don't care about that specific SharedTextColors implementation, just some shared way of getting colors that the system would handle disposing. [18:03:17] *** asimismo__ has joined #eclipse [18:03:20] *** asimismo__ is now known as asimismo [18:04:54] *** asimismo has quit IRC [18:05:54] <awj> Hmm...another question. Does anyone know what the proper return value is for an ITokenScanner when it cannot find any more tokens in the region? [18:06:31] <rcjsuen> api doesn't say? [18:06:53] <awj> Is it appropriate to return Token.EOF even if it isn't the actual end of the document? [18:06:56] <awj> Not that I see. [18:07:25] <rcjsuen> I think most people just subclass RuleBasedScanner. [18:07:49] <rcjsuen> or RuleBasedPartitionScanner [18:15:30] *** rahul_ has joined #eclipse [18:21:52] *** dohtem has joined #eclipse [18:24:24] *** parti has joined #eclipse [18:29:32] *** dohtem has quit IRC [18:40:39] *** flazz has quit IRC [18:51:11] *** schnootop has quit IRC [18:51:44] *** conan has quit IRC [18:55:22] <awj> Ok, now I'm confused as to how the whole damager/repairer system works. I can't seem to get incoming edits to rescan the document from a larger range than just the incoming edit. [18:56:19] <awj> For instance, when I add a new script prompt, I'd like the entire document up to the end of that new prompt to in a custom partition, and the rest of the document in a new partition. [18:56:28] <awj> rather, the rest of the document in the default partition. [18:57:02] <awj> But, the rules for my output partition aren't getting properly applied, since it doesn't appear to scan from the last prompt up through the current input. [18:58:15] *** nerdboy|off is now known as nerdboy [18:58:23] *** simmerz has left #eclipse [18:59:25] <awj> Ah well, issue for another day. [18:59:30] <awj> Thanks again for your help, rcjsuen. [18:59:34] <awj> Later, everyone. [18:59:39] *** awj has quit IRC [19:15:38] *** floe has joined #eclipse [19:16:46] *** kirkz has joined #eclipse [19:17:03] <kirkz> hello all. i wanted to ask if eclipse has any builtin dynamic class loading facility? [19:17:10] *** kjkoster5489 has quit IRC [19:17:41] <kirkz> that i could use for myself that is. [19:19:12] *** rcjsuen_ has joined #eclipse [19:19:16] *** rcjsuen has quit IRC [19:26:33] <dominikg> kirkz, isn't that what osgi is all about? (maybe i just got you wrong) [19:35:21] *** floe has quit IRC [19:35:36] <kirkz> no idea what osgi is actually. [19:35:44] <kirkz> i just want to avoid coding a class loader myself [19:36:53] *** ajt has quit IRC [19:47:18] *** lnxnt has joined #eclipse [19:51:34] <nitind> kirkz: OK, then what do you mean by dynamic? [20:01:20] *** safak has quit IRC [20:02:02] <kirkz> nitind: i've built my plugin so that many components can be loaded dynamically by configuration [20:02:20] <kirkz> its hardcoded so far and now i'm in the process of uncoupling everything [20:02:48] <kirkz> so, i would need to load a class which implements an interface, from a file which is specified at a configuration file [20:02:51] *** ajt has joined #eclipse [20:03:15] <kirkz> i can do this with readying the bytes and a custom class loader, but it would be neat if eclipse exposes something like that [20:07:03] *** kjkoster5489 has joined #eclipse [20:08:45] *** cesar_CR has joined #eclipse [20:09:43] *** cesar_CR has left #eclipse [20:13:56] <nitind> kirkz: Take a look at "extension points" and the ExtensionRegistry. I don't have a link to a good tutorial, though, but it's one of the best things about Eclipse I think, as a framework. [20:14:43] *** conan has joined #eclipse [20:18:54] <kirkz> nitind: looks like that this thing allows programmatically loading plugins? [20:26:58] *** kirkz has quit IRC [20:32:05] *** dominikg has quit IRC [20:34:32] *** eelriver has quit IRC [20:40:26] *** Token- has joined #eclipse [20:42:18] *** grEvenX has joined #eclipse [20:42:26] <grEvenX> hi guys [20:42:47] <grEvenX> I've tried a plugin called Target Management [20:42:58] <grEvenX> to work with projectfiles from SFTP [20:44:52] *** ekuleshov has quit IRC [20:48:06] <grEvenX> the plan was to use this with my editors (like PHPEditor) from other plugins, but I get a null pointer when trying to opening a file in the editor from a "remote project" [20:48:27] <grEvenX> any tips, or suggestions for other plugins to work with files over ftp [21:01:37] *** hello__ has joined #eclipse [21:05:29] *** hello__ has quit IRC [21:11:14] *** benowar has joined #eclipse [21:18:21] *** lnxnt has quit IRC [21:19:06] *** kjkoster5489 has quit IRC [21:19:59] *** parti has quit IRC [21:20:48] *** parti has joined #eclipse [21:22:20] *** grEvenX has quit IRC [21:41:08] *** cerbereus has joined #eclipse [21:47:00] *** floppypond has quit IRC [21:50:43] *** vwegert has quit IRC [21:50:44] *** chadchoud has joined #Eclipse [21:52:46] *** edrin has left #eclipse [21:55:20] *** ekuleshov has joined #eclipse [22:06:29] *** riishigh_ is now known as riishigh [22:11:23] *** floppypond has joined #eclipse [22:18:44] *** Russell has joined #eclipse [22:25:26] *** ali_ has joined #eclipse [22:25:49] <ali_> where can i find some info about the next version of eclipse? [22:26:21] <rcjsuen_> google eclipse 3.4 plan or something i guess [22:26:42] <njbartlett_> ali_: Depends if you mean 3.4M5, or just 3.4, or 4.0 :-) [22:26:59] <ali_> 4.0! [22:27:23] <njbartlett_> Ah. Well that's pie in the sky stuff at the moment. [22:27:44] <njbartlett_> Some people are starting to think about what might be in 4.0 though [22:27:58] <ali_> no roadmaps on the eclispe website? [22:28:12] <rcjsuen_> no becaues no one really knows the answer [22:28:13] <ali_> the wbesite is gone crap to be honest, very useless and hard to find ur way [22:28:14] *** rcjsuen_ is now known as rcjsuen [22:28:29] <rcjsuen> ali_: File bugs then. [22:28:36] <ali_> so where is the current roadmap? [22:28:48] <ali_> they used to have a roadmaps for future features [22:29:03] *** lnxnt has joined #eclipse [22:29:57] <njbartlett_> http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_4.html [22:49:22] *** drkwolf has joined #eclipse [22:49:27] *** Zerone has joined #eclipse [22:49:29] <Zerone> ello :) [23:09:20] *** zither has left #eclipse [23:15:18] *** grEvenX has joined #eclipse [23:28:16] *** eble has joined #eclipse [23:34:50] <rcjsuen> grEvenX: You should check bugzilla if you're getting errors. [23:34:53] <rcjsuen> ~tell grEvenX about info [23:34:53] <KOS-MOS> grEvenX: Please state your CPU architecture (x86, 64-bit, etc.), operating system (Windows, Linux, Mac OSX, etc.), your Java runtime environment (unless you checked in your workspace logs and/or in the about dialog, you do not know _for sure_, please see ~jre. No, typing 'java -version' in the command line does not count as checking), your Eclipse version, and where did you download Eclipse from. [23:34:55] <rcjsuen> ~tell grEvenX about logs [23:34:55] <KOS-MOS> grEvenX: Looking for your Eclipse logs? Try Window > Show View > Other > PDE Runtime > Error Log. Or look at the <workspace>/.metadata/.log file. If you want to paste it somewhere, see ~pastebin - http://wiki.eclipse.org/index.php/IRC_FAQ#Where_are_Eclipse.27s_log_files_located_at.3F - http://wiki.eclipse.org/index.php/FAQ_Where_can_I_find_that_elusive_.log_file%3F [23:50:44] *** Hesabo has left #eclipse [23:52:46] <ali_> can i 'embed' a c/c++ application inside eclipse? [23:53:26] *** ali_ has quit IRC [23:53:40] <rcjsuen> Embed? [23:53:43] <rcjsuen> Oh well, gone. [23:54:05] <njbartlett_> rcjsuen: Sheesh, what's the point in asking a question like that and logging out less than a minute later [23:54:36] * rcjsuen shrugs at njbartlett_. [23:54:39] <rcjsuen> Sometimes you just gotta go. [23:54:48] <njbartlett_> True [23:55:46] *** rahul_ has quit IRC [23:55:47] *** camason has joined #eclipse [23:56:10] <camason> Hey all :) Does anyone know if XDebug is working with eclipse 3.3? [23:56:37] *** acuster has quit IRC