What and why .apt_generated
folder is created inside the Web Project within Eclipse or RAD workspace?
Asked
Active
Viewed 3.0k times
33

Mike
- 14,010
- 29
- 101
- 161

user1195192
- 679
- 3
- 11
- 19
1 Answers
30
It's for holding code generated by annotation processors.

Laurence Gonsalves
- 137,896
- 35
- 246
- 299
-
Thanks Laurence. Does that mean this folder is auto generated only for projects using annotations? – user1195192 Mar 07 '12 at 03:49
-
That I do not know, but I suspect it may be true as none of my Eclipse projects contain this folder. – Laurence Gonsalves Mar 07 '12 at 03:55
-
12This 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. – Martin Feb 20 '13 at 02:01
-
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 either – Weslor Oct 30 '15 at 10:20