[The Java Posse] Re: maven: multiple calls to a plugin

2009-08-25 Thread Dominic Mitchell
On Tue, Aug 25, 2009 at 2:51 AM, carljmosca carljmo...@gmail.com wrote: I believe the problem I was having is a result of my lack of understanding of maven. While I am still no expect, I believe the best way to expose multiple classes as web services in a single project with maven is to use

[The Java Posse] Re: maven: multiple calls to a plugin

2009-08-25 Thread carljmosca
That's possible (I don't know web services particularly).  The normal rule with maven is one module produces one artifact.   The funny part (at least to me) is I think what I have described is a fairly common use case for these (now three) plugins which I have tried but none eludes to or

[The Java Posse] Re: Has anybody else tried Lombok?

2009-08-25 Thread Ed G
There's the Eclipse error log you can look at, when I'm having problems with plugins sometimes exceptions show up there. You can get to it by going to Help-About Eclipse (at the bottom) - Configuration Details - View Error Log On Aug 24, 4:10 pm, Matt mattgrom...@gmail.com wrote: I don't have

[The Java Posse] Re: Has anybody else tried Lombok?

2009-08-25 Thread Steve
I hope they soon add knowledge of Eclipse's field prefixes so the @Data class annotation will generate getters/setters without the prefix. Right now class @Data Car private int fSpeed; produces setFSpeed(int) getFSpeed() On Aug 24, 4:10 pm, Matt mattgrom...@gmail.com wrote: I don't have

[The Java Posse] Re: Episode 274 - Lombok

2009-08-25 Thread Roel Spilker
Also, Lombok is the nickname of a small pepper: http://en.wikipedia.org/wiki/Naga_jolokia The tag line on the Project Lombok webside is Spice up your java On Aug 24, 5:27 am, Christian Catchpole christ...@catchpole.net wrote: Although walking into Starbucks and ordering a half-caf

[The Java Posse] Re: What's a good webframework to use (wait, wait!)

2009-08-25 Thread Patrick Forhan
I'd second this. A simple servlet environment, with some nifty Google services mixed in. Directly integrated with eclipse, but you can also use ant bindings for all the same operations (run local, deploy, etc). Pat. On Aug 25, 12:23 am, Mark Derricutt m...@talios.com wrote: One of the guys

[The Java Posse] Re: Has anybody else tried Lombok?

2009-08-25 Thread Casper Bang
Ah, the wonderful inconsistent world of Java pseudo properties. So for boolean types, will we generate isFoo() or getFoo() or both? /Casper On 25 Aug., 13:34, Steve steve.f.ma...@gmail.com wrote: I hope they soon add knowledge of Eclipse's field prefixes so the @Data class annotation will

[The Java Posse] Re: Has anybody else tried Lombok?

2009-08-25 Thread Reinier Zwitserloot
isFoo() at the moment. If you want getFoo(), knock yourself out and add it. @Data/@Getter is smart enough to not also generate isFoo() if you already wrote getFoo(). With sufficient domain knowledge these inconsistencies are quite managable. NB: Steve, for those field prefixes, file an issue if

[The Java Posse] Re: Has anybody else tried Lombok?

2009-08-25 Thread Roel Spilker
Hmm. Even if we add knowlegde about Eclipse field prefixes, it would mean that the same file compiled by javac would result in a different file. Maybe we can have a -D command line parameter for javac and use the Eclipse setting implicitly. Is there a reason you are so fond of the field prefix?

[The Java Posse] Re: What's a good webframework to use (wait, wait!)

2009-08-25 Thread Richard Vowles
If you want to use GAE and Google for Auth, GAELyk is probably the best framework for a simple app. On Aug 26, 12:56 am, Patrick Forhan pfor...@gmail.com wrote: I'd second this.  A simple servlet environment, with some nifty Google services mixed in.  Directly integrated with eclipse, but you

[The Java Posse] A quick and dirty way to throw unchecked exceptions

2009-08-25 Thread Christian Catchpole
Compile this.. (any package you like, or no package at all) public class Rethrow { public static void unchecked(Throwable t) { t=t; } } javap reports the byte code as.. public static void unchecked(java.lang.Throwable); Code: Stack=1, Locals=1, Args_size=1 0: aload_0

[The Java Posse] Re: A quick and dirty way to throw unchecked exceptions

2009-08-25 Thread Marcelo Fukushima
theres also a throwException(Throwable) in sun.misc.Unsafe - though to use that you really have to want to On Wed, Aug 26, 2009 at 12:30 AM, Christian Catchpolechrist...@catchpole.net wrote: Compile this..  (any package you like, or no package at all) public class Rethrow {    public static

[The Java Posse] Re: A quick and dirty way to throw unchecked exceptions

2009-08-25 Thread Christian Catchpole
Yeah, i was reading about that one. But it's only in the Sun VMs and probably subject to change. But hey, I just listed this as an exercise. It just shows the difference between checked and unchecked is one little byte. :) On Aug 26, 1:44 pm, Marcelo Fukushima takesh...@gmail.com wrote: