some questions about Annotation processor

15 views
Skip to first unread message

Billybear

unread,
Oct 9, 2011, 10:31:24 PM10/9/11
to Android Mock Discussion
Hello,First ,look at below:

Android Mock uses a Java 1.6 Annotation processor to generate the
mocks. By simply including AndroidMockGenerator.jar in the classpath
when you invoke javac to compile your tests, the Annotation processor
will automatically be launched and generate the mocks.

When I use the AndroidMock in eclipse,I can't mock any object.In the
above. It is said that the Annotation processor will automatically be
launched.
So,I want to know where the Annotation processor is located ? In the
eclipse?

But,In my eclipse, the property of the project....click " Java
Complier....Annotation Processing....Factory Path ....

There isn't a option like this that others have:

org.eclipse.jst.ws.annotations.core.

So,is it because this that I cann't mock object ,and what I should do?
install a new eclipse?

thanks very much!

Stephen Woodward

unread,
Oct 13, 2011, 3:14:45 PM10/13/11
to androi...@googlegroups.com
Hi, sorry for the delayed response.

What version of eclipse do you have?  What version of Java?
Reply all
Reply to author
Forward
0 new messages