[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
> 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.)

Tried to add this class:
import demo.TypeGeneratingAnnotation;

@TypeGeneratingAnnotation("xx")
public class ATest {

}

Still nothing happens (and I have checked the project directory using file 
explorer looking for hidden files too).

Two ideas:
1) I read somewhere in an old message that APT needed to be "activated" per 
project. This is not mentioned in introToAPT and I can't find any option to 
do it. If necessary, how ?
2) I read under "bugs and problems" something about tool.jar that was not 
mentioned elsewhere in the document. Is there something I need to do here or 
is the comment releated to an old case.

In any case, I think APT needs some debugging output so that users (and you 
guys) can find out what is wrong?

/Morten