On 14 Jul 2011, at 12:34, Sanne Grinovero wrote:
Yesterday during one of the changes I made about dependencies I
removed the committed eclipse project file which setup the annotation
processors for Eclipse,
mainly because it was not valid anymore with the current dependencies.
Haha, I only added that about last week. It shows how poor the current approach for
eclipse is :-(
Please make sure you add a note to the contribution guide to state how to set up
annotation processing without this file present. You can find the current instructions in
chapter 1.
Fred Bricon from the JBoss Tools team is working on
https://issues.jboss.org/browse/JBIDE-8208, I've tested his work
yesterday on both Infinispan and Hibernate projects: it's awesome, and
the project will not need anything more than a standard maven project
import to be setup properly.
This is a much better approach.
The integration is very nice, for example if you now make a mistake in
the logger annotations (like a duplicate logging ID) Eclipse will
immediately highlight it as compile error - again without needing to
configure anything in the IDE; as soon as [LOGTOOL-20] will be
included in the next version of the annotation processor we'll even
get errors of mismatching parameters with the message placeholders as
"%s".
There's one side note: this update of the plugin was not released yet,
so please be patient and for the time being configure the annotation
processors manually and avoid committing that in the project as it
will conflict with the plugin work.
The main difficulty in configuring the APs is gone (duplicate
conflicting classes on classpath), so you only have to tick the
annotation processors checkbox to "enabled", if it's not already.
Cheers,
Sanne
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev