camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r1476897 - /camel/trunk/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
Date Mon, 29 Apr 2013 06:00:09 GMT
Author: jstrachan
Date: Mon Apr 29 06:00:08 2013
New Revision: 1476897

URL: http://svn.apache.org/r1476897
Log:
make the annotation processor more restrictive on the annotations it processes to try help
the CI build on jdk 1.6 - thanks Babak! Also used java 7 source only to help further nudge
the jdk 6 build along a bit more

Modified:
    camel/trunk/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java

Modified: camel/trunk/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
URL: http://svn.apache.org/viewvc/camel/trunk/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java?rev=1476897&r1=1476896&r2=1476897&view=diff
==============================================================================
--- camel/trunk/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
(original)
+++ camel/trunk/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
Mon Apr 29 06:00:08 2013
@@ -58,8 +58,8 @@ import java.util.TreeMap;
  * Processes all Camel endpoints
  */
 //@SupportedOptions({"foo"})
-@SupportedAnnotationTypes({"org.apache.camel.*", "org.apache.camel.spi.*"})
-@SupportedSourceVersion(SourceVersion.RELEASE_6)
+@SupportedAnnotationTypes({"org.apache.camel.spi.*"})
+@SupportedSourceVersion(SourceVersion.RELEASE_7)
 public class EndpointAnnotationProcessor extends AbstractProcessor {
     public boolean process(Set<? extends TypeElement> annotations, final RoundEnvironment
roundEnv) {
         if (roundEnv.processingOver()) {



Mime
View raw message