Eclipse compiler with APT

Posted by westcam on Stack Overflow See other posts from Stack Overflow or by westcam
Published on 2010-05-16T13:24:22Z Indexed on 2010/05/16 13:30 UTC
Read the original article Hit count: 199

Filed under:
|

What is the correct way to call the Eclipse compiler with an APT processor from Java?

I am using the following Maven dependency for the compiler

<dependency>
  <groupId>org.eclipse.jdt.core.compiler</groupId>
  <artifactId>ecj</artifactId>
  <version>3.5.1</version>
</dependency>

I want to test an APT processor with the Eclipse compiler in addition to Javac.

© Stack Overflow or respective owner

Related posts about java

Related posts about apt