Re: Annotation Processing for GWT using javax.annotation.processing. Alternatives, Compile tips ?

2010-12-28 Thread Thomas Broyer
On Tuesday, December 28, 2010 3:10:01 AM UTC+1, zixzigma wrote: I have defined a custom annotation in my GWT app, and have annotated my classes with it. I would like to process it and generate some code, that rest of my app would depend on it. 1- do you think using this package:

Re: Annotation Processing for GWT using javax.annotation.processing. Alternatives, Compile tips ?

2010-12-28 Thread Gal Dolber
Guaw! great project On Tue, Dec 28, 2010 at 7:54 AM, Thomas Broyer t.bro...@gmail.com wrote: On Tuesday, December 28, 2010 3:10:01 AM UTC+1, zixzigma wrote: I have defined a custom annotation in my GWT app, and have annotated my classes with it. I would like to process it and generate

Re: Annotation Processing for GWT using javax.annotation.processing. Alternatives, Compile tips ?

2010-12-28 Thread Gal Dolber
Thomas, where you been able to use lombok with gwt code? I getting error while running (or compiling) on every call to a generated method. [ERROR] [testapp] - Line 61: The method getMarketing() is undefined for the type Unit On Tue, Dec 28, 2010 at 8:16 AM, Gal Dolber gal.dol...@gmail.com wrote:

Re: Annotation Processing for GWT using javax.annotation.processing. Alternatives, Compile tips ?

2010-12-28 Thread Thomas Broyer
Yes we do. You have to add the generated sources output dir to your classpath for GWT to see them, and make sure GWT doesn't see the original source files (either by putting them later on the classpath, or better not at all). Here's our project layout (dictated by both Maven and the

Re: Annotation Processing for GWT using javax.annotation.processing. Alternatives, Compile tips ?

2010-12-28 Thread Gal Dolber
Thanks!! On Tue, Dec 28, 2010 at 9:05 AM, Thomas Broyer t.bro...@gmail.com wrote: Yes we do. You have to add the generated sources output dir to your classpath for GWT to see them, and make sure GWT doesn't see the original source files (either by putting them later on the classpath, or

Annotation Processing for GWT using javax.annotation.processing. Alternatives, Compile tips ?

2010-12-27 Thread zixzigma
I have defined a custom annotation in my GWT app, and have annotated my classes with it. I would like to process it and generate some code, that rest of my app would depend on it. 1- do you think using this package: javax.annotation.processing is a good idea ? are there any alternatives ? how