[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: apt: Not working in 3.2M6?

"Walter Harley" <wharley@xxxxxxx> wrote in message 
news:e0se9v$pfq$1@xxxxxxxxxxxxxxxxxxxx
> "MortenCh" <nospam@xxxxxxxxx> wrote in message 
> news:e0s0n5$5ld$1@xxxxxxxxxxxxxxxxxxxx
>>I used project-specific settings. Eclipse was able to find aptdemo.jar 
>>under factory path and the jar file is selected (checked).
>>
>> My testfile looks like this:
>>
>> import demo.DemoAnnotation; [...]
>
> What about if you try TypeGeneratingAnnotation?  Do you get a generated 
> source folder created, and a class file generated within that folder? 
> (Note that by default the gen src folder won't show up in the package 
> explorer, because it starts with a '.', but you should see it in the 
> Navigator.)


To clarify that parenthetical note: the instructions at 
http://www.eclipse.org/jdt/apt/introToAPT.html incorrectly say that the 
generated src folder will be named __generated_src.  That was true for at 
least a while in the 3.1 version of APT, but in 3.2 (and I think in the 
latest versions of 3.1.x) it is named .apt_generated.