eclipse annotation processor

Discussion in 'Java' started by steph, Dec 2, 2010.

  1. steph

    steph Guest

    Hi all,

    I got an annotation processor which add some methods to an annoted class.
    This annotation processor is working using javac in command line.
    When compiling in eclipse 3.6.1 (i.e: build), those methods are not added.

    I search the web a bit and find some howto configure it; it is
    recognized as an annotation processor and enabled, but it fails.
    I also googled a bit for this issue and found some similar questions but
    not answered.

    Does anyone have any idea so solve it ?
     
    steph, Dec 2, 2010
    #1
    1. Advertising

  2. steph

    Arne Vajhøj Guest

    On 02-12-2010 17:38, steph wrote:
    > I got an annotation processor which add some methods to an annoted class.
    > This annotation processor is working using javac in command line.
    > When compiling in eclipse 3.6.1 (i.e: build), those methods are not added.
    >
    > I search the web a bit and find some howto configure it; it is
    > recognized as an annotation processor and enabled, but it fails.
    > I also googled a bit for this issue and found some similar questions but
    > not answered.
    >
    > Does anyone have any idea so solve it ?


    Eclipse comes with its own compiler.

    Your best chance must be to figure out how do it with
    ant javac task and then tell Eclipse to use ant for building.

    Arne
     
    Arne Vajhøj, Dec 2, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chao
    Replies:
    1
    Views:
    10,007
    Tim Hubberstey
    May 6, 2004
  2. rajan

    Back Annotation simulations

    rajan, Aug 7, 2004, in forum: VHDL
    Replies:
    4
    Views:
    4,481
    Ansgar Bambynek
    Aug 10, 2004
  3. brahatha
    Replies:
    1
    Views:
    675
  4. Antti

    Annotation processor

    Antti, Jun 29, 2007, in forum: Java
    Replies:
    4
    Views:
    989
    Piotr Kobzda
    Jul 4, 2007
  5. stc
    Replies:
    9
    Views:
    918
    Franz
    Jan 10, 2008
Loading...

Share This Page