Friday, 7 October 2022

How to configure Java Annotation Processor in Eclipse?

In this post, I am going to explain how to configure ‘dagger-compiler’ annotation processor in Eclipse.

 

Right click on the project -> properties.

 


 

Java Compiler -> Annotation Processing and select the checkbox ‘Enable annotation processing’.




Add plugin jar (For ex: dagger-compiler) to the factory path

Java Compiler -> Annotation Processing -> Factory Path.

 

Select the checkbox "Enable project specific settings" and add your JAR file to the list.

 


 

Apply the changes.

 

Clean and build the project….that’s it you are done.


Previous                                                 Next                                                 Home

No comments:

Post a Comment