What is .apt_generated folder in Web project?
Asked Answered
F

1

34

What and why .apt_generated folder is created inside the Web Project within Eclipse or RAD workspace?

Fracture answered 7/3, 2012 at 3:42 Comment(0)
P
30

It's for holding code generated by annotation processors.

Proterozoic answered 7/3, 2012 at 3:47 Comment(4)
Thanks Laurence. Does that mean this folder is auto generated only for projects using annotations?Fracture
That I do not know, but I suspect it may be true as none of my Eclipse projects contain this folder.Proterozoic
This isn't necessarily needed for Annotations themselves. This folder is created if and only if you have "Annotation Processing" enabled on the project. See Project Properties > Java Compiler > Annotation Processing. You can probably disable it if you have no classes implementing com.sun.mirror.apt.AnnotationProcessor.Eucharis
I don't have "Annotation Processing" enabled, try to remove it, from the Build Path, from the project, but then it is again generated automatically. I do not use Annotations eitherRobi

© 2022 - 2024 — McMap. All rights reserved.