tags:

views:

29

answers:

0

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.