logs | stats
   January 6, 2008  
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:17:56] *** __zzz__ has joined #eclipse
[00:18:41] <splatch_> rcjsuen: i tired to run eRCP on Montorola Symbol MC70
[00:18:44] <splatch_> and i give up
[00:18:58] <splatch_> is pretty hard to run java on windows mobile
[00:19:37] <rcjsuen> oh
[00:19:46] <rcjsuen> I installed J9 on it, it wasn't too bad.
[00:21:41] <splatch_> i've j9 too, but i haven't signed code and i don't know how to sign it
[00:22:04] <splatch_> (not java code, the windows wan't signed link!)
[00:22:12] <splatch_> *want
[00:22:36] <rcjsuen> oh
[00:22:39] <rcjsuen> i diddn't seem to have that problem
[00:22:46] <rcjsuen> i just made a shortcut in notepad and copy/paste to my iPAQ
[00:23:27] <splatch_> i've plain eRCP samples and my ME says - no f* way to run it ;)
[00:23:55] <splatch_> the second reason to say "no" this mobile app is cost
[00:24:24] <splatch_> i've buy j9's license to use it commercial
[00:24:30] <splatch_> am i right, rcjsuen?
[00:25:41] <rcjsuen> yes,  ibelieve so
[00:27:25] <splatch_> but, my visual studio license need be paid too
[00:29:14] <camason> for some reason, my apache is segfaulting every time xdebug tries to connect to apache's listening port. Debugging operates fine via the basic client debugger
[00:29:26] <camason> connects to eclipse's listening port*
[00:32:13] *** chadchoud has quit IRC
[00:34:42] *** eelriver has joined #eclipse
[00:37:12] *** benowar has quit IRC
[00:39:38] *** camason has quit IRC
[00:44:23] *** Zerone has quit IRC
[01:00:04] *** cerbereus has quit IRC
[01:00:28] *** Echidna_ is now known as Echidna
[01:00:33] *** Echidna has left #eclipse
[01:02:28] *** __zzz__ has quit IRC
[01:19:15] <d_a_carver> How can I open or create an IFile object given a URL.
[01:23:37] <rcjsuen> from IWorkspaceRoot getFile i guess
[01:24:02] *** co2 has quit IRC
[01:28:43] *** steegf has joined #eclipse
[01:34:41] <d_a_carver> rcjsuen: what about from a bundle
[01:36:38] <rcjsuen> mm, but a bundle could be a jar file
[01:36:47] <rcjsuen> what are you trying to od
[01:37:00] <rcjsuen> IFiles are for workspace resources, a bundle's files don't really fit that description imo
[01:42:54] *** soulreaper has quit IRC
[01:44:22] <d_a_carver> rcjsuen: I'm being passed a java.net.URL...and need to get it to a IFile resource.
[01:44:54] <rcjsuen> but why do you need an IFile for something that's in a bundle
[01:45:22] <d_a_carver> rcjsuen: don't necessarrily, as the url resolves back to the bundle.
[01:45:36] *** eble has quit IRC
[01:45:59] <d_a_carver> If I did a openstream on the url, I keep getting an invalid encoding when reading the file.
[01:46:03] *** fsteeg has quit IRC
[01:46:11] <rcjsuen> hm
[01:46:16] <rcjsuen> is the path relative to the bundle?
[01:47:04] <d_a_carver> rcjsue: it comes in as file:/home/.....
[01:47:19] <rcjsuen> hm
[01:47:32] *** grEvenX has quit IRC
[01:47:48] <rcjsuen> Is the bundle in a jar form?
[01:47:59] <rcjsuen> is it like /home/rcjsuen/eclipse/plugins/a.b.c/file.html?
[01:50:11] <rcjsuen> imma go afk for a bit, but maybe you could pastebin some code embedding some comments with what string values you have available and what you want as your end result? namely, yo uwanted an IFile, why, what did you want to do with it?
[01:50:29] <d_a_carver> yes.
[02:00:37] <d_a_carver> rcjsuen...XmlDocumentLoader,createStructuredDocument() has three possible methods. createStructuredDocument(), createStructuredDocument(IFile), createStructuredDocuement(filename, InputStream)
[02:00:50] <rcjsuen> mm
[02:00:54] <rcjsuen> ~tell d_a_carver about FileLocator
[02:00:59] <rcjsuen> ~tell d_a_carver about api FileLocator
[02:01:00] <KOS-MOS> d_a_carver: org.eclipse.core.runtime.FileLocator - http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/runtime/FileLocator.html
[02:01:14] <d_a_carver> When I try the InputStream doing url.openstream() it complains about encoding.
[02:01:14] <rcjsuen> if you can do some string manipulation, you could open an input stream thru FileLocator's method
[02:01:21] <rcjsuen> maybe that InputStream works?
[02:03:29] <d_a_carver> rcjusen: I'll see what I can come up with.
[02:04:02] <d_a_carver> all of this so I can see how compliant the wtp's dom is with the w3c dom test suite.
[02:04:07] *** rawblem has joined #eclipse
[02:06:26] *** robin_ has quit IRC
[02:09:46] *** Soskel has joined #eclipse
[02:09:51] *** Soskel has left #eclipse
[02:23:12] *** Russell has quit IRC
[02:23:27] *** Russell^ has joined #eclipse
[02:24:49] *** drkwolf has quit IRC
[02:46:26] <seamusv> I have defined an org.eclipse.ui.editors extension in my plugin.xml file and defined a basic editor - extends EditorPart and displays a "hello" in the createControlPart method. In the plugin.xml, I have defined a contributorClass and set the "filenames" to "site.aff", but Eclipse cannot find an editor to satisfy opening the "site.aff" file. Like my editor, my contributionClass is just a class which extends EditorActionBarContributor but doesn't do anyt
[02:49:56] <rcjsuen> seamusv: what do you mean by "Eclipse cannot find"
[02:50:07] *** qwstar has joined #eclipse
[02:51:02] <qwstar> how could I make a thumbnail browser with a grid of images using SWT?
[02:51:44] *** Token has joined #eclipse
[02:51:51] <rcjsuen> I guess you'd use some layout (RowLayout maybe?) and just draw them in.
[02:51:57] <seamusv> When I double-click on the "site.aff" file in the Project Explorer, I receive the Windows dialog that the file cannot be associated with the extension. I am assuming that Eclipse is passing this along as an external editor as it cannot find an internal editor to satisfy the request. My editor does not appear in the "Open with..." menu either.
[02:52:00] <rcjsuen> You could also try Nebula's Gallery widget I s'pose.
[02:52:13] <rcjsuen> seamusv: Please pastebin your plugin.xml file.
[02:52:20] <qwstar> rcjsuen: thanks!
[02:53:40] *** Token- has quit IRC
[02:54:06] <seamusv> http://pastebin.com/m6f0ad522
[02:54:21] *** Token is now known as Token-
[02:54:41] <seamusv> I was playing with the XML editor to open a "site.aff", so I've renamed this to open "site.afg" but it still didn't work.
[02:55:22] *** Russell^ has quit IRC
[02:56:05] <rcjsuen> seamusv: Set an icon.
[02:56:30] <seamusv> Are you serious? :) Let me try...
[02:57:18] <Token-> seamusv did you eat ordure?
[02:57:37] *** raja has joined #Eclipse
[02:57:40] <seamusv> Nope -- that didn't help either.
[02:57:50] <raja> hello
[02:57:55] <rcjsuen> raja: Hi
[02:58:15] <raja> I am new commer to java and eclipse
[02:58:31] <raja> i have background on delphi 5
[02:58:41] <rcjsuen> seamusv: When you created the XML editor, that worked, right
[02:59:17] <raja> i want to create RCP database application which is RDBMS independent
[02:59:29] <seamusv> For XML files, but not when I changed the extension to "aff" or the filename to "site.aff".
[02:59:54] <raja> can somebody tell me which eclipse ooption should I download
[03:00:06] <rcjsuen> seamusv: Extension should be *.aff, I think.
[03:01:21] <qwstar> rcjsuen: do you know of anything like the nebula gallery widget, that's stable/released?
[03:02:06] *** pombred1 has joined #eclipse
[03:02:22] <seamusv> rcjsuen: That didn't work either. I've created an editor from my ecore file and that worked but I'm trying to create another editor... funny thing is that I just set the "extension" to "aff" but I cannot get it to work in the editor I've manually created.
[03:02:37] <qwstar> rcjsuen: the nebula one looks like it'd do great for my purposes, just wondering if there are more widgets like it
[03:02:57] <rcjsuen> qwstar: No, I don't.
[03:03:14] <seamusv> rcjsuen: I've gone over the plugin.xml file between the two and for the life of me I cannot find a difference.
[03:03:16] <rcjsuen> seamusv: Wait, if you change the generated editor to *.aff it works?
[03:03:27] <qwstar> rcjsuen: alright, thanks
[03:03:32] <rcjsuen> seamusv: Do you have -consoleLog?
[03:03:33] <seamusv> rcjsuen: Just "aff", yes.
[03:03:52] <seamusv> rcjsuen: I'll change the run parameter to include that.
[03:04:21] <rcjsuen> ~tell seamusv about consoleLog
[03:04:25] <rcjsuen> ~tell seamusv about consolelog
[03:04:26] <KOS-MOS> seamusv: Writing an Eclipse-based application and can't find anything useful in your console and/or getting "Unhandled event loop exceptions"? Add -consoleLog as a 'Program Argument' to your launch configuration. See http://wiki.eclipse.org/Graphical_Eclipse_FAQs#I_get_an_unhandled_event_loop_exception_in_my_console._What_gives.3F
[03:06:09] *** rawblem has quit IRC
[03:06:46] <seamusv> rcjsuen: Sweet! I have a stack trace I can go forward with. I'm getting a PartInitException that my "Site is incorrect." Thanks for the -consoleLog tidbit.
[03:07:32] <raja>  rcjsuen: can u help me ?
[03:08:35] <rcjsuen> raja: I don't know what RDBMS is.
[03:08:58] <raja>  rcjsuen: like Oracle/informix etc etc
[03:09:32] <raja>  rcjsuen: i.e. backend data server independent
[03:09:54] <seamusv> rcjsuen: Right on! I googled my error and found the problem. Again, thanks for -consoleLog parameter. This could have saved me a few hours of fruitless research.
[03:09:58] * rcjsuen shrugs.
[03:10:06] <rcjsuen> raja: I would just download the Eclipse Classic package.
[03:10:17] <raja>  rcjsuen: OK
[03:10:32] <raja>  rcjsuen: what about Visual editor ?
[03:10:49] <rcjsuen> raja: I don't use GUI builders.
[03:11:13] <raja>  rcjsuen: have u tried RCP applications ?
[03:11:26] <rcjsuen> raja: I write Eclipse plug-ins. So that kind of counts as RCP apps.
[03:11:38] <rcjsuen> Close enough.
[03:11:43] <rcjsuen> It's pretty much the same thing anyway.
[03:11:44] <raja> ok
[03:11:59] <seamusv> rcjsuen: Heh, and again thanks to the -consoleLog, I did another test: Required attribute 'icon' not defined
[03:12:18] <rcjsuen> seamusv: Yup, just as I thought.
[03:13:01] <raja>  rcjsuen: can u suggest me way to get help to get GUI builder working in eclipse ?
[03:14:05] *** Token- has quit IRC
[03:14:35] <rcjsuen> http://wiki.eclipse.org/VE/Installing That might be helpful I guess.
[03:16:03] *** pombreda has quit IRC
[03:16:50] *** Dewio has joined #eclipse
[03:25:08] *** safak has joined #eclipse
[03:30:17] *** Dewi has quit IRC
[03:33:15] *** DPAK0H has quit IRC
[03:36:51] *** fzlogik has quit IRC
[03:37:02] *** raja has quit IRC
[03:43:08] *** lnxnt has quit IRC
[04:01:48] *** eelriver_ has joined #eclipse
[04:03:07] *** eelriver has quit IRC
[04:27:02] *** PovAddict has joined #eclipse
[04:28:29] <PovAddict> how do I install a plugin that I downloaded? it's not on an "update site", it's just a .zip
[04:28:39] <rcjsuen> ~manage
[04:28:39] <KOS-MOS> Manage your Eclipse environment - http://www-128.ibm.com/developerworks/opensource/library/os-ecl-manage/
[04:28:43] <rcjsuen> PovAddict: Enjoy.
[04:28:51] <PovAddict> "The IBM developerWorks Web site is currently under maintenance."
[04:29:00] <PovAddict> what a luck I have
[04:29:09] <rcjsuen> Guess I'll have to take that back.
[04:29:13] <PovAddict> :D
[04:29:36] <rcjsuen> There's the short and potentially error prone way.
[04:29:39] <rcjsuen> And there's the longer way.
[04:29:57] <rcjsuen> Maybe error prone is the wrong choice of words.
[04:30:13] <rcjsuen> Let's just say it's more difficult to maintain / manage updates (if you care about that stuff).
[04:30:18] <PovAddict> tell me both and I'll tradeoff "error prone" and "my lazyness"
[04:30:22] <PovAddict> oh
[04:30:34] <PovAddict> so, easier now, or easier later :)
[04:30:38] <qwstar> eclipse is crashing with java.lang.OutOfMemoryError: PermGen space
[04:30:39] <rcjsuen> It'll work.
[04:30:47] <rcjsuen> It, just isn't very maintain-able across Eclipse upgrades.
[04:30:55] <rcjsuen> ~tell qwstar about memory
[04:30:56] <KOS-MOS> qwstar: Having memory problems? Please see http://wiki.eclipse.org/IRC_FAQ#I.27m_having_memory.2C_heap.2C_or_permgen_problems.2C_what_can_I_do.3F and http://eclipsenuggets.blogspot.com/2007/10/does-your-eclipse-3.html
[04:31:13] <qwstar> rcjsuen: thanks
[04:34:14] <PovAddict> so...
[04:34:17] <PovAddict> tell me the long way, I guess
[04:34:36] <rcjsuen> PovAddict: http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/product_extension.htm
[04:34:37] <rcjsuen> basic idea
[04:34:47] <rcjsuen> follow the directory structure depicted in the first code snippet
[04:34:51] <rcjsuen> "betterwebs"
[04:34:54] <rcjsuen> so create a folder like
[04:35:03] <rcjsuen> my-eclipse-plugins/ or whatever
[04:35:07] <rcjsuen> that has eclipse/ in it
[04:35:14] <rcjsuen> with .eclipseextension, plugins/, and features/
[04:35:19] <rcjsuen> and put the corresponding stuff in said folders
[04:35:28] <rcjsuen> open Help > Software Updates > Manage Configuration and click on the "Add an extension location" link on the right pane.
[04:35:29] <PovAddict> that link loaded, then shortly after redirected me to "Using the Eclipse help system"
[04:35:30] <rcjsuen> and point to that folder
[04:35:43] <rcjsuen> Page loads fine on my end
[04:35:59] * PovAddict hates sites that totally break usability with JS off
[04:36:00] <rcjsuen> PovAddict: Platform Plug-in Developer Guide > Packaging and delivering Eclipse based products > Product extensions
[04:36:41] <PovAddict> hmm I already have eclipse/{features,plugins}...
[04:36:48] <PovAddict> or is this a new directory with similar structure?
[04:37:39] <rcjsuen> Yes, a new one.
[04:37:46] <rcjsuen> This way, if you install a new Eclipse, you can just say
[04:37:52] <rcjsuen> "Oh, I'll just point it to my plug-ins folder"
[04:37:53] <rcjsuen> instead of
[04:38:04] <rcjsuen> "oh damn i don't know what they're called, they're all over the place, i'm screwed"
[04:38:43] <rcjsuen> Most people have an "extension folder" for each plug-in.
[04:38:46] <rcjsuen> That's a good practice.
[04:38:49] <rcjsuen> Do as you please.
[04:40:40] *** eelriver has joined #eclipse
[04:42:05] <PovAddict> what is .eclipseextension supposed to have?
[04:42:30] <rcjsuen> it can consist of nothing actually
[04:42:41] <rcjsuen> It's supposed to say stuff but I don't think it matters.
[04:42:59] <rcjsuen> Mine is like this 'id=org.eclipse.platform (newline) name=Eclipse Platform (newline) version=3.3.0
[04:43:08] <rcjsuen> but I think once I put nothing in it it still worked
[04:43:09] * rcjsuen shrugs.
[04:44:51] <PovAddict> can 'plugins' have the zip, or do I need to extract it?
[04:45:16] <rcjsuen> Extract it.
[04:45:22] <rcjsuen> You'll likely see a plugins/ features/ folder emerge.
[04:45:29] <rcjsuen> Then by the power of common sense, you'll know what to do with them.
[04:45:47] <PovAddict> no, the zip has a plugin.xml, and folders named after the java packages it contains
[04:45:54] <PovAddict> it doesn't have plugins|features
[04:46:15] <rcjsuen> Sounds like it is itself.
[04:46:22] <rcjsuen> You'd just make your own folder then I guess.
[04:46:27] <rcjsuen> plugins/a.b.c/
[04:46:28] <rcjsuen> dunk it in
[04:46:39] <PovAddict> I noticed that's the same structure that jar files have in my main eclipse/plugins
[04:46:44] *** eelriver_ has quit IRC
[04:46:54] <rcjsuen> That's correct.
[04:46:59] <rcjsuen> I guess you could rename your zip to jar
[04:47:02] <rcjsuen> That might work.
[04:47:03] * rcjsuen shrugs.
[04:47:13] <rcjsuen> They are one of the same anyway.
[04:47:46] <PovAddict> tried jar, tried also extracting, Eclipse doesn't seem to notice its existence... Manage Configuration doesn't show the plugin, shows the my-plugins extension location as empty
[04:48:06] <PovAddict> er, wait
[04:48:31] * PovAddict noticed a mistake extracting; zip already had directories :P
[04:48:45] <PovAddict> hmm... nope
[04:49:33] <rcjsuen> Are you on a non-Windows OS?
[04:50:10] <PovAddict> Windows XP Sp2, Eclipse 3.3.1.1, plugin in question -> http://www.origo.ethz.ch/download/11
[04:51:13] <rcjsuen> That complicates things slightly.
[04:51:23] <rcjsuen> I was hoping you could give me the output of a 'find' or a recursive 'ls'.
[04:51:33] <rcjsuen> Can you do a recursive 'dir' or something in the command prompt?
[04:51:41] <PovAddict> I have enough unix tools installed on this system...
[04:51:53] <rcjsuen> okay, well
[04:51:54] <PovAddict> all of gnuwin32, msys/mingw, and cygwin
[04:51:55] <PovAddict> :)
[04:51:56] <rcjsuen> go to the folder you made
[04:52:00] <rcjsuen> and just run 'find'
[04:52:03] <rcjsuen> and pastebin the output
[04:52:46] *** conan has quit IRC
[04:52:51] <PovAddict> http://rafb.net/p/3xpcsn70.html
[04:52:55] *** conan has joined #eclipse
[04:53:27] <rcjsuen> so what happened
[04:53:34] <rcjsuen> in Eclipse
[04:54:19] <PovAddict> http://stuff.povaddict.com.ar/eclipse-product-config.png
[04:54:23] <rcjsuen> PovAddict: This is mine http://pastebin.ca/843454 so it looks like you have the structure right.
[04:54:24] <PovAddict> not much
[04:54:33] <rcjsuen> oh, so it picked it up
[04:54:42] <rcjsuen> except there's nothing htere
[04:54:51] <rcjsuen> or wait, hm
[04:54:54] <rcjsuen> ~tell PovAddict about clean
[04:54:54] <KOS-MOS> PovAddict: 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
[04:56:02] <PovAddict> nope :-\
[04:56:44] <rcjsuen> Can you delete the jar.
[04:56:55] <rcjsuen> Or delete the folder.
[04:57:01] <rcjsuen> Either or. They might be causing problems.
[04:57:08] <PovAddict> jar --> bit bucket
[04:57:13] <PovAddict> I'll try -clean again
[04:57:35] <rcjsuen> real delete instead of recycling bin might be better
[04:58:05] <PovAddict> damned thing...
[04:58:20] <rcjsuen> ~logs
[04:58:20] <KOS-MOS> 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
[04:58:23] <rcjsuen> Might also want to check your logs.
[04:58:43] <PovAddict> on the workspace, not the install dir?
[04:59:10] <rcjsuen> well, there are various logs
[04:59:15] <rcjsuen> you could check the workspace's
[04:59:39] <PovAddict> hmm interesting
[04:59:48] <PovAddict> mylyn errors
[05:00:13] <rcjsuen> Those come up like all the time (though was supposedly fixed a few weeks ago).
[05:00:23] <PovAddict> !MESSAGE While loading class "org.eclipse.mylyn.tasks.ui.TasksUiPlugin", thread "Thread[main,6,main]" timed out waiting (5000ms) for thread "Thread[Worker-4,5,main]" to finish starting bundle "update at plugins/org dot eclipse.mylyn.tasks.ui_2.1.0.v20070927-0900.jar [236]". To avoid deadlock, thread "Thread[main,6,main]" is proceeding but "org.eclipse.mylyn.tasks.ui.TasksUiPlugin" may not be fully initialized.
[05:00:28] <rcjsuen> PovAddict: Help > About Eclipse SDK > Plug-in Details
[05:00:32] <rcjsuen> Do you see the plug-in there?
[05:00:54] <rcjsuen> those table columns are sort-able btw
[05:01:14] <PovAddict> sorted by provider by default
[05:01:15] *** eelriver has quit IRC
[05:01:33] <PovAddict> oh seems to be there now
[05:01:43] <rcjsuen> well ,yeah
[05:01:44] <rcjsuen> but
[05:01:47] <PovAddict> I checked on one of the previous attempts and it wasn't
[05:01:48] <rcjsuen> nobody cares about the provider
[05:01:49] <rcjsuen> so ;)
[05:04:19] <PovAddict> wow
[05:04:28] <PovAddict> there are some menu items from the plugin
[05:04:39] <PovAddict> still doesn't show on "manage configuration"
[05:04:41] <PovAddict> :-/
[05:04:56] <rcjsuen> PovAddict: That only shows features.
[05:05:02] <PovAddict> :o
[05:05:32] <PovAddict> great
[05:05:58] <PovAddict> now just got to learn how the plugin is used :P
[05:06:38] <PovAddict> wtf... depends on a command line tool
[05:06:45] *** eelriver has joined #eclipse
[05:07:31] <PovAddict> as if it was so hard to do XML-RPC from the plugin itself :|
[05:08:01] <rcjsuen> Harder than you thought, apparently.
[05:16:54] <d_a_carver> rcjsuen: got it so that the WTP DOM can be passed to the test suites...65 of the tests pass out of 525...but I think the majority of the failures are my setup errors... but progress has been made at least.
[05:17:57] <rcjsuen> d_a_carver: axesome
[05:18:17] *** derjohn has quit IRC
[05:18:33] *** derjohn has joined #eclipse
[05:27:09] *** Infinito_ has joined #eclipse
[05:28:02] <d_a_carver> later
[05:28:35] *** d_a_carver has quit IRC
[05:29:16] *** spekkie has quit IRC
[05:29:57] *** spekkie has joined #eclipse
[05:42:31] *** steegf has quit IRC
[05:43:24] *** Infinito_ has quit IRC
[05:43:45] *** fsteeg has joined #eclipse
[05:44:27] *** fsteeg has quit IRC
[05:50:30] *** Secular has joined #eclipse
[05:54:36] *** Secular has quit IRC
[05:56:17] *** rcjsuen has quit IRC
[06:00:38] *** dan2 has quit IRC
[06:00:53] *** Dewio is now known as Dewi
[06:01:24] *** dan2 has joined #eclipse
[06:01:27] <qwstar> how can I get cdt to automatically link to the library in a referenced project?
[06:01:32] *** PovAddict has left #eclipse
[06:02:28] *** parti has quit IRC
[06:26:06] *** eggauah has quit IRC
[06:49:30] *** cerbereus has joined #eclipse
[06:53:41] <qwstar> with subclipse is it possible for an entire workspace to be checked out, as a group? instead of individual projects
[06:54:04] *** mrsolo_ has quit IRC
[07:04:56] *** landonf has joined #eclipse
[07:11:16] <landonf> I'd like to support Eclipse-based project development, but I have a code generation step that needs to run as a part of the build -- is there any way to integrate this into the Eclipse Java project in a way that will be convenient for our eclipse-using developers?
[07:17:18] *** slyck has joined #eclipse
[07:20:55] *** parti has joined #eclipse
[07:33:35] *** slyck has left #eclipse
[07:35:38] <ijuma> landonf: you can use a builder
[07:36:39] <ijuma> landonf: right-click on project, select Builders tab and go from there
[07:50:51] *** xushi has joined #eclipse
[07:55:28] *** schnootop has joined #eclipse
[07:56:03] <landonf> ijuma: Aaah. Super, thanks.
[07:56:19] <ijuma> landonf: np
[07:58:20] *** qwstar has left #eclipse
[08:00:34] <schnootop> do you have to download RCP or is that within the eclipse SDK
[08:01:06] *** vwegert has joined #eclipse
[08:13:09] *** asac_ has joined #eclipse
[08:17:51] *** Sam30 has joined #eclipse
[08:18:02] *** Sam30 has left #eclipse
[08:27:45] *** asac has quit IRC
[08:27:45] *** asac_ is now known as asac
[08:34:46] <ijuma> schnootop: it's part of the SDK but you can also download it separately
[08:35:06] *** REGJAVA has joined #eclipse
[09:05:44] *** kjkoster5489 has joined #eclipse
[09:26:51] *** dominikg has joined #eclipse
[09:36:18] *** chadchoud has joined #Eclipse
[09:39:20] <schnootop> ijuma, do you know the exact url for the update manager, because for some reason i cant update certain rcp patches and it gives me errors :\
[09:44:57] *** pfn has joined #eclipse
[10:19:11] *** chadchoud has quit IRC
[10:19:32] *** REGJAVA has quit IRC
[10:24:11] *** co2 has joined #eclipse
[10:38:53] *** lokkju_wrk_ has joined #eclipse
[10:42:32] *** nerdboy is now known as nerdboy|off
[10:54:49] *** lokkju_wrk has quit IRC
[11:17:05] *** bgilb has joined #eclipse
[11:17:13] <bgilb> eclipse can't find my library and i dont know why :[
[11:19:47] *** TomTom has joined #eclipse
[11:24:32] *** Token- has joined #eclipse
[11:25:24] *** xLE has joined #eclipse
[11:27:03] <xLE> i have the eclipse c/c++ editor, when i try to debug.. it sends me to this window "Run" then asks me for "c/c++ application: ".. i have no clue what that is?
[11:31:20] <dominikg> i don't use cdt so i can only guess: its a launch configuration and you have to provide an entry point
[11:31:53] <xLE> meaning the project file?
[11:32:18] <dominikg> project file? more like the main function that starts your program
[11:32:45] <dominikg> *methodf
[11:33:07] <xLE> hm
[11:35:03] <dominikg> xLE: http://download.eclipse.org/tools/cdt/docs/tutorials/debug_tutorial/cdt_w_debug.htm
[11:37:15] <xLE> thanks
[11:38:26] *** TomTom has quit IRC
[11:38:33] <dominikg> no problem. You can also find this in your eclipse installation, go to help -> help content -> c/c++ dev guide -> getting started -> debugging
[11:46:48] *** lnxnt has joined #eclipse
[11:58:56] *** safak has quit IRC
[12:05:41] *** robinr has joined #eclipse
[12:09:52] *** xushi has quit IRC
[12:14:48] *** xushi has joined #eclipse
[12:19:39] *** JavaWoman has quit IRC
[12:21:14] *** Infinito_ has joined #eclipse
[12:21:42] *** mhaller has quit IRC
[12:24:25] *** robinr has joined #eclipse
[12:26:17] *** robinr has quit IRC
[12:27:11] *** JavaWoman has joined #eclipse
[12:29:49] *** robinr has joined #eclipse
[12:32:09] *** robinr has quit IRC
[12:32:40] *** robinr has joined #eclipse
[12:34:26] *** robinr has quit IRC
[12:37:06] *** whizter has joined #eclipse
[12:40:57] *** mhaller has joined #eclipse
[12:41:39] *** fzlogik has joined #eclipse
[12:42:42] *** Infinito_ has quit IRC
[12:46:24] *** chillmann has joined #eclipse
[12:59:01] *** benowar has joined #eclipse
[13:01:10] *** kjkoster5489 has quit IRC
[13:09:57] <lnxnt> in this old book there is a screenshot showing extension points in eclipse by clicking plugin.xml and their usage on the right side. In the new version of eclipse in manifest.mf there is there such a page too? I can't find it
[13:11:55] <lnxnt> maybe it is the references link then
[13:12:05] <lnxnt> I guess
[13:14:54] *** geoaxis has quit IRC
[13:17:55] *** JeLuF has left #eclipse
[13:28:14] *** schnootop has left #eclipse
[13:28:37] *** soulreaper has joined #eclipse
[13:30:20] *** whizter has quit IRC
[13:34:06] <Token-> when I compile somethink in eclipse, works normally but at end of code it show-me a red message "ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2" .... what this mean?
[13:35:51] *** mrsolo_ has joined #eclipse
[13:39:34] *** rcjsuen has joined #eclipse
[13:41:42] <rcjsuen> lnxnt: that might be what you see when you click on the 'Add' button on the 'Extensions' tab
[13:41:55] <rcjsuen> Token-: try googling the error
[13:42:29] <Token-> right
[13:42:45] <rcjsuen> bgilb: Library?
[13:50:15] *** kjkoster5489 has joined #eclipse
[13:51:38] *** chillmann has quit IRC
[13:55:34] *** Rayaken has joined #eclipse
[14:06:48] *** dan`afk has joined #eclipse
[14:10:41] *** geoaxis has joined #eclipse
[14:10:57] *** dan`afk has quit IRC
[14:12:18] *** benowar has quit IRC
[14:20:56] *** FanBoy has joined #eclipse
[14:21:19] <FanBoy> How does one step through EVERY line of code, without setting a million and one breakpoints?
[14:22:10] <rcjsuen> use F5, F6, and F7?
[14:22:59] *** mhaller has quit IRC
[14:34:13] <rcjsuen> FanBoy: Does that help?
[14:36:23] *** eggauah has joined #eclipse
[14:37:34] *** Rayaken has quit IRC
[14:46:32] *** eggauah has quit IRC
[14:48:44] *** eggauah has joined #eclipse
[14:49:56] <FanBoy> ahh F6, thank you rcjsuen
[14:50:49] <rcjsuen> Okay.
[14:58:10] *** __zzz__ has joined #eclipse
[14:58:43] *** xLE has quit IRC
[15:02:25] *** drkwolf has joined #eclipse
[15:06:53] *** chillmann has joined #eclipse
[15:13:39] *** dominikg has quit IRC
[15:22:11] *** fsteeg has joined #eclipse
[15:22:43] *** eggauah has quit IRC
[15:25:57] *** acuster has joined #eclipse
[15:28:07] *** eggauah has joined #eclipse
[15:38:34] *** eggauah has quit IRC
[15:40:54] *** kirkt has joined #eclipse
[15:42:23] *** parti has quit IRC
[15:50:57] *** robinr has joined #eclipse
[15:57:50] *** chillmann has quit IRC
[15:58:33] *** spekkie has quit IRC
[16:05:38] *** lnxnt has quit IRC
[16:06:10] *** LeVA has joined #eclipse
[16:06:34] *** spekkie has joined #eclipse
[16:09:32] *** bingobob has joined #eclipse
[16:09:49] *** kjkoster5489 has quit IRC
[16:11:13] *** bingobob has left #eclipse
[16:14:52] *** __zzz__ has left #eclipse
[16:23:32] *** dominikg has joined #eclipse
[16:24:15] *** xushi has quit IRC
[16:30:13] *** ekiczek has quit IRC
[16:37:47] *** Carnage\ has joined #eclipse
[16:38:12] *** chillmann has joined #eclipse
[16:48:58] *** chillmann has quit IRC
[17:14:17] *** d_a_carver has joined #eclipse
[17:23:46] *** ekuleshov has quit IRC
[17:26:21] *** hello__ has joined #eclipse
[17:27:40] <hello__> do you know some text editors that can indent a non-indented file ?
[17:27:44] <hello__> except eclipse
[17:28:52] *** soulreaper has quit IRC
[17:31:46] <kirkt> lint?
[17:43:23] *** d_a_carver has quit IRC
[17:44:48] *** hello__ has quit IRC
[17:44:55] *** d_a_carver has joined #eclipse
[17:57:39] *** asabil has joined #eclipse
[18:03:36] *** dan`afk has joined #eclipse
[18:05:12] *** dan`afk has quit IRC
[18:07:30] *** acuster has quit IRC
[18:11:49] <asabil> hi all
[18:12:05] <asabil> I have some troubles with a Wizard plugin I am writing
[18:12:10] <asabil> I get this exception
[18:12:17] <asabil> http://rafb.net/p/Shm6s479.html
[18:12:41] <asabil> when setting the description.setLocation()
[18:16:04] <nitind> But that method's not in that stack.
[18:16:39] <asabil> nitind: not when calling it itself
[18:17:14] <asabil> but basically calling it causes Project.create() to fail
[18:17:31] <nitind> Did you give it a correct value?
[18:17:38] <asabil> I think yes
[18:17:47] <asabil> I gave it the full path to the project
[18:18:07] <asabil> I checked with the debugger
[18:19:22] <nitind> And by full path you mean what, exactly?  Does it match what the doc says is supported?
[18:21:01] <asabil> /home/asabil/Devel/runtime-EclipseApplication/Test
[18:21:21] <asabil> this is the path I give it
[18:22:31] <nitind> How'd you create this description?
[18:23:31] *** Token- has quit IRC
[18:23:37] <asabil> final IProjectDescription description = workspace.newProjectDescription(project.getName());
[18:24:39] <nitind> project's an IProject?
[18:25:05] <asabil> yes
[18:25:07] <nitind> it already exists?
[18:25:39] <asabil> IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(getProjectName());
[18:25:52] <asabil> nop
[18:26:02] <asabil> I am trying to create it
[18:26:59] <asabil> the Workspace path is /home/asabil/Devel/runtime-EclipseApplication
[18:27:06] <asabil> and the project name is Test
[18:27:22] <nitind> Where'd the IProject come from?
[18:27:54] <asabil> nitind: I just pasted how I get it
[18:30:36] *** chillmann has joined #eclipse
[18:31:01] <rcjsuen> can you paste the code
[18:31:10] <nitind> Call the other create method.
[18:31:22] <asabil> rcjsuen: sure
[18:31:26] <asabil> wait a second please
[18:31:35] <nitind> One that takes a description.
[18:32:02] *** nerdboy|off is now known as nerdboy
[18:36:48] *** Breezy has joined #eclipse
[18:38:34] <asabil> rcjsuen, nitind: http://codebrowse.launchpad.net/~asabil/valable/valable.devel/annotate/ali.sabil%40gmail.com-20080106173244-00ztj4229bak0olk?start_revid=ali.sabil%40gmail.com-20080106173244-00ztj4229bak0olk&file_id=valaprojectwizard.ja-20080103150615-gyy5h7sbwb2m41ut-6
[18:39:44] <Breezy> Hey guys, I have a question about the Update Manager.  Why does the "Details" button not really provide anything more than a "stop/cancel button" and no details (like showing the files being uncompressed for example).  I looked and did not find much in bug.eclipse on this.  Is any of this being considered in the newer Update Manager being reworked?
[18:40:10] <rcjsuen> Breezy: I think so. I do remember someone bringing up the fact that there were no "details".
[18:40:49] <rcjsuen> asabil: So did you debug and see what was invalid?
[18:41:14] <asabil> rcjsuen: I did, but I didn't get the problem
[18:41:35] <rcjsuen> Eh?
[18:41:54] <asabil> status.merge(workspace.validateProjectLocationURI(project, location));
[18:41:59] <asabil> this thing fails
[18:42:15] <asabil> I don't understand really what it does
[18:43:21] <rcjsuen> asabil: Did you debug into validateProjectLocationURI?
[18:43:45] <asabil> nop
[18:43:55] <rcjsuen> Well, you know what to do.
[18:44:05] *** scorphus has joined #eclipse
[18:44:51] <asabil> I don't have its source code
[18:45:00] <asabil> and I don't know which package provides it
[18:45:44] <rcjsuen> asabil: How do you know the status.merge line died then
[18:45:58] <asabil> I debugged until there
[18:46:01] <rcjsuen> Uh
[18:46:04] <rcjsuen> So, keep debugging?
[18:46:07] <asabil> ...
[18:46:17] <asabil> I don't have the source code for the rest
[18:46:19] <rcjsuen> When you get there, hit F5?
[18:46:59] <rcjsuen> I find that difficult to believe. The Project class and the Workspace class is from the same plug-in.
[18:47:06] <rcjsuen> If you have Project's source code you should have Workspace's source code.
[18:47:15] <nitind> New stack trace?
[18:47:27] <asabil> ok wait, let me try again then
[18:47:40] <rcjsuen> nitind: New stack trace?
[18:49:12] <nitind> It sounds like a new and different failure
[18:49:16] <vwegert> Hi all. I'm having some trouble with the problems view.
[18:49:36] <rcjsuen> nitind: Hm?
[18:49:42] <vwegert> I've got an EMF-derived editor that generates error markers using the EMF validation framework
[18:49:47] <rcjsuen> There's an invalid project description being set.
[18:49:55] <rcjsuen> And in validatePL, it is checking the IProject's stuff
[18:50:08] <Breezy> Any ideas on what I use for keywords or tags to minimize the possible bug results for the "details" in Update Manager?  I see reference to "Detail Formatter" but I'm not sure if this is specifically for the Update Manager.  I see some regarding the "Provisioning" redesign, but nothing specific on this.
[18:50:20] <rcjsuen> it retrieves the URI based on the IPD
[18:50:23] *** benowar has joined #eclipse
[18:50:25] <vwegert> Now when I double-click one of the errors, my editor is re-opened again. I want the existing editor to be activated instead - how can I do that?
[18:50:34] <rcjsuen> so whatever is getting returned must not be of the proper form expected of an IPD
[18:50:55] <rcjsuen> vwegert: That is odd. Does your IMarker not correspond to one single IResource?
[18:51:16] <asabil> FileUtil.isPrefixOf(parentPath, defaultDefaultLocation)
[18:51:34] <asabil> this is what fails
[18:51:54] <rcjsuen> asabil: Well, keep debugging in that method.
[18:51:58] <asabil> so I am not allowed to set the path if it is the default location ?
[18:51:59] <rcjsuen> Until you get to the root of the problem.
[18:52:04] * rcjsuen shrugs.
[18:52:12] <rcjsuen> I've never created projects like that.
[18:52:26] <asabil> ?
[18:52:44] * asabil feels dumb for not understanding the problem
[18:52:48] *** chadchoud has joined #Eclipse
[18:53:05] <rcjsuen> I said I don't create projects with an IProjectDescription, so I do not know the answer to your path / default location / whatever problem.
[18:53:36] <rcjsuen> vwegert: Does every double-click open a new editor?
[18:53:48] <rcjsuen> vwegert: Is this a custom IEditorInput your EditorPart subclass takes?
[18:53:52] <vwegert> rcjsuen: I more or less followed http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.gmf.doc/tutorials/msl/validationTutorial.html
[18:54:04] *** soulreaper has joined #eclipse
[18:54:13] <vwegert> rcjsuen: Yes, every double-click opens a new editor.
[18:54:49] <rcjsuen> vwegert: and the IEI question
[18:54:58] <nitind> asabil: What's the location value?
[18:55:51] <vwegert> rcjsuen: as far as I can see, I'm re-wrapping the original IFileEditorInput into a FileEditorInputProxy
[18:56:02] <rcjsuen> vwegert: So it is your own class, this FEIP?
[18:56:16] <rcjsuen> vwegert: Please pastebin this class.
[18:56:54] <vwegert> rcjsuen: It's in org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document
[18:57:10] <asabil> nitind: /home/asabil/Devel/runtime-EclipseApplication/Test
[18:57:15] <rcjsuen> vwegert: I do not have that class.
[18:57:18] <rcjsuen> Please kindly pastebin it.
[18:57:25] <vwegert> rcjsuen: on my way ;-)
[18:57:48] <vwegert> rcjsuen: http://pastebin.ca/844043
[18:58:24] <rcjsuen> what is this
[18:58:27] <rcjsuen> a generated class?
[18:58:35] <rcjsuen> I guess I'll just viewvc
[18:58:38] <vwegert> rcjsuen: No
[18:58:59] <rcjsuen> ~api IProjectDescription
[18:58:59] <KOS-MOS> org.eclipse.core.resources.IProjectDescription - http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/resources/IProjectDescription.html
[18:59:15] <vwegert> rcjsuen: For me, it's just a convenient way to distribute the editing domain among the pages of my multi-page editor :-)
[18:59:33] <rcjsuen> nitind: mm "Sets the local file system location for the described project. The path must be either an absolute file system path, or a relative path whose first segment is the name of a defined workspace path variable. If null is specified, the default location is used."
[19:00:20] <rcjsuen> I think I know the problem.
[19:00:23] <rcjsuen> Although
[19:00:27] <rcjsuen> this would be a bug issue
[19:00:33] <nitind> ?
[19:00:50] <rcjsuen> whoops, that was for vwegert
[19:00:58] <rcjsuen> nitind: well, absolute paths supposedly work
[19:01:14] <rcjsuen> but i guess whatever isPrefixOf is doing, false is returned and fails
[19:01:52] <rcjsuen> vwegert: Open the SEIP class.
[19:02:09] <nitind> I still see no stck trace involving Fileutil
[19:02:25] <rcjsuen> nitind: because the IStatus doesn't report it to that level
[19:02:38] <rcjsuen> the checkDescription is just failing based on the IStatus
[19:02:47] <rcjsuen> after performing a merge with what's returned by validatePL
[19:02:53] <vwegert> rcjsuen: Yep. Pastebin?
[19:03:03] <rcjsuen> vwegert: no
[19:03:10] <rcjsuen> vwegert: Open one editor.
[19:03:19] <rcjsuen> vwegert: put breakpoint in SEIP's equals(Object) method, double-click on the marker again
[19:03:23] <rcjsuen> vwegert: see what happens
[19:04:18] <rcjsuen> asabil: Well, you see where FileUtil.isPrefixOf is failing anyway, so I presume you would have an idea of what paths to set for setLocation, no?
[19:04:48] <vwegert> rcjsuen: the system tries to compare a FileEditorInputProxy (this) with a FileEditorInput instance --> returns false
[19:04:56] <rcjsuen> vwegert: Just as I thought.
[19:05:07] <rcjsuen> ~tell vwegert about api IEditorInput
[19:05:08] <KOS-MOS> vwegert: org.eclipse.ui.IEditorInput - http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/IEditorInput.html
[19:05:13] <rcjsuen> read the class level javadoc, you see the problem
[19:05:58] <vwegert> rcjsuen: Perhaps I should not replace the IEditorInput of my own editor with my proxy, but only hand that proxy down to my sub-editors?
[19:06:09] *** bingobob has joined #eclipse
[19:07:07] <asabil> rcjsuen: yes
[19:07:23] <asabil> rcjsuen: I am trying
[19:07:54] <rcjsuen> nitind: http://pastebin.ca/844052
[19:08:01] *** bingobob has left #eclipse
[19:08:53] <rcjsuen> vwegert: No idea, I'm not familiar with emf / proxy / whatever stuff.
[19:11:45] <rcjsuen> vwegert: although imo, sounds like a bug
[19:11:52] <vwegert> rcjsuen: I remember someone saying that it's a bad idea to have an editor return something different on getEditorInput than what was put into it...
[19:12:00] <rcjsuen> vwegert: you'd kinda expect the generated editors of gmf to use IMarkers
[19:12:02] *** kjkoster5489 has joined #eclipse
[19:12:04] <rcjsuen> and if you keep opening new editors
[19:12:09] <rcjsuen> dot dot dot.........................
[19:13:29] *** drkwolf has quit IRC
[19:14:04] <vwegert> rcjsuen: I just changed the editor the way I described above and now I get the behaviour I want
[19:14:27] <rcjsuen> yeah but i don't think you should change the getEI method
[19:14:36] <rcjsuen> ~api IEditorPart#getEditorInput()
[19:14:36] <KOS-MOS> IEditorPart#getEditorInput - http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/IEditorPart.html#getEditorInput()
[19:14:59] <vwegert> rcjsuen: I didn't.
[19:15:27] <rcjsuen> oh wait, i see what you're saying
[19:15:35] <vwegert> rcjsuen: I just removed the coding in init(IEditorSite, IEditorInput) that wrapped the IEditorInput into the proxy before handing it to setInputWithNotify()
[19:15:36] * rcjsuen shrugs.
[19:17:09] <vwegert> rcjsuen: Just one more thing - if I want to navigate to the element causing the error inside my editor, where would I start looking?
[19:17:40] <Breezy> Hey guys...when using eclipse vs VS.Net, I noticed the memory footprint of eclipse tends to be a lot larger than eclipse.  Is anything being done at a upper or subproject leve to reduce the footprint of eclipse?
[19:18:03] <rcjsuen> vwegert: wha?
[19:18:18] <rcjsuen> vwegert: You want to respond to the double-click of an IMarker like what JDT does?
[19:18:25] <vwegert> rcjsuen: Yes
[19:18:32] <rcjsuen> Breezy: uh, you mean eclipse is larger than VS?
[19:19:26] *** parti has joined #eclipse
[19:19:47] <rcjsuen> ~tell vwegert about IGotoMarker
[19:19:50] <rcjsuen> ~tell vwegert about api IGotoMarker
[19:19:50] <KOS-MOS> vwegert: org.eclipse.ui.ide.IGotoMarker - http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/ide/IGotoMarker.html
[19:19:55] <nitind> vwegert: IDE.gotoMarker, and the interfaces it uses.  After that, well, you did set positional information on your markers, right?
[19:19:58] <rcjsuen> I was going to write an FAQ entry on that.
[19:20:15] <rcjsuen> But I said "well, not really an faq"
[19:20:53] *** Matrix9 has joined #eclipse
[19:21:00] <vwegert> nitind: I'm not even sure how something called "marker" comes into existence - I just return some IStatus
[19:22:36] <vwegert> nitind: but I see that my editor (originally generated by the EMF) already implements the IGotoMarker interface...
[19:23:20] <rcjsuen> well, this is where you change the implementation (if you give a damn)
[19:23:53] <vwegert> rcjsuen, nitind: thanks a lot. Programming is all about pointers anyway ;-)
[19:33:31] <Breezy> rcjsuen: Yeah, when I have pretty much everything installed and just opened, the memory usage seems to be about 100 to 200 K for eclipse compared to 30-60 K for VS.
[19:34:53] <Breezy> I know there is a little extra due to Java but it still seems a little much in comparison.
[19:35:55] <Breezy> Hmmm...right now, I am trying to open the Update Manager and the memory is up to 230 K.  Maybe it's a Update Manager memory leak.
[19:36:25] <Breezy> ...and CPU usage is up to about 96%
[19:37:53] *** parti has quit IRC
[19:37:58] <Breezy> ...now that UP has opened up, CPU is down but memory footprint is still about 236 (all those earlier memory quotes where actually megs not K)..sorry
[19:38:27] * rcjsuen shrugs.
[19:38:32] <rcjsuen> I don't know of any specific "plans".
[19:38:39] *** chillmann has quit IRC
[19:38:46] <rcjsuen> The amount of plug-ins you have would affect the memory usage.
[19:43:00] <Breezy> so then whenever you install a plug-in, it adds to the memory footprint even if you are not using that profile (say I'm using a Java perspective and not the C perspective)?
[19:43:25] <nitind> I think someone has their Ks and Ms mixed up.
[19:43:26] <rcjsuen> Well, perspectives don't relaly have anything to do with anything.
[19:43:38] <rcjsuen> You can open the Package Explorer in the C perspective.
[19:43:44] <rcjsuen> There's nothing stopping you from doing that.
[19:44:45] <Breezy> nitind: yup...I was looking at the 200 ",000" Ks :-)
[19:45:02] <nitind> Breezy: It's more to do with the plug-ins being started, and yes, custom views like that will cause their plug-ins to be started.
[19:45:14] *** piksel has joined #eclipse
[19:45:34] *** mefisto__ has joined #eclipse
[19:46:06] *** mefisto__ is now known as mefisto
[19:46:10] <piksel> is there a way in eclipse to hide dead code?  Example, in programming C, if I want to look at my Release configuration, I want all the code in #ifdef _DEBUG blocks to be hidden.  Is there a way to do this?
[19:46:47] *** mhaller has joined #eclipse
[19:47:46] <Breezy> nitind: so is if the view is not active, they won't start?
[19:48:36] <rcjsuen> if you're not using anything the plug-in provides, it's not going to get loaded, no
[19:57:20] *** lonecoder has joined #eclipse
[20:01:14] *** mef has quit IRC
[20:14:48] *** LeVA has quit IRC
[20:16:00] *** asabil has quit IRC
[20:16:09] *** landonf has left #eclipse
[20:16:49] *** rcjsuen has quit IRC
[20:17:28] *** rcjsuen has joined #eclipse
[20:25:38] *** dan`afk has joined #eclipse
[20:30:56] *** Xnumber has joined #eclipse
[20:36:06] *** Xnumber has quit IRC
[20:36:07] <kirkt> rcjsuen: there?\
[20:36:13] <rcjsuen> No
[20:36:18] <kirkt> :)
[20:36:37] <kirkt> i need to ask you an OT question, i recall you told me you're still a student
[20:37:04] <kirkt> well, our lecturers strike is in its 75th day. they're talking about canceling the whole year (only happened once in the world before)
[20:37:33] <kirkt> i'm thinking about going overseas to complete my studies. got any clue about such a process?
[20:38:16] <rcjsuen> Don't think there's really a set process.
[20:38:25] <rcjsuen> If the school takes you I'm sure they've taken international students boefre.
[20:38:31] <rcjsuen> They would help you get a student visa I suppose.
[20:39:20] <kirkt> i see. any clues about how my current grades and accumulated points translate ?
[20:39:38] <rcjsuen> I think that kinda depends on the school.
[20:40:12] <kirkt> ok, thanks
[20:40:57] <rcjsuen> One school's A isn't the same as another school's A, so I'm not sure how they handle it.
[20:41:27] <rcjsuen> My friends went on exchange once and it was just a pass/fail thing.
[20:49:10] *** scorphus has quit IRC
[20:53:35] *** rahul_ has joined #eclipse
[21:01:32] <vwegert> I'm seeing another strange issue here... I'm using the properties view for my EMF/GMF generated editors. I select some model element, its properties appear. Now I switch to the problems view or any other view in the same tabstrip as the properties view. When I switch back again, the properties are gone. Any idea?
[21:05:40] <rcjsuen> check bugzilla
[21:07:57] *** chadchoud has quit IRC
[21:10:24] *** Tortoose has joined #eclipse
[21:17:22] *** kjkoster5489 has quit IRC
[21:21:55] *** rahul_ has quit IRC
[21:35:44] *** anirban has joined #eclipse
[21:36:17] <anirban> Hi
[21:36:28] <anirban> I need some help
[21:36:43] <anirban> I have some string say about 500
[21:37:22] <anirban> and I need to find if they are referenced by the *.java files in my work space
[21:37:46] *** dan`afk has quit IRC
[21:37:49] <anirban> for a single string I can use the eclipse's file search option
[21:38:09] <anirban> but what should I do if I have lots of strings
[21:38:40] <anirban> for me best solution is if I can call the eclipse's search option from my java code
[21:38:46] <anirban> is there any way to do that
[21:39:53] <rcjsuen> I guess you'd write some plug-in that calls Eclipse's search APIs on your workspace.
[21:40:16] <anirban> No I did not write any plug ins
[21:40:33] <anirban> actually I want to know how can I call the eclipse's search API
[21:41:00] <dominikg> by writing a plug-in like rcjsuen suggested
[21:41:07] <anirban> okay
[21:41:11] <anirban> and how to do it
[21:41:20] <anirban> any link will be very helpfull
[21:41:31] <rcjsuen> ~api NewSearchUI
[21:41:32] <KOS-MOS> org.eclipse.search.ui.NewSearchUI - http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/search/ui/NewSearchUI.html
[21:41:42] <rcjsuen> You'd construct a query of some sort and then feed it to that.
[21:41:45] <rcjsuen> Is the visual version.
[21:41:55] <rcjsuen> it's like TextSearchScope or something like that
[21:42:00] <rcjsuen> ~api TextSearchScope
[21:42:00] <KOS-MOS> org.eclipse.search.core.text.TextSearchScope - http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/search/core/text/TextSearchScope.html
[21:42:03] *** praxis has joined #eclipse
[21:42:06] <anirban> okay let me check
[21:42:29] <rcjsuen> there's a listener or some kind of interface you can use to be notified of search results
[21:42:32] <rcjsuen> then do whatever you want
[21:42:41] <praxis> anyone know how to turn off auto-indenting in 3.3.1.1 ?  It seems to have changed since the previous version and it's extremely annoying.
[21:42:42] <dominikg> you could also try to feed a regular expression that looks like (string1|string2|....) if you just want to have one big list of all occurences
[21:42:59] <dominikg> another way could be to use other tools like grep
[21:43:35] <rcjsuen> praxis: Check the preferences for smart indent or something.
[21:44:51] <anirban> grep will be another good option
[21:45:04] <anirban> I am working on a windoze env
[21:45:11] <anirban> so grep will not be installed
[21:45:24] <anirban> is there any thing equivalent of in java
[21:46:21] <anirban> also for the above option do I have to install any new jars
[21:46:44] <anirban> cause I did not find any thing like org.eclipse.search.*
[21:47:22] <rcjsuen> Install jars?
[21:47:43] <rcjsuen> I have it.
[21:47:49] *** v0idnull has quit IRC
[21:47:53] <dominikg> anirban: http://gnuwin32.sourceforge.net/packages/grep.htm (disclaimer: havn't tried it myself)
[21:47:55] <rcjsuen> And you would have it, well, if you didn't, you wouldn't be able to use Ctrl+H.
[21:48:19] <praxis> rcjsuen, that sort of helps, but things are still so nuts; if I hit enter on the line after some indented code, the cursor jumps to that indentation level of the previous line
[21:48:56] <dominikg> praxis, look for 'smart caret positioning' aswell
[21:49:05] <anirban> thanks dominikg
[21:49:10] <anirban> I shall try that
[21:49:27] * rcjsuen shrugs at praxis.
[21:49:33] <rcjsuen> If it seems "broken", you should check bugzilla.
[21:49:42] <rcjsuen> 3.3.1.1 has been out for over two months.
[21:49:50] <rcjsuen> Thousands of users would've reported the same problem already.
[21:50:09] <praxis> yeah, except what scares me is people probably like it
[21:51:01] <praxis> dominikg, tried that - still no luck - it's probably damn PDT
[21:52:08] <rcjsuen> oh, I thought you were talking about Java code
[21:53:54] <praxis> rcjsuen, well both - the same behavior in either Java or PHP source files
[21:54:46] <rcjsuen> well, the php editor shouldn't be affecting the java editor
[21:55:11] <praxis> the PDT editor extends the java editor
[21:55:25] <rcjsuen> Does it?
[21:55:29] *** anirban has quit IRC
[21:55:29] <rcjsuen> Sounds ridiculous.
[21:55:48] <praxis> yeah, I happen to agree with that
[21:56:32] <rcjsuen> praxis: I see no mention of JDT. http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.php.ui/META-INF/MANIFEST.MF?root=Tools_Project&view=markup
[21:57:29] <rcjsuen> praxis: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/PHPStructuredEditor.java?root=Tools_Project&view=markup
[21:57:36] <rcjsuen> Editor does not extend JDT's CompilationUnitEditor.
[21:57:45] <praxis> rcjsuen, I didn't write it, but I can say that the PDT editor is affected by JDT settings, possibly not by design
[21:58:12] <rcjsuen> If it's reading those settings I would expect PDT to utterly fail in an environment where there is no JDT.
[21:58:21] <rcjsuen> And I have not heard of such reports.
[21:59:11] <praxis> well whatever, neither works worth a damn anymore - I sure hope eclipse doesn't become another overly bloated IDE
[21:59:22] <praxis> it was so nice the way it was, say, 2 years ago
[21:59:27] *** praxis has quit IRC
[21:59:30] <rcjsuen> If you
[21:59:32] <rcjsuen> well, too late
[21:59:53] <dominikg> well, maybe not ;)
[22:05:39] *** parti has joined #eclipse
[22:09:20] <mhaller> perhaps you should think about *removing* features instead of always adding new features to software
[22:11:10] <rcjsuen> mhaller: Feel free to suggest it on bugzilla.
[22:11:41] <mhaller> s/you/we/
[22:17:34] *** LongBeach has quit IRC
[22:23:46] *** Tortoose has quit IRC
[22:24:30] *** CasTiger has joined #eclipse
[22:25:30] <CasTiger> is there a begginner tutorial for eclipse gui building pref a database fronteend
[22:25:57] <rcjsuen> I doubt there's anything that specific.
[22:26:46] <CasTiger> ok just an introduction to gui building as i cant work out how to open the ide for gui building i have installed gef
[22:27:06] <rcjsuen> GEF is not a gui builder.
[22:27:18] <rcjsuen> GEF is a framework for constructing graphical editors.
[22:27:27] <CasTiger> thats why then what do i install to build guis
[22:28:35] <dominikg> CasTiger, do you have any experience with swing or swt?
[22:29:35] <CasTiger> no im new to java and want to learn but could do with a pointer to start i have coded vb.net so not new to programming
[22:29:58] *** rahul_ has joined #eclipse
[22:31:15] <CasTiger> do i need jigloo is that the best
[22:32:21] <dominikg> jigloo is a gui builder plugin that is free for non commercial use (iirc). There is also SWTDesigner / WindowBuilder .. MyEclipse has a gui builder. And there is the Visual Editor Project at eclipse.org, but thats currently still playing catchup with the 3.3 stream
[22:32:59] <d_a_carver> http://www.instantiations.com/swt-designer/index.html
[22:33:21] <dominikg> but for starters, i'd stick with jdt and code the gui parts without the help of a gui designer, just to get to know how things work
[22:33:58] <CasTiger> cheers guys prob bad q. but is there a book you guys recomend as i will need to buy 1
[22:38:10] *** robinr has quit IRC
[22:39:53] *** rahul_ has quit IRC
[22:41:58] *** spaceinvader has joined #eclipse
[22:42:09] <spaceinvader> is it possible to run eclipse straight from java
[22:42:14] <CasTiger> dominikg: any pointer to a tutorial for that as i prob agree
[22:42:16] <spaceinvader> i have a copy of a windows eclipse folder
[22:42:21] <rcjsuen> spaceinvader: Sorry?
[22:42:21] <spaceinvader> and i need to run it from linux
[22:42:24] <rcjsuen> "straight from Java"?
[22:42:30] <CasTiger> spaceinvader: you mean not install then yes i have
[22:42:33] <spaceinvader> i.e. with a java commany line
[22:42:38] <spaceinvader> *command line
[22:42:43] <spaceinvader> and not from the eclipse binary
[22:42:49] <rcjsuen> Yes, you can, it's doable.
[22:43:16] <rcjsuen> Since you (most likely) do not have the SWT libraries for Linux, Eclipse will not run though.
[22:43:43] <spaceinvader> java -jar Eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar doesnt do anything
[22:43:53] <spaceinvader> rcjsuen: even if i installed the linux version of eclipse too?
[22:43:55] <dominikg> CasTiger: all you ever wanted to know about swing (and more): http://java.sun.com/docs/books/tutorial/uiswing/ thats what i've used to get to know it, tho i did not follow it all the way through. It also seems to have been redone since then and now contains netbeans specific stuff
[22:44:04] <spaceinvader> i want to use carbide.ui, the official nokia theme editor
[22:44:10] <dominikg> can't comment on swt tutorials, as i havn't used any
[22:44:11] <spaceinvader> it basically bundles eclipse
[22:44:25] <dominikg> but i'm sure you'll find some on www.eclipse.org/swt
[22:44:42] <rcjsuen> spaceinvader: you downloaded the linux build of the Eclipse SDK from eclipse.org?
[22:46:26] <spaceinvader> i installed via my distros package manager
[22:46:52] <rcjsuen> spaceinvader: and you said java -jar won't start on that?
[22:46:58] <CasTiger> dominikg: ive looked at netbeans but the way i tries to get you to bind data is nearly as bad as visual studio i want to learn how to do it throu code so i have more control
[22:46:59] <spaceinvader> yeah
[22:47:12] <spaceinvader> rcjsuen: note that i am trying to start the jar from the windows version
[22:47:13] <rcjsuen> spaceinvader: I'd recommend filing a bug to your distro then.
[22:47:13] <njbartlett_> spaceinvader: What happens if you add "-application org.eclipse.ui.ide.workbench" to that command line?
[22:47:14] <dominikg> CasTiger, i can't comment on suns swing tutorial either, from skipping over the first pages it looks like a competely different one, entirely focussing on netbeans gui builder (which is a shame, i liked the old one for its technically detailled stuff)
[22:48:07] <spaceinvader> rcjsuen: perhaps it would be better to copy certain parts of the windows version into the linux one
[22:48:12] <spaceinvader> rcjsuen: its a nokia branded theme editor
[22:48:20] <spaceinvader> based on eclipse
[22:48:39] <CasTiger> so i need to amazon a book on java and ldt
[22:49:22] <njbartlett_> spaceinvader: Wait a minute, I'm confused. You're trying to run a Windows download of Eclipse on a Linux machine?
[22:49:26] <dominikg> CasTiger, you could try to ask in ##java aswell
[22:49:30] <spaceinvader> njbartlett_: yes
[22:49:31] <njbartlett_> spaceinvader: Or vice versa?
[22:49:40] <spaceinvader> njbartlett_: windows on linux
[22:49:51] <spaceinvader> njbartlett_: nokia provide an eclipse based app
[22:49:54] <njbartlett_> spaceinvader: Okay. Well that obviously won't work, because it won't have the SWT binaries for Linux.
[22:49:58] <spaceinvader> njbartlett_: but they only bundle windows eclipse
[22:50:16] <spaceinvader> njbartlett_: if i run the whole thing in wine the JVM crashes
[22:50:17] <rcjsuen> Since this Carbide stuff is for C/C++, I'm guessing there will be other native libraries besides the SWT and o.e.core.resources one though.
[22:50:17] <njbartlett_> spaceinvader: Okay... then you should be able to get it to work by installing the RCP delta pack
[22:50:33] <njbartlett_> Oh yeah that sounds likely.
[22:50:39] <spaceinvader> rcjsuen: this is carbide.ui, its just a theme editor
[22:51:09] <rcjsuen> "just a theme editor"
[22:51:11] <rcjsuen> Well, you never know.
[22:51:29] <rcjsuen> spaceinvader: Go to your Eclipse/ folder that you copied from Windows.
[22:51:32] <rcjsuen> And pastebin the output of 'find'.
[22:51:37] <spaceinvader> ok
[22:51:57] <njbartlett_> spaceinvader: Yeah there's still a chance there's some native code in there, and if Nokia doesn't provide a Linux version of that native code thyen you're stuffed.
[22:52:41] <njbartlett_> spaceinvader: Still, you could try installing the RCP Delta Pack and seeing how far you get.
[22:52:54] <spaceinvader> uploading that file
[22:52:56] <spaceinvader> its rather big
[22:53:02] <spaceinvader> [tom@luna Eclipse]$ wc -l foo
[22:53:05] <spaceinvader> 14650 foo
[22:53:21] <rcjsuen> For me it's 1645.
[22:53:32] <spaceinvader> nokia must add a lot of crap :P
[22:53:41] <spaceinvader> actually its because its a theme editor
[22:53:44] <rcjsuen> And Nokia's no stranger to Eclipse. If it was just Java classes, I don't think they'd hesitate to advertise this fact.
[22:53:45] <spaceinvader> probably lots of .png etc
[22:54:04] <spaceinvader> http://omploader.org/vYWFu/foo
[22:54:10] * rcjsuen clicks.
[22:54:30] <rcjsuen> emf and friends I see
[22:54:53] <rcjsuen> ./plugins/com.nokia.tools.media.jai_1.0.0/os/win32/x86/mlib_jai_mmx.dll
[22:55:04] <spaceinvader> yeah, i found that :(
[22:55:07] <rcjsuen> Surprisingly, they also have a ./plugins/com.nokia.tools.media.jai_1.0.0/os/linux/x86/libmlib_jai.so
[22:55:16] <spaceinvader> didnt see that :O
[22:55:25] <spaceinvader> i was just grepping for dlls
[22:55:30] <rcjsuen> In any case, as what njbartlett_ said, it's still not going to run because of the SWT problem.
[22:56:07] <rcjsuen> I see .exe and other .dll files, I wouldn't count on it running.
[22:56:21] *** metafollic has quit IRC
[22:56:48] <spaceinvader> perhaps getting the JVM to not crash in wine would be easier
[22:57:44] *** vwegert has quit IRC
[22:57:54] <njbartlett_> spaceinvader: This is what vmware and its ilk are good for :-) Unfortunately you'd need to buy a copy of Windows too :-(
[22:59:12] *** robinr has joined #eclipse
[22:59:27] <spaceinvader> njbartlett_: i have a copy of windows 2000
[22:59:36] <spaceinvader> njbartlett_: but when i was windows updating it it self destructed
[23:01:31] <njbartlett_> Oh well. Then your final option is to yell at Nokia for going to such great lengths to avoid making their tools cross-platform.
[23:03:00] <spaceinvader> the linux version of eclipse works if i run /usr/share/eclipse/eclipse
[23:03:27] <spaceinvader> but java -jar Eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar  -application org.eclipse.ui.ide.workbench
[23:03:32] <spaceinvader> does nothin
[23:03:32] <spaceinvader> g
[23:03:45] <spaceinvader> well, it makes some hdd activity, then drops back to the shell
[23:04:12] <njbartlett_> Does it produce a log file in the configuration/ directory called <somelongnumber>.log?
[23:04:32] <spaceinvader> many :P
[23:04:43] <njbartlett_> Okay then pastebin the most recent one.
[23:05:49] <spaceinvader> http://omploader.org/vYWFw/1199656849125.log
[23:08:02] <rcjsuen> Motif, huh
[23:08:26] <rcjsuen> and of course, java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
[23:08:58] <njbartlett_> This is a Windows installation of Eclipse
[23:10:37] <njbartlett_> spaceinvader: Remind me again why you think this should work? I get confused easily
[23:11:16] <spaceinvader> njbartlett_: i dont know if it would work :P
[23:11:58] <njbartlett_> spaceinvader: Well now you know :-)
[23:12:47] <spaceinvader> lol i got it working
[23:12:54] <spaceinvader> took a copy of a linux installation of eclipse
[23:13:00] <spaceinvader> copied the windows one on top of it
[23:13:29] *** jrizza has joined #eclipse
[23:13:55] <spaceinvader> no doubt it will catch on fire at some point
[23:15:23] <jrizza> Anyone know of any programs that can sanitize html for special characters?
[23:15:32] <jrizza> *plugins
[23:16:27] <jrizza> I'm having an issue where a client is sending content to a designer on OSX in MS Word, then when we get copy from the designer, we're getting boxes instead of apostrophes or quotes or mdash etc..
[23:16:59] *** robinr has quit IRC
[23:18:10] *** robinr has joined #eclipse
[23:26:24] <spaceinvader> interesting
[23:26:28] <spaceinvader> it works enough to click new theme
[23:26:33] <spaceinvader> and then fill in the serial number
[23:26:36] <spaceinvader> but then it seems to die
[23:27:25] *** fzlogik has quit IRC
[23:28:55] *** alf_makina has joined #eclipse
[23:28:59] <alf_makina> hi
[23:31:59] <alf_makina> I've a problem with Acceleo plugin, but you may be able to help me since it may be general to eclipse
[23:32:25] <alf_makina> when I launch a generation, it can't find a file which is in a plugin I've made
[23:32:40] <alf_makina> but the file is in the jar
[23:32:43] *** cerbereus has quit IRC
[23:32:51] <alf_makina> and the plugin present in the registry
[23:33:22] <rcjsuen> can't find a file, but the file is in a jar?
[23:33:30] <rcjsuen> well, the nthe file doesn't really exist at a file system level, no?
[23:33:48] <alf_makina> no
[23:34:23] <rcjsuen> So how is it going to find it?
[23:35:06] <alf_makina> I don't know
[23:35:20] <rcjsuen> mm
[23:35:32] <alf_makina> for instance : org.acceleo.module.wisss.gen.php/default/webapp.chain can't refer to a file in jar ?
[23:35:50] <rcjsuen> That depends on the application.
[23:36:19] <rcjsuen> Perhaps pastebining your code would help.
[23:36:40] *** mhaller has quit IRC
[23:36:41] <alf_makina> well, there's not really code
[23:37:11] <rcjsuen> Well, you said you made a plug-in, so I thought your plug-in was loading a file.
[23:37:26] <alf_makina> since it's a "chain" file from Acceleo, generated by a creation wizard, exported from an acceleo generator project
[23:37:52] <alf_makina> the file is an xml one
[23:37:55] <rcjsuen> Dunno about other people, but those words are pretty meaningless to me since I don't use Acceleo.
[23:37:57] <alf_makina> it's a config fil
[23:37:59] <alf_makina> file
[23:38:41] *** spaceinvader has left #eclipse
[23:38:48] <alf_makina> yeah, I know it may be hard to understand without knowing acceleo, but I'm neither java dev nor eclipse dev
[23:39:15] <rcjsuen> Maybe yo ucould file a bug to Acceleo.
[23:40:24] <alf_makina> I know them, but they're sleeping at this time, I was looking for an answer here for tonight, but it doesn't matter if it waits till tomorrow
[23:40:25] *** piksel has left #eclipse
[23:41:02] *** soulreaper has quit IRC
[23:41:13] <alf_makina> and I don't think it's an acceleo bug since they use this feature without problem
[23:41:52] <alf_makina> I think the problem comes from how I export my Acceleo module, that's why I try to understand how eclipse works to correct it
[23:42:11] <rcjsuen> Well, I don't know how it's exporting these modules, so.
[23:42:56] <alf_makina> I understand it's hard to help :-)
[23:45:22] *** spekkie has quit IRC
[23:46:20] *** jrizza has left #eclipse

top