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

[00:00:56] *** javanooby has quit IRC
[00:11:16] *** Ruudjah has quit IRC
[00:12:03] *** acron17 has joined #eclipse
[00:13:39] *** magicked has quit IRC
[00:17:50] *** soulreaper has quit IRC
[00:21:57] *** amitev has quit IRC
[00:22:49] *** baedert has quit IRC
[00:24:25] *** tris2k has quit IRC
[00:27:22] *** rossand has joined #eclipse
[00:31:53] *** acron17 has quit IRC
[00:45:21] *** RandIter has left #eclipse
[00:55:33] *** vmil86 has quit IRC
[01:05:25] *** dirk_77__ has quit IRC
[01:06:30] *** semeion has quit IRC
[01:07:09] *** semeion has joined #eclipse
[01:07:18] *** codeon_ has quit IRC
[01:07:59] *** tewecske has quit IRC
[01:14:40] <psst> ebullient: so is this donotship stuff fixed now?  Seems to have played havoc with my liberty on my linux env, but that *is* a new env
[01:16:05] <psst> oops ? wrong channel
[01:19:53] *** vipaca has quit IRC
[01:23:31] *** roentgen has quit IRC
[01:23:45] *** rcjsuen has quit IRC
[01:24:19] *** roentgen has joined #eclipse
[01:26:15] *** mpiggott has joined #eclipse
[01:26:46] *** scx has joined #eclipse
[01:27:07] *** rrodriguez has joined #eclipse
[01:27:15] *** roentgen has quit IRC
[01:28:22] *** rossand has quit IRC
[01:30:11] <scx> Is the Atom processor enough to run Eclipse with a good performance?
[01:34:15] *** acron17 has joined #eclipse
[01:36:57] *** Toidi[Away] is now known as Toidi
[01:36:57] *** Toidi has joined #eclipse
[01:40:59] *** EricInBNE has joined #eclipse
[01:42:46] *** kthomas_vh has joined #eclipse
[01:42:46] *** rcjsuen has joined #eclipse
[01:47:28] *** acron17 has quit IRC
[02:07:08] *** psst has quit IRC
[02:10:45] *** psst has joined #eclipse
[02:32:39] *** moraes has quit IRC
[02:32:59] *** mluser-home has joined #eclipse
[02:38:34] *** mpiggott has quit IRC
[02:42:17] *** buribu has quit IRC
[02:45:58] *** magicked has joined #eclipse
[02:47:36] *** magicked has quit IRC
[02:51:32] *** Toidi is now known as Toidi[Away]
[02:55:58] *** nekschot has quit IRC
[02:58:27] *** psst_ has joined #eclipse
[03:01:14] *** psst_ has quit IRC
[03:03:07] *** kthomas_vh has quit IRC
[03:06:44] *** rossand has joined #eclipse
[03:15:50] *** conan has joined #eclipse
[03:23:31] *** kthomas_vh_ has quit IRC
[03:25:21] *** evil_gordita has quit IRC
[03:26:32] *** nexx has quit IRC
[03:37:30] *** onekenthomas has joined #eclipse
[03:51:48] *** futilius has quit IRC
[04:01:51] *** rcjsuen has quit IRC
[04:19:05] *** kthomas_vh has joined #eclipse
[04:25:44] *** d_a_carver has quit IRC
[04:32:13] *** rossand has quit IRC
[04:56:25] *** scx_ has joined #eclipse
[04:59:41] *** scx has quit IRC
[05:01:01] *** ecfuser14236 has joined #eclipse
[05:01:38] <ecfuser14236> test
[05:03:42] <ecfuser14236> how i can create a server in Intranet for using ecf?
[05:05:12] *** ecfuser14236 has quit IRC
[05:05:46] *** psst has quit IRC
[05:06:19] *** |conan| has joined #eclipse
[05:08:11] *** conan has quit IRC
[05:14:12] *** hex` has quit IRC
[05:18:07] *** kthomas_vh has quit IRC
[05:28:14] *** Dessimat0r has quit IRC
[05:30:59] *** scx_ has quit IRC
[05:33:01] *** kthomas_vh has joined #eclipse
[05:43:16] *** Bass10 has quit IRC
[05:55:42] *** javanooby has joined #eclipse
[05:56:12] <javanooby> im just messing around in eclipse doing some tutorials learning java
[05:56:28] <javanooby> im saving files in the source folder of eclipse classic
[05:56:47] <javanooby> when i run a new tutorial and a new file, it runs the old file in the console
[05:57:02] <javanooby> not the new one, anyone got any ideas how to fix this ?
[06:25:02] *** InsertNickHere has quit IRC
[06:33:19] *** buribu has joined #eclipse
[06:33:20] *** buribu has joined #eclipse
[06:42:06] *** moraes has joined #eclipse
[06:47:39] *** ron has joined #eclipse
[06:50:18] *** javanooby has quit IRC
[07:06:12] *** buribux has joined #eclipse
[07:06:57] *** Wesker has joined #eclipse
[07:07:12] *** buribu has quit IRC
[07:07:23] *** Wesker has left #eclipse
[07:19:56] *** aminpy has joined #eclipse
[07:22:50] *** xxen has joined #eclipse
[07:28:03] *** xxen has quit IRC
[07:30:24] *** acron17 has joined #eclipse
[07:35:59] *** rawbdor has joined #eclipse
[07:46:20] *** LongBeach has joined #eclipse
[07:46:20] *** acron17 has quit IRC
[08:06:12] *** kthomas_vh has quit IRC
[08:07:37] *** soee has joined #eclipse
[08:16:16] *** oneliner has quit IRC
[08:16:26] *** kgilmer_ has quit IRC
[08:17:08] *** kgilmer_ has joined #eclipse
[08:25:20] *** ron has quit IRC
[08:27:39] *** tewecske has joined #eclipse
[08:29:49] *** vmil86 has joined #eclipse
[08:30:05] *** ardo has joined #eclipse
[08:30:28] *** evozniak has joined #eclipse
[08:30:59] <evozniak> Anyone knows how to fix eclipse 3.7 and webkitgtk? (xulrunner 2x+ not compatible)
[08:32:00] *** kasterma has joined #eclipse
[08:45:01] *** rrodriguez has quit IRC
[08:47:52] *** evozniak has quit IRC
[08:53:35] *** ddk_ has joined #eclipse
[08:56:58] *** ron has joined #eclipse
[08:57:58] *** semeion has quit IRC
[08:59:59] *** semeion has joined #eclipse
[09:01:08] *** evozniak has joined #eclipse
[09:01:23] *** cbeust_ has quit IRC
[09:02:07] *** kottlett has joined #eclipse
[09:10:21] *** xxen has joined #eclipse
[09:10:31] *** xxen is now known as nexx
[09:15:00] *** SNiLD has quit IRC
[09:15:06] *** SNiLD has joined #eclipse
[09:15:56] *** moraes has quit IRC
[09:22:57] *** soulreaper has joined #eclipse
[09:31:42] *** evozniak has quit IRC
[09:32:19] *** etiago has joined #eclipse
[09:35:06] <etiago> hi all, does anyone here use the ECF remote services API?
[09:35:23] <ron> WTF is ECF? :)
[09:35:35] *** SzymonB has joined #eclipse
[09:35:43] <etiago> eclipse communication foundation :p
[09:36:16] <ron> which is the foundation for eclipse's communication?
[09:36:52] <etiago> that's what I'm trying to figure out
[09:37:07] <ron> well, you may have better luck in the ~forums
[09:37:07] <Arbalest> http://www.eclipse.org/forums/
[09:37:22] <etiago> alright, I'll give it a try, cheers!
[09:37:28] <ron> cheers!
[09:43:23] *** malo_nj has joined #eclipse
[09:44:51] *** mluser-home has quit IRC
[09:47:43] <lemmy> ECF = Eclipse Communication _Framework_
[09:48:25] <lemmy> etiago: The best place to ask specific question would be the mailinglist at ecf-dev at eclipse dot org
[09:48:51] <etiago> Yes, sorry, mixed it up with the WCF :p
[09:48:57] <etiago> Thanks, I shall try the mailing list as well
[09:49:04] *** ddk_ has quit IRC
[09:49:12] <ron> WCF is evil.
[09:49:40] *** ddk_ has joined #eclipse
[09:49:43] <etiago> because it's by microsoft?
[09:49:57] <ron> yes. the spawn of evil is evil.
[09:51:07] <etiago> hehe :p
[09:52:38] <lemmy> etiago: What's your question anyway?
[09:53:14] <etiago> I wanted to report that this: http://wiki.eclipse.org/Getting_the_Hello_Example_Remote_Service isn't really working. I get an error when trying to checkout the project
[09:54:12] <lemmy> etiago: why don't fix it yourself? :)
[09:54:33] *** codeon has joined #eclipse
[09:54:33] <etiago> I wouldn't know how, otherwise I would :)
[09:54:42] <lemmy> The problem is just that ECF has moved to git but not all documentation has been updated yet.
[09:55:28] <lemmy> The code can now be found at http://git.eclipse.org/c/ecf/org.eclipse.ecf.git
[09:55:43] <etiago> a-ha!
[09:56:10] <etiago> I'm gonna give it a try then and if I can get it to work, I'll update that page
[09:56:34] *** SNiLD has quit IRC
[09:56:37] *** snild_ has joined #eclipse
[09:56:43] <lemmy> Is there a specific reason you need to build ECF from source?
[10:00:31] <etiago> Hmm, that page isn't really to build it from source methinks... that's for the Hello example service
[10:00:42] <etiago> I wanted to try and build my own ECF services, using the API
[10:00:52] <etiago> but it'd be nice to have an example
[10:00:57] <lemmy> etiago: IIRC the examples are part of the binary distribution.
[10:03:31] <etiago> oh, they are indeed. I installed it via the install new software option, that's why I missed them
[10:03:35] <etiago> thanks!
[10:05:03] <lemmy> etiago: you might also wanna check out the integrators guide linked on http://wiki.eclipse.org/ECF
[10:05:40] *** mikewintermute has joined #eclipse
[10:05:45] <etiago> yep, I've also seen that one
[10:09:17] *** nexx has quit IRC
[10:12:21] *** ardo has quit IRC
[10:12:54] <reisi> is there a Label like component which could automatically resize the image given to it? (currently if i resize the Label with an image larger than the bounds nothing is rendered)
[10:13:03] *** aminpy has quit IRC
[10:14:06] *** ardo has joined #eclipse
[10:15:42] *** tvo has joined #eclipse
[10:19:15] *** z4z4 has joined #eclipse
[10:20:05] <reisi> actually this was with CLabel (without text); Label clips the image
[10:24:01] *** vsayer has joined #eclipse
[10:33:41] *** drthingums has joined #eclipse
[10:44:13] *** buribux has quit IRC
[10:45:23] *** dirk_77__ has joined #eclipse
[10:50:51] *** dirk_77__ has quit IRC
[10:59:35] *** psst has joined #eclipse
[11:06:52] *** psst has quit IRC
[11:06:56] *** psst_ has joined #eclipse
[11:20:01] *** magnet_ has joined #eclipse
[11:23:14] *** ddk_ has quit IRC
[11:23:22] *** semeion has quit IRC
[11:24:12] *** ddk_ has joined #eclipse
[11:31:43] *** timing has joined #eclipse
[11:32:03] <timing> Hi, the searchbox which appears which ctrl+f doesn't have the regexp option anymore. It has become very basic
[11:32:15] <timing> did I accidently change a setting? I have no clue how it got this way
[11:33:23] *** semeion has joined #eclipse
[11:34:50] *** hex` has joined #eclipse
[11:34:50] *** hex` has joined #eclipse
[11:43:01] *** SimpsonTP has joined #eclipse
[11:45:16] <psst_> timing: maybe it got smart and realised you weren't good with regexps; it's just protecting you from yourself
[11:46:27] *** kvaster has joined #eclipse
[11:46:28] <kvaster> hi
[11:46:43] <kvaster> i've installed latest WTP and now i jave exception in project explorer:
[11:46:43] <kvaster> java.lang.RuntimeException: Can't find id: org.eclipse.jst.servlet.ui.EnhancedJavaRendering
[11:46:48] <kvaster> can anybody help me ?
[11:47:04] <kvaster> (eclipse 3.7 final)
[11:47:10] <timing> psst_: hehe, I wish that would happen to my kitchen, because I cannot cook any good dinner at all
[11:48:25] <ron> timing: are you sure it wasn't ctrl+h?
[11:48:27] *** psst_ is now known as psst
[11:51:12] <timing> I'm really sure
[11:51:21] <timing> there was a regexp radio button
[11:51:37] <timing> I could replace spaces with tabs and such
[11:51:55] <timing> the case sensitive checkbox is also gone
[11:52:24] <timing> or is it using a native ubuntu search and replace box?
[11:52:30] <timing> I don't know if they exist
[11:52:50] <timing> maybe mr shuttleworth tried to make ubuntu more easier again by removing functionality
[11:53:39] <timing> it looked like this previously: http://www.ghidinelli.com/wp-content/uploads/2011/01/eclipse_sr.png
[11:54:09] <ron> oh right, I see that checkbox.
[11:54:21] <ron> can you show a current screenshot?
[11:54:22] *** nexx has joined #eclipse
[11:54:33] <timing> yeah let me see
[11:55:41] *** Pasqualle has joined #eclipse
[11:56:14] <timing> ron: http://imageshack.us/photo/my-images/684/screenshotfindreplace.png/
[11:56:17] <timing> sorry for imageshack :-)
[11:56:38] <ron> which editor is that in?
[11:57:28] <timing> php
[11:57:35] * ron sighs
[11:57:37] *** ddk_ has quit IRC
[11:57:44] <timing> I didn't do a eclipse update
[11:57:46] <timing> you hate php?
[11:57:51] <timing> also with js
[11:57:59] *** ddk_ has joined #eclipse
[11:58:16] <timing> and txt
[11:58:18] <timing> and xml
[11:58:18] <ron> I don't hate it. I mock it.
[11:58:22] <timing> it was there previously
[11:58:24] <timing> but now it's not
[11:58:25] <ron> anyways, do you want to know how to solve it?
[11:58:27] <timing> haha ok
[11:58:30] <timing> yeah I do :-)
[11:58:33] <ron> because you're going to bonk yourself.
[11:58:35] <ron> seriously
[11:58:39] <timing> haha ok
[11:58:49] <ron> resize the search window.... downwards.
[11:59:01] <timing> HAHAHA FUCK!
[11:59:16] <ron> I hope you really did bonk yourself.
[11:59:21] <timing> I didn't expect this
[11:59:29] <ron> obviously.
[11:59:40] <timing> but who designed this?
[11:59:48] <timing> resizing the window should be possible
[11:59:55] <ron> it is possible.
[11:59:56] <timing> but I should know something usefull is hidden :-)
[12:00:12] <ron> you can always open a ~bug or a feature request ;)
[12:00:13] <Arbalest> Eclipse Bugzilla - Open new bugs and/or enhancement requests https://bugs.eclipse.org/bugs/enter_bug.cgi / Search for existing bugs and/or enhancement requests https://bugs.eclipse.org/bugs/query.cgi
[12:00:14] <timing> it was even resized exactly perfect
[12:00:27] *** kvaster has quit IRC
[12:00:30] <ron> well, I promise not to tell anyone ;)
[12:01:35] <timing> hehe
[12:01:37] <timing> well thanks!
[12:03:33] *** ualtin has joined #eclipse
[12:04:34] *** hex` has quit IRC
[12:11:23] *** Hot has joined #eclipse
[12:12:22] *** acron17 has joined #eclipse
[12:14:06] <Hot> Hello :) Newbie question: as written on this page(http://opencv.willowgarage.com/wiki/Eclipse) I need to download eclipse and the CDT Plugin. My question is: Do I need to download the "Eclipse IDE for C/C++ Developers (includes Incubating components)" or the "ECLIPSE CLASSIC" plus the CDT plug-in ? thanks !
[12:14:43] *** SimpsonTP has left #eclipse
[12:21:32] <psst> Hot: your choice really ? might be nice to start small and pull in the plugins you want, or you might prefer to get all the usual suspects up front
[12:22:19] <Hot> thanks
[12:22:21] <Hot> bye
[12:22:22] *** Hot has quit IRC
[12:25:08] *** deSilva has joined #eclipse
[12:29:41] *** gertidon has quit IRC
[12:33:44] *** _nor has joined #eclipse
[12:39:52] *** baedert has joined #eclipse
[12:47:30] *** SzymonB has quit IRC
[12:54:47] *** moraes has joined #eclipse
[12:56:08] *** semeion has quit IRC
[12:58:22] *** ualtin has quit IRC
[13:03:54] *** kasterma has quit IRC
[13:04:02] *** ualtin has joined #eclipse
[13:14:10] *** otaviobp has joined #eclipse
[13:15:58] *** codeon has quit IRC
[13:18:06] *** rossand has joined #eclipse
[13:22:14] *** codeon has joined #eclipse
[13:25:30] *** ddk_ has quit IRC
[13:26:36] *** codeon has quit IRC
[13:27:39] *** ddk_ has joined #eclipse
[13:33:39] *** drthingums has quit IRC
[13:36:32] *** rcjsuen has joined #eclipse
[13:38:16] *** la00 has joined #eclipse
[13:38:19] <la00> hello
[13:38:44] <la00> need some help with these query: http://pastebin.com/XdbP9g6Q  that trhows an exception and can't figura out why
[13:38:52] <la00> anyone familiar with EL
[13:38:53] <la00> ?
[13:40:46] *** psst has left #eclipse
[13:44:53] *** pulse00 has joined #eclipse
[13:52:12] *** rossand has quit IRC
[13:54:01] <reisi> la00: don't know what's EL but the query looks ok to me
[13:54:34] <reisi> la00: is that a runtime exception or some tool's warning?
[13:55:39] *** ualtin has quit IRC
[13:56:20] <reisi> la00: though, shouldn't you be using the static metamodel there?
[14:02:55] *** briandealwis has joined #eclipse
[14:03:40] *** dsugar100 has joined #eclipse
[14:03:42] *** ddk_ has quit IRC
[14:04:10] *** ddk_ has joined #eclipse
[14:06:26] *** otaviobp has quit IRC
[14:06:44] *** otaviobp has joined #eclipse
[14:09:13] *** aminpy has joined #eclipse
[14:17:55] *** IanLiu has joined #eclipse
[14:18:58] *** pulse00 has quit IRC
[14:22:04] *** la00 has quit IRC
[14:22:09] *** dirk_77__ has joined #eclipse
[14:24:04] *** pulse00 has joined #eclipse
[14:24:59] *** robertas24 has joined #eclipse
[14:26:36] <robertas24> Hello everybody. I'm just trying out the WindowBuilder in Indigo. I would like to create a bean binding with a validator, but can't find any documentation/tutorial about that...
[14:28:10] <robertas24> The official indigo doc is quite minimalistic. I managed to create a binding with a converter, but don't know at all how to make a validator.
[14:29:55] <paulweb515> robertas24: if you don't hear anything here after a time, you can also try the WindowBuilder newsgroup/forum at ~forums
[14:29:56] <Arbalest> http://www.eclipse.org/forums/
[14:30:21] *** IanLiu has quit IRC
[14:30:26] <robertas24> Thanks!
[14:31:10] *** ualtin has joined #eclipse
[14:32:07] *** ualtin has quit IRC
[14:34:16] *** soulreaper has quit IRC
[14:35:33] *** kasterma has joined #eclipse
[14:35:39] *** soulreaper has joined #eclipse
[14:41:04] *** m_a_chinea has joined #eclipse
[14:51:09] *** rossand has joined #eclipse
[14:51:59] *** Bass10 has joined #eclipse
[14:52:23] *** bowabos has joined #eclipse
[14:55:58] *** la00 has joined #eclipse
[14:56:24] <la00> sorry reisi
[14:56:30] <la00> was out for lunch
[14:56:41] <la00> http://pastebin.com/XdbP9g6Q
[14:56:51] <la00> EL -> eclipse link
[14:57:10] *** mpiggott has joined #eclipse
[14:57:14] <la00> the query seems fine to me too...
[14:57:20] <la00> but I get that exception
[14:57:52] *** d_a_carver has joined #eclipse
[14:58:21] *** malo_nj has quit IRC
[15:00:37] *** jmotta has joined #eclipse
[15:01:20] *** jerboaa has joined #eclipse
[15:12:20] <ron> la00: that seems to be a class cast exception.
[15:13:08] <la00> ron...but why?
[15:13:18] <la00> the jpql isn't the same?
[15:13:33] <ron> what object type is returned by q.getSingleResult(); ?
[15:14:22] *** ualtin has joined #eclipse
[15:14:36] <reisi> puzzles me that getSingleResult would return itself or something, la00 could you paste the whole exception (stacktraces et al.) i'm not sure if comes from that getSingleResult()... and why it's a ConversionException not a ClassCastException?
[15:14:45] *** ualtin has left #eclipse
[15:15:08] <ron> That's true.
[15:15:10] <reisi> ron: object (could be Object[], or an entity)
[15:15:26] <reisi> ron: or of course a scalar
[15:15:36] <ron> scalar?
[15:15:43] <la00> tested the subquery as a query and get a Vector of Long
[15:15:58] <reisi> ron: single column value.. well anything you can store in a field
[15:16:06] <ron> that is horrible syntax, tbh.
[15:16:36] <reisi> ron: you mean the jpa2 criteriaquery? :)
[15:16:57] <ron> probably. never used jpa afaik.
[15:17:42] *** pulse00 has quit IRC
[15:17:43] <reisi> ron: it's mighty better than hibernate-core's original Criteria; if la00'd have compiled static metamodels, it'd be compile-time typed as well
[15:17:58] <ron> never used hibernate either :)
[15:18:15] *** pulse00 has joined #eclipse
[15:18:40] <ron> it does seem that something's missing from the paste though.
[15:19:11] <reisi> hehe.. and i just finished getting my standalone swt-jface-jms-sql application getting some hibernate/jpa2 integration :)
[15:19:19] <reisi> yes it most certainly does
[15:19:28] <la00> here http://pastebin.com/p0FVxvbv
[15:19:32] <la00> reisi
[15:19:59] <la00> yeah metamodel seem cool
[15:20:03] *** semeion has joined #eclipse
[15:20:13] <la00> but I'm using NB 6.9
[15:20:14] <ron> com.me.gae.test.db.query.PedidoAutorizacaoTest.testFullQuery(PedidoAutorizacaoTest.java:101) <-- what's in that line?
[15:20:29] <la00> and it doesn't have the tool to generate them
[15:20:47] <la00> ron> Long count = (Long)q.getSingleResult();
[15:20:51] <reisi> la00: you can use hibernate's, afaik it's designed to be jpa2 vendor independent
[15:20:53] * ron snickers
[15:21:22] <reisi> la00: it'd seem like those expressions are screwed up, it's only generating the sql when it throws
[15:22:26] <ron> umm, TypedQUery is... typed.
[15:22:44] <reisi> la00: if your entities/mappings were in english i might be able to guess which one is wrong, but sorry don't understand anything from the names
[15:22:50] <ron> isn't it?
[15:23:34] <ron> o_O
[15:23:42] <ron> it is!
[15:23:42] <reisi> ron: i guess hibernate's one is implemented so that the query result is evaluated to what ever sounds best fit (most likely long for bigint's etc), makes little sense to check it before the query is ran
[15:24:01] <ron> but it's TypedQuery<T>!
[15:24:05] <la00> ok reisi...tks anyway...
[15:24:11] <reisi> ron: hmm that's correct
[15:24:38] <ron> so why isn't it TypedQuery<Long> q = em.createQuery(select); ?
[15:25:06] *** semeion has quit IRC
[15:25:09] <ron> la00: and seriously (wo)man, you need to work on your coding standards.
[15:25:27] <ron> wtf is 'em'?
[15:25:51] <reisi> la00: check if you are not losing any type information on line 21 of http://pastebin.com/XdbP9g6Q
[15:26:23] <ron> no (explicit) casting should be required in that code.
[15:26:34] <la00> EntityManager em
[15:26:46] <reisi> ron: entityManager is usually "em" as variable
[15:26:51] <la00> (man)
[15:27:04] <ron> why not call it entityManager then? are you trying to save hard disk space? :)
[15:27:23] *** semeion has joined #eclipse
[15:27:42] <reisi> la00: i mean CriteriaQuery is typed; i'd think that cb.countDistinct(..) would return something inferrable to Integer or Long? (again line 21)
[15:27:51] *** nitrospectide has joined #eclipse
[15:28:05] <reisi> ron: diskspace and scm bandwidth mostly :D
[15:28:15] *** C0br4 has joined #eclipse
[15:28:17] <ron> reisi: poor excuse, and I hope you were kidding.
[15:28:44] <ron> la00: really, if a class is typed, you'd better have a damn good reason to not specify its type.
[15:28:53] <la00>  CriteriaQuery<PedidoAutorizacao> select = cq.select(cb.countDistinct(from));
[15:28:58] <ron> granted, at times it's needed. those time are rare. very rare.
[15:29:01] *** ddk_ has quit IRC
[15:29:12] *** abhatnag has joined #eclipse
[15:29:27] *** ddk_ has joined #eclipse
[15:29:31] <la00> btw Subquery subquery = cq.subquery(Long.class);  <--should be Long?!?
[15:29:40] <reisi> i think they designed CriteriaQuery so that you wouldn't need to drop types.. countDistinct is a very common use case so that should work easily
[15:29:51] <ron> it's mostly needed when you use reflection. if it's used otherwise, it's most likely an indication of poor code.
[15:30:24] <reisi> ron: yeah, that's a good "smell"
[15:30:42] <ron> a good 'smell'?
[15:30:59] <briandealwis> google for "code smells"
[15:31:01] <ron> la00: I may sound harsh, but I really am trying to help :p
[15:31:06] * ron smells briandealwis
[15:31:10] <reisi> ron: to continue about 'em' ... i understand your point, you would had guessed it's interface from the pastebin immediatedly but then, it's very common (in jpa2 context) to call it "em"
[15:31:14] <briandealwis> there's an interesting paper re: code smells from several years back
[15:31:52] <ron> reisi: ooh! a good "smell!"
[15:31:57] *** ardo has quit IRC
[15:32:17] *** ardo has joined #eclipse
[15:32:23] <reisi> and it pops up in blogs once in a while; basically some simple rules you can use to do while reading others code for possibly buggy sections you need to focus more on
[15:32:45] <ron> reisi: I understand that it can be a common practice, but it doesn't mean it's a good practice, and this is an example for it. when you show the code to someone who's never experienced it before.
[15:33:12] *** kassah has joined #eclipse
[15:33:14] *** semeion has quit IRC
[15:34:43] <reisi> ron: true as well
[15:35:29] <reisi> ron: i'm pro-coding standards as well, and now i see (again) how easy it's to slip on someone's bad example/practice :)
[15:35:56] *** C0br4 has quit IRC
[15:35:56] *** C0br4 has joined #eclipse
[15:38:52] *** C0br4 has quit IRC
[15:39:17] *** C0br4 has joined #eclipse
[15:39:17] *** C0br4 has joined #eclipse
[15:42:15] *** semeion has joined #eclipse
[15:50:03] <la00> tks reisi and ron
[15:50:23] *** vipaca has joined #eclipse
[15:50:25] *** vipaca has joined #eclipse
[15:50:37] <la00> all the <T> is not required but helps :p
[15:50:38] <ron> la00: did you solve it?
[15:50:57] <reisi> la00: yeah that's all the generics do :)
[15:51:11] *** semeion has quit IRC
[15:51:22] <la00> CriteriaQuery subselect = cq.multiselect(subpath);
[15:51:29] <la00> this causes the error
[15:51:31] <ron> reisi: now I'm in the process of making one of the teams to drop the preceding 'm' from all the class member names :p
[15:51:36] <la00> btw I'm using a select
[15:51:53] <la00> subquery.select(subpath)
[15:51:55] <la00> not cq
[15:52:01] <reisi> ron: you mean they use some c++ relic naming; private EntityManager m_entityManager; ?
[15:52:05] <la00> cq is for PedidoAutorizacao.class
[15:52:15] <ron> reisi: don't be silly. mEntityManager
[15:52:42] <la00> about coding convention> hate  prefix _ for local variables
[15:52:50] <la00> ^undescore
[15:52:52] * ron nods
[15:53:00] <ron> _entityManager is just as bad.
[15:53:18] <ron> int iAmIdiot; is also stupid.
[15:53:21] <la00> em for JPA users is a good name for the varfiable
[15:53:44] <ron> the only variable name I can think of with a valid two-letter name is 'id'.
[15:53:54] <reisi> yeah makes no sense, even less when using eclipse; private EntityManager entityManager; then CTRL-space will give you "setEntityManager" etc immediatedly
[15:54:16] <ron> it even *suggest* entityManager as a variable name!
[15:54:22] <ron> (on declaration, that is)
[15:54:41] <la00> entityManager is the best name
[15:54:56] <la00> but my NB code generator used em
[15:55:00] <la00> so I keeped em
[15:55:11] <ron> NB? :p
[15:55:22] <reisi> la00: i'm curious, you use netbeans but eclipselink as jpa? :)
[15:55:23] <la00> Iknow eclipse rulez
[15:55:30] *** dirk_77__ has quit IRC
[15:55:37] <ron> ah, netbeans.
[15:55:57] <la00> yeah NB comes with EL jpa impl
[15:56:00] <la00> bundled
[15:56:05] <la00> for JSF projects
[15:56:17] <ron> heh, that's entertaining.
[15:56:22] <ron> nothing wrong with it, of course.
[15:56:25] <reisi> la00: ok..
[15:56:40] <la00> used NB because at the time
[15:56:47] <la00> seamed better for JSF 2.0 developing
[15:56:57] <ron> Ah, JSF. another mistake.
[15:56:58] <ron> :p
[15:57:06] <la00> but I think know there's good plugins for JSF 2.0
[15:57:11] <la00> JSF 2.0 is great
[15:57:15] <reisi> ron: i was just about not to get started with jsf bashing :D
[15:57:17] <la00> 1.2 and 1.1 doubt
[15:57:18] <la00> :p
[15:57:22] <ron> reisi ;)
[15:57:47] <la00> what do you use for webframewrokd?
[15:57:51] <reisi> la00: wicket
[15:57:57] <ron> I don't. web development is for suckers.
[15:58:09] <la00> uhm never tried...
[15:58:13] <la00> wicker is component based?
[15:58:20] <ron> I've tried Vaadin, which is fairly nice.
[15:58:23] <la00> *wicket
[15:58:35] *** bowabos has quit IRC
[15:58:45] <ron> though it needs to be generified better :-/
[15:58:54] <la00> Vaadin is component based...but most of the component are paid
[15:59:06] <reisi> la00: yeah with plain xhtml for html; custom namespace is used just to mark elements or provide a "cutting point" for markup inheritance and so on
[15:59:08] <ron> that's... really not true.
[15:59:13] *** mgj has joined #eclipse
[15:59:59] <reisi> i thought about using gwt, vaading, zk (or what was it) but decided that as i'm not qualified to debug it (javascript generation), i shall not use it
[16:00:49] <la00> sorry I was talking about zk
[16:01:02] <ron> Vaadin pretty much hides the js from you though.
[16:01:02] <la00> vaadin is mostly free
[16:01:10] <la00> yeah I hate js
[16:01:18] <la00> so jsf 2.0 + component libs
[16:01:20] <ron> which what makes it easier to use than gwt, imho.
[16:01:22] <reisi> ron: yeah, that's the problem; if there's a problem in the hidden js, how do you solve that? ASAP?! :)
[16:01:27] <la00> saves me a lot of work
[16:01:37] <ron> reisi: I yell at the Vaadin people, obviously.
[16:01:48] <reisi> ron: obviously :)
[16:02:06] <ron> reisi: that's why I'm constantly in their channel ;)
[16:02:30] <reisi> ron: i thought you said web dev is for suckers? :)
[16:03:02] *** acron17 has quit IRC
[16:03:03] <ron> reisi: it is, but I need to expose some server info on a web client. eventually, we decided to leave it alone.
[16:04:01] *** Steinpfeffer has joined #eclipse
[16:06:14] *** SzymonB has joined #eclipse
[16:09:20] <Steinpfeffer> Hi
[16:10:16] *** bowabos has joined #eclipse
[16:12:45] *** Thrawn has joined #eclipse
[16:14:16] *** Dessimat0r has joined #eclipse
[16:17:34] *** la00 has quit IRC
[16:19:28] <ron> Hi?
[16:19:32] <Thrawn> Hi
[16:19:45] * ron bonks Thrawn
[16:19:50] <ron> I wasn't greeting you.
[16:19:55] <Thrawn> >.<
[16:19:58] <ron> :)
[16:19:59] <nitind> ~hi
[16:20:00] <Arbalest> Welcome! If you have a question, just ask, or take a look at our FAQ - http://wiki.eclipse.org/IRC_FAQ :) Try typing ~faq to see more FAQs! If you have errors or logs to show, see ~pastebin. If you have screenshots to share, see ~imagebin. If you need to describe your problem, please provide some ~info about your setup. Please be patient when waiting for a response. Thank you and enjoy your stay.
[16:21:09] <Steinpfeffer> I have a problem with Helios and m2e.
[16:21:32] <Steinpfeffer> It suddenly stopped working.
[16:21:45] <nitind> Try it again with Indigo.
[16:22:21] <ron> or define what 'stopped working' means.
[16:22:33] <reisi> Steinpfeffer: m2e has gone forward by such leaps with each eclipse release that theres no point in fiddling with your helios installation
[16:22:54] <ron> I actually disagree with that statement. :)
[16:23:16] <Steinpfeffer> There are no menu items etc. at all but also no error logs.
[16:23:45] <ron> 0.13+ was a revolution of m2e rather than evolution, which isn't necessarily a good thing (for the users).
[16:24:06] <ron> Steinpfeffer: are you sure m2e is installed?
[16:24:12] <reisi> hmm come to think of it (just checked) i'm still running helios on this current workbench :D
[16:24:23] * ron mocks reisi
[16:25:12] <Steinpfeffer> Yes I am sure.
[16:25:23] <Steinpfeffer> But it seems as if it were not.
[16:25:38] <ron> Steinpfeffer: if you don't mind me asking, how are you sure?
[16:26:10] *** ddk_ has quit IRC
[16:26:17] <Steinpfeffer> The according jars are placed in folder "plugin" and the feature is shown in "about Eclipse".
[16:26:29] <rcjsuen> So you had menu items yesterday and today it's not there?
[16:26:37] *** ddk_ has joined #eclipse
[16:26:45] <rcjsuen> Is this what you mean by "suddenly"?
[16:26:47] <Steinpfeffer> Yes, that is the case.
[16:27:27] *** bowabos has quit IRC
[16:28:23] <ron> you didn't change anything in the project?
[16:28:53] <Steinpfeffer> I don?t think so. But Maven is not available at all.
[16:28:59] <nitind> This isn't just you being in the wrong Perspective, is it?
[16:29:24] *** la00 has joined #eclipse
[16:29:26] <Steinpfeffer> No, I am in Java perspective which I already reset.
[16:29:32] <ron> Steinpfeffer: if you right click on the project -> Configure -> ... do you have Convert to Maven Project there?
[16:30:00] <ron> okay, that was stupid. just go to Window->Preferences and type "maven" in the filter box.
[16:30:22] <ron> also, which m2e version do you have installed?
[16:30:41] * nitind would be surprised and disappointed if m2e tampered with the Java Perspective by default
[16:33:26] * ron enjoys the silence
[16:34:02] <Steinpfeffer> Sorry, I have m2e 1.0.0 installed.
[16:35:24] <ron> and what about the other questions?
[16:35:32] <Steinpfeffer> When I right click on "configure" I only get the option to convert the project into a Plug-In project.
[16:35:46] <ron> and the preferences part?
[16:36:06] <Steinpfeffer> Maven is not present.
[16:36:20] <ron> then reinstall the plugin.
[16:36:47] <Steinpfeffer> Ok ?
[16:37:11] *** semeion has joined #eclipse
[16:38:29] *** sysRPL has joined #eclipse
[16:38:57] *** dirk_77__ has joined #eclipse
[16:42:59] *** mluser-home has joined #eclipse
[16:44:01] <jink> ron: pong? :)
[16:46:43] <Steinpfeffer> ?
[16:47:13] *** Neptu has joined #eclipse
[16:47:42] <Neptu> hej wonder if tis a way to expand and contract  the content on keys...
[16:48:13] <ron> jink: it was like two days ago!!!
[16:48:15] <rcjsuen> Keys?
[16:48:26] <ron> keys. yes. keys.
[16:48:30] <ron> Steinpfeffer ?
[16:48:32] <nitind> content?
[16:48:39] <ron> no, I'm not content.
[16:49:01] <Steinpfeffer> ron: It is still working.
[16:49:25] <ron> Steinpfeffer: I dunno.. you're the one who '...'ed :)
[16:51:10] <nitind> Neptu: What content?
[16:51:29] <Neptu> int main(){ ..contenct.. }
[16:52:25] *** ddk_ has quit IRC
[16:52:26] <Neptu> if there is something that helps me to contract the content inside the keys... also be good if exists something like regions...
[16:52:52] *** ddk_ has joined #eclipse
[16:53:56] <rcjsuen> I don't understand what's your end goal here.
[16:53:59] *** soc42 has joined #eclipse
[16:54:06] <rcjsuen> And I guess "keys" you mean "methods". Or possibly those French braces.
[16:54:37] <Neptu> braces
[16:56:06] <Steinpfeffer> ron: I got a timeout
[16:56:43] <ron> Steinpfeffer: remove the 'contact all update sites... bla bla bla' checkbox in the install new software window.
[16:57:52] *** jmotta has quit IRC
[16:58:18] <Steinpfeffer> ron: Ok
[16:58:41] *** EricInBNE has quit IRC
[17:00:07] <ron> cool, my new microsoft keyboard has an Idiot Guide embedded on it.\
[17:01:29] <Steinpfeffer> ron: Now a dependency could not be found: "org.eclipse.equinox.internal.p2.discovery.compatibility"
[17:01:44] <briandealwis> Neptu: in Eclipse it's called "folding".  Java doesn't have regions like C#.  You can bind a key to toggle the folding.
[17:02:28] <Neptu> ok gonna check the preferences->editors for the folding option
[17:04:37] <ron> Steinpfeffer: hmm... well, you need to bring back the checkbox. you can either try it again and hope it won't time out, and you may need to disable the update sites that you don't really need anymore.
[17:05:23] <Steinpfeffer> Ok, I did what you recommended before and now I am restarting Eclipse.
[17:06:12] <Neptu> thanks briandealwis!!!
[17:06:37] <Neptu> briandealwis will be more to ask if you remeber the keyboard shorcutts?
[17:06:40] <Steinpfeffer> ron: Again "About Eclipse ?" shows that m2e is installed but it is not visible anywhere else.
[17:06:43] *** tvo has quit IRC
[17:07:13] <briandealwis> Neptu: you can lookup and rebind with Windows > Keys or Preferences > General > Keys.
[17:07:20] <ron> Steinpfeffer: so it installed successfully?
[17:07:32] <Steinpfeffer> ron: I would say yes.
[17:07:43] <briandealwis> Neptu: oops, Help > Key Assist...
[17:08:06] <ron> briandealwis: or ctrl+shift+L for a list, and twice for the general key bindings :)
[17:08:19] <briandealwis> or ~keys too
[17:08:20] <Arbalest> For a list of available key bindings press Ctrl + Shift + L. To configure your key bindings, press Ctrl + Shift + L twice or see Window > Preference > General > Keys. See also http://wiki.eclipse.org/IRC_FAQ#What.27s_the_key_for_....3F
[17:08:27] *** C0br4_ has joined #eclipse
[17:08:35] <ron> briandealwis: showoff.
[17:08:47] <ron> Steinpfeffer: it may be odd, but can you try opening a clean workspace?
[17:08:51] <briandealwis> more an example of my poor memory
[17:09:09] <Neptu> briandealwis found it seems is just enable/disable not localy on the method im using... but will do
[17:09:13] <jink> ron: It was indeed.
[17:09:30] <ron> jink: well, I don't need your help anymore :p
[17:09:37] <jink> :P
[17:09:40] <jink> Good for you. :)
[17:09:48] <ron> guess what I needed from you ;)
[17:09:49] <jink> Would be sad to have you waiting for 2 days. ^__^
[17:09:52] <jink> :>
[17:10:28] *** Nurbs has joined #eclipse
[17:10:32] <Steinpfeffer> ron: This does not change anything. Now I have also installed Indigo beside Helios. In Indigo it works like a charm.
[17:10:46] <ron> Steinpfeffer: great! time to upgrade to Indigo!
[17:10:46] <ron> :)
[17:11:10] <Steinpfeffer> ron: Seems so. Thank you very much!
[17:11:18] <ron> Steinpfeffer: I didn't do anything :p
[17:11:37] <ron> and it was nitind who told you to upgrade in the first place ;)
[17:11:40] <Steinpfeffer> ron: Of course you did. At least you spent your time.
[17:12:26] *** cbeust_ has joined #eclipse
[17:12:30] <ron> well, I need to write a design document. :p
[17:13:34] *** rkrul has joined #eclipse
[17:14:10] *** ddk_ has quit IRC
[17:14:15] *** C0br4 has quit IRC
[17:14:16] *** C0br4_ has quit IRC
[17:14:37] *** ddk_ has joined #eclipse
[17:15:24] *** cbeust_ is now known as CaveJohnson
[17:16:18] *** lolmatic has joined #eclipse
[17:16:38] *** Thrawn has left #eclipse
[17:24:07] *** dlyneswork has joined #eclipse
[17:26:19] *** semeion has quit IRC
[17:26:20] <dlyneswork> I'm having a problem getting Eclipse to recognize struct timespec as a valid structure, using gnu libc 2.11.1, gcc 4.4.3, and Eclipse Indigo/Helios...is there a workaround for this problem?
[17:27:38] *** FunnyLookinHat has joined #eclipse
[17:27:39] *** FunnyLookinHat has joined #eclipse
[17:31:07] <ron> dlyneswork: CDT questions aren't very common here, so you might want to use the ~forums instead.
[17:31:07] <Arbalest> http://www.eclipse.org/forums/
[17:31:42] <dlyneswork> ron, ah...I guess this channel is mostly populated by Java programmers?
[17:31:49] <ron> mostly.
[17:31:56] <dlyneswork> ah, ok...thanks
[17:32:00] <ron> np
[17:36:27] *** nitrospectide has quit IRC
[17:42:11] *** sedawk has quit IRC
[17:44:14] *** iXeno has quit IRC
[17:47:46] *** saml has joined #eclipse
[17:47:52] *** MrBig has joined #eclipse
[17:48:17] *** cmw72 has joined #eclipse
[17:48:25] <saml> for .jsp  files, when things are automatically imported, <%@page import%>  goes right before the first html tag.. not at the top of jsp file.  can i change this behavior?
[17:49:43] *** iXeno has joined #eclipse
[17:50:05] <ron> saml: it actually sounds like a good practice, but check window->preferences->web->jsp files->editor->templates
[17:51:28] *** robertas24 has quit IRC
[17:52:18] <saml> ron, thanks.
[17:53:50] *** vsayer has quit IRC
[17:54:52] *** ardo has quit IRC
[17:55:36] *** m_a_chinea has quit IRC
[17:59:43] *** m_a_chinea has joined #eclipse
[18:03:03] *** purestrain has joined #eclipse
[18:04:07] *** C0br4 has joined #eclipse
[18:06:54] *** CaveJohnson has quit IRC
[18:07:20] *** ron has quit IRC
[18:08:40] *** mikewintermute has quit IRC
[18:13:59] <C0br4> how can i stop eclipse changing the perspective when i create new projects?
[18:20:42] *** dirk_77__ has quit IRC
[18:22:22] <C0br4> there is an entry in Window->Preferences->General->Perspectives "Open the associated perspective when creating a new project" and its set to "Never open"
[18:22:47] <C0br4> but it still does
[18:23:13] *** briandealwis has quit IRC
[18:32:00] <paulweb515> C0br4: have you restarted since you set that pref?
[18:34:39] *** CaveJohnson has joined #eclipse
[18:37:19] *** CaveJohnson has quit IRC
[18:37:28] *** roentgen has joined #eclipse
[18:39:13] *** vsayer has joined #eclipse
[18:39:36] *** z4z4 has quit IRC
[18:44:26] *** cbeust_ has joined #eclipse
[18:44:31] *** SzymonB has quit IRC
[18:45:24] *** ksawicki has joined #eclipse
[18:45:32] *** cbeust_ is now known as CaveJohnson
[18:46:06] *** CaveJohnson is now known as cbeust_
[18:46:20] *** cbeust_ has quit IRC
[18:46:23] *** pulse00 has quit IRC
[18:47:29] <C0br4> paulweb515: yea everytime i change a setting i restart ecipse
[18:48:34] <C0br4> btw i'm using 3.5.0 with php / c,c++ / android plugins
[18:48:57] *** cbeust has joined #eclipse
[18:51:25] *** nitrospectide has joined #eclipse
[18:52:23] <nitind> C0br4: It does this for every kind of projects, or just from certain wizards?
[18:54:32] *** cbeust has left #eclipse
[18:58:06] <C0br4> i just tested creating a java,php,android project and it seems that its not related to a certain wizard
[18:58:49] <C0br4> php wants to switch to php perspective, and the rest to the standart java perspective
[18:59:39] <nitind> "the rest"?
[19:01:45] <rcjsuen> I can't imagine why making a C project would make it switch to the 'Java' perspective.
[19:02:40] <nitind> C0br4: so it switches perspectives if you create a Java (not Android), Android, C, and PHP project?
[19:02:52] <nitind> No prompts, it just does it?
[19:03:11] <C0br4> yea it just does it
[19:03:15] *** _arjen_ has joined #eclipse
[19:03:33] <nitind> For *all* of those?
[19:03:34] <C0br4> oh sorry, i didn't test c/c++
[19:03:54] <nitind> Including Non-Android Java projects?
[19:04:38] <C0br4> c/c++ goes straight into c++ perspective
[19:04:55] <C0br4> yea including plain java projects
[19:11:04] *** ksawicki has quit IRC
[19:12:51] *** Neptu has quit IRC
[19:15:37] *** ksawicki has joined #eclipse
[19:16:11] *** soee has quit IRC
[19:20:12] <lemmy> what's the type in a propertytester used again for? I simply wanna disable/enable a menu contribution.
[19:20:55] *** jmotta has joined #eclipse
[19:21:31] <nitind> eh?
[19:22:43] *** lolmatic_ has joined #eclipse
[19:23:23] *** lolmatic has quit IRC
[19:25:06] *** Carnage\ has joined #eclipse
[19:26:34] *** ddk_ has quit IRC
[19:27:13] *** ddk_ has joined #eclipse
[19:27:45] *** UrsoBranco has joined #eclipse
[19:29:41] *** la00 has quit IRC
[19:34:11] *** Steinpfeffer has quit IRC
[19:35:01] *** Steinpfeffer has joined #eclipse
[19:37:43] *** dlyneswork has left #eclipse
[19:41:51] *** slickrick has joined #eclipse
[19:41:57] <slickrick> hey guys
[19:42:59] <slickrick> could anyone help me out? i'm just beginning to use eclipse and am a bit confused
[19:43:49] *** ron has joined #eclipse
[19:44:03] <paulweb515> slickrick: ~ask
[19:44:04] <Arbalest> If you have a question, just ask, don't ask if you can ask a question. Skip the "meta-questions" like asking whether anyone uses X also as a precursor to check whether anyone can help you with a problem you have with X. Just ask the real question you have about X.
[19:45:42] <ron> it's so damn hot.
[19:45:42] <slickrick> ok, sorry.  i am a complete beginner, and have downloaded the sdk and eclipse on my mac.  I am going through the tutorial to set up "Hello, World" application and my emulator disconnects, cancelling the application.  Am not sure what I am doing wrong.
[19:46:04] <ron> android sdk?
[19:46:45] <slickrick> yup
[19:47:28] <rcjsuen> #android-dev
[19:47:31] <ron> well, maybe it would be better addressed at #android-dev
[19:47:40] <slickrick> ok, thanks guys :)
[19:47:54] *** slickrick has left #eclipse
[19:47:56] <ron> we are here to redirect.
[19:48:02] * ron snaps his fingers
[19:51:24] *** MrBig has quit IRC
[19:54:44] *** ddk_ has quit IRC
[19:55:11] *** ddk_ has joined #eclipse
[19:57:00] *** vwegert has joined #eclipse
[19:58:26] *** vwegert has quit IRC
[19:58:45] *** vwegert has joined #eclipse
[20:07:55] *** purestrain has quit IRC
[20:10:57] *** buribu has joined #eclipse
[20:19:19] *** gertidon has joined #eclipse
[20:22:17] *** Steinpfeffer has quit IRC
[20:22:30] *** davis has joined #eclipse
[20:22:44] <davis> hello, is this a users channel?
[20:23:06] <abhatnag> davis: yup
[20:23:08] <rcjsuen> yes
[20:24:24] <davis> i am using an external jar file, and I get an error on a tooltip when i mouse over some code.  It says no source installed and javadoc is missing from the jar. If I download source for the jar, could I fix this error?
[20:25:16] *** tsyrak has joined #eclipse
[20:28:20] *** deSilva has quit IRC
[20:37:06] *** deSilva has joined #eclipse
[20:38:27] <tsyrak> hello guys
[20:38:30] <tsyrak> i'm going nuts
[20:39:14] <tsyrak> starting eclipse that way "eclipse -vmargs -Xmx896M" and specifying that argument in eclipse.ini too and in the Run > Run Configurations... menu...
[20:39:26] <tsyrak> and still, memory reported is only around 200 MB
[20:39:41] <tsyrak> any pointers?
[20:40:25] *** deSilva^^ has joined #eclipse
[20:41:32] <paulweb515> tsyrak: most JVMs won't immediately consume the memory listed on the command line
[20:41:42] <paulweb515> tsyrak: only as they consume memory (at least the linux JVms)
[20:42:00] <tsyrak> so you mean more will be made available?
[20:42:18] <tsyrak> i need to increase it because i'm working with large audio files (my prog isfine with shorter files)
[20:42:53] <tsyrak> i just don't get when the memory would be allocated exactly
[20:46:03] <paulweb515> tsyrak: as you add more objects to the heap, it will request more memory from the OS
[20:52:47] <tsyrak> ok, let's try runnig it again then
[20:53:46] *** rossz has joined #eclipse
[20:56:05] *** rossz has left #eclipse
[21:04:41] *** ksawicki has quit IRC
[21:05:41] *** aminpy has quit IRC
[21:09:10] *** gigabytes has joined #eclipse
[21:10:30] <ron> davis: yes.
[21:11:35] *** moraes has quit IRC
[21:15:21] *** soc42 has quit IRC
[21:15:28] *** xbb has joined #eclipse
[21:15:34] <xbb> hello
[21:16:26] <ron> ~hello
[21:16:31] <ron> ~hi
[21:16:31] <Arbalest> Welcome! If you have a question, just ask, or take a look at our FAQ - http://wiki.eclipse.org/IRC_FAQ :) Try typing ~faq to see more FAQs! If you have errors or logs to show, see ~pastebin. If you have screenshots to share, see ~imagebin. If you need to describe your problem, please provide some ~info about your setup. Please be patient when waiting for a response. Thank you and enjoy your stay.
[21:16:31] <xbb> using EMF OCL can I select object from resource by type? In ecore I have element Channel, and my condition is: condition = new BooleanOCLCondition<EClassifier, EClass, EObject>(ocl.getEnvironment(),
[21:16:32] <xbb> 			    "self.oclIsKindOf(Channel)",
[21:16:32] <xbb> 			    null);
[21:17:08] <xbb> Arbalest, I was saying hello and then formulating my question :)
[21:17:43] <xbb> so is self.oclIsKindOf a type check like instanceof?
[21:18:11] *** ksawicki has joined #eclipse
[21:20:28] *** ddk_ has quit IRC
[21:21:03] *** ddk_ has joined #eclipse
[21:22:56] *** cgb has joined #eclipse
[21:24:51] *** lolmatic_ has quit IRC
[21:33:25] *** briandealwis has joined #eclipse
[21:33:49] *** gigabytes_ has joined #eclipse
[21:37:31] *** gigabytes has quit IRC
[21:39:15] *** otaviobp has quit IRC
[21:42:00] *** abhatnag has quit IRC
[21:50:09] <tsyrak> paulweb515: still getting "java.lang.OutOfMemoryError: Java heap space" and the memory logs read just as without the argument
[21:50:38] <ron> OOM is fun!
[21:52:04] <ron> tsyrak: hmm... you get OOM on eclipse itself or an application you wrote that you run from within eclipse?
[21:52:55] <tsyrak> ron: one someone else wrote and manages to run with the same files
[21:53:29] <tsyrak> it's a speech analysis app... runs fine with short files... runs fine with my big files for the dev on a similar config but OOM for me here
[21:54:19] <ron> okay
[21:54:22] <ron> let's try this
[21:54:27] <ron> how do you run your application?
[21:54:51] <tsyrak> it comes with a build.xml file so i right click it from within eclipse and build/run it
[21:55:09] <tsyrak> "Run as > Ant build"
[21:55:11] <ron> that's how you build it. how do you *run* it?
[21:55:52] <ron> or does the ant build do the whole magic? o_O
[21:56:24] <tsyrak> that's what i meant
[21:56:30] <tsyrak> the ant has 3 options for this project
[21:56:37] <tsyrak> all or just build or just run
[21:56:43] <ron> okay
[21:56:50] <ron> so you need to modify your run configuration
[21:57:03] <ron> it's got nothing to do with the memory you assign to eclipse
[21:57:09] <tsyrak> i've tried using the JRE tab
[21:57:18] <ron> of what?
[21:57:19] <tsyrak> ok, i'm listening
[21:57:23] *** kasterma has quit IRC
[21:57:49] <tsyrak> when i right-click the build.xml file and select "Ant build..." i've got a config screen
[21:57:53] <tsyrak> there, there's a JRE tab
[21:58:26] <tsyrak> it's set on "separate jre: jdk..." and i've added VM arguments:
[21:58:48] <tsyrak> however when i run the program it's as if i had not specified anything
[21:59:00] *** Hanumaan has joined #eclipse
[21:59:23] <tsyrak> i've also added those to the eclipse.ini and to the arguments when starting eclipse from an ms-dos prompt
[21:59:45] <tsyrak> any idea? or is there a way to configure those values in the JRE directly
[21:59:50] *** philosophia has joined #eclipse
[21:59:52] <ron> trying to check
[21:59:55] <tsyrak> like a "default config" for the JRE you know
[21:59:56] <tsyrak> k
[22:00:13] <ron> trying to see if I have an ant project somewhere
[22:00:18] <philosophia> i start jboss from eclipse but now i'm trying to enable a privileged port 443 - and i'm getting permission denied when i start the jboss server
[22:00:28] <philosophia> is there any way to start jboss as root from eclipse server tab?
[22:01:22] *** dirk_77_ has joined #eclipse
[22:03:45] <ron> tsyrak: well, you can either try raising the memory or you can try running it from command line.
[22:04:52] *** vwegert has quit IRC
[22:04:59] *** GJdan has joined #eclipse
[22:05:46] <tsyrak> ron: does this help? http://www.velocityreviews.com/forums/t129545-settings-default-jvm-heap-size.html
[22:05:55] <tsyrak> there is no such tag in my current ant file
[22:06:05] *** rkrul has quit IRC
[22:06:07] <tsyrak> i'm trying to figure out where to add the argument in it
[22:06:37] <ron> aah.. good point. maybe that's the issue,
[22:06:52] <ron> I've never really used ant besides running the ant command.
[22:07:09] *** GJdan has quit IRC
[22:08:38] *** UrsoBranco has quit IRC
[22:10:55] <tsyrak> it did the trick ron :D
[22:10:58] <tsyrak> thanks for the pointer
[22:11:11] <tsyrak> i really never thought it could come from the ant file before :)
[22:11:25] <tsyrak> memory logs make sense now so hopefully the app will run without crash
[22:13:52] *** esxd01t has joined #eclipse
[22:15:14] *** philosophia has quit IRC
[22:16:56] *** esxd01t has quit IRC
[22:23:30] *** rcjsuen has quit IRC
[22:26:06] *** buribu has quit IRC
[22:31:32] *** Pasqualle has quit IRC
[22:31:40] *** kthomas_vh has joined #eclipse
[22:31:56] <tsyrak> the app ran succesfully =) this is a good day!
[22:32:00] *** tsyrak has quit IRC
[22:34:50] <baedert> can anyone give me a hint how to add the ContentOutlinePage I created with help of http://wiki.eclipse.org/FAQ_How_do_I_create_an_Outline_view_for_my_own_language_editor%3F to my perspective ui?
[22:35:18] *** ddk_ has quit IRC
[22:35:56] *** ddk_ has joined #eclipse
[22:37:37] *** kthomas_vh_ has joined #eclipse
[22:38:39] *** LongBeach has quit IRC
[22:38:53] *** Hanumaan has quit IRC
[22:39:26] *** rossand has quit IRC
[22:40:42] *** kthomas_vh has quit IRC
[22:43:19] *** kassah has quit IRC
[22:46:18] *** rrodriguez has joined #eclipse
[22:48:03] *** rcjsuen has joined #eclipse
[22:48:24] *** uebera|| has quit IRC
[22:48:58] *** uebera|| has joined #eclipse
[22:52:10] <nitind> baedert: Add it to what?
[22:52:42] <baedert> to one of my IFolderLayouts I guess
[22:52:52] <nitind> baedert: You've looked at other implementors of IPerspectiveFactory as examples?
[22:53:08] *** nitrospectide has quit IRC
[22:53:59] *** ddk_ has quit IRC
[22:54:00] *** d_a_carver has quit IRC
[22:54:53] <baedert> no, but the link I posted also creates the ContentOutlineView in my subclass of TextEditor... so to add it that way, I guess I'd need the editor
[22:55:25] <nitind> You mean it creates the page, right?  The perspective layout should create/place the view.
[22:56:42] *** d_a_carver has joined #eclipse
[22:57:08] *** ron has quit IRC
[22:58:58] *** kthomas_vh has joined #eclipse
[22:59:29] <baedert> yeah, it's ContentOutlinePage, sorry.
[23:00:40] *** mpiggott has quit IRC
[23:01:30] *** kthomas_vh_ has quit IRC
[23:02:09] *** xbb has quit IRC
[23:05:15] *** mziaei has quit IRC
[23:08:13] <nitind> Yes, your page won't exist until the editor is opened and the outline view is visible.
[23:10:57] *** hex` has joined #eclipse
[23:13:28] *** uebera|| has quit IRC
[23:13:28] *** uebera|| has joined #eclipse
[23:14:35] *** jerboaa has quit IRC
[23:16:09] *** soulreaper has quit IRC
[23:16:14] *** rrodriguez has quit IRC
[23:24:32] *** _arjen_ has quit IRC
[23:25:29] *** briandealwis has quit IRC
[23:25:53] *** briandealwis has joined #eclipse
[23:29:36] *** drthingums has joined #eclipse
[23:29:59] *** etiago has quit IRC
[23:33:29] *** francis4 has joined #eclipse
[23:33:56] *** eN_Joy has quit IRC
[23:37:48] *** mgj has quit IRC
[23:38:41] *** fisix has quit IRC
[23:39:03] *** b0c1 has quit IRC
[23:39:09] *** kthomas_vh_ has joined #eclipse
[23:39:29] *** b0c1 has joined #eclipse
[23:41:06] *** ksawicki has quit IRC
[23:41:14] *** jmotta has quit IRC
[23:41:56] *** saml has quit IRC
[23:42:39] *** fisix has joined #eclipse
[23:42:50] *** kthomas_vh has quit IRC
[23:43:33] *** ksawicki has joined #eclipse
[23:48:07] *** scorphus has joined #eclipse
[23:50:29] *** kthomas_vh_ has quit IRC
[23:56:22] *** Webonaute has quit IRC

top