Annotation Processing in Gradle

Richard Bair richard.bair at oracle.com
Thu Oct 18 14:27:53 PDT 2012


I know this is hopeless noise, sorry about that. But its too late now!

Building by hand:

Richards-MacBook-Pro-3:base richardbair$ javac -d /Users/richardbair/Projects/Work/jfx/graphics-8.0-refactor/javafx/modules/base/build/classes/main -g -classpath /Users/richardbair/Projects/Work/jfx/graphics-8.0-refactor/javafx/build-tools/build/libs/build-tools.jar /Users/richardbair/Projects/Work/jfx/graphics-8.0-refactor/javafx/modules/base/src/java/com/oracle/javafx/jmx/SGMXBean.java /Users/richardbair/Projects/Work/jfx/graphics-8.0-refactor/javafx/modules/base/src/java/com/sun/javafx/PlatformUtil.java
error: Exception thrown while constructing Processor object: null

And everything in that Jar which is on the classpath:

Richards-MacBook-Pro-3:base richardbair$ jar -tvf /Users/richardbair/Projects/Work/jfx/graphics-8.0-refactor/javafx/build-tools/build/libs/build-tools.jar
     0 Thu Oct 18 13:48:36 PDT 2012 META-INF/
    25 Thu Oct 18 13:48:36 PDT 2012 META-INF/MANIFEST.MF
     0 Thu Oct 18 13:19:44 PDT 2012 com/
     0 Thu Oct 18 13:19:44 PDT 2012 com/sun/
     0 Thu Oct 18 13:19:44 PDT 2012 com/sun/javafx/
     0 Thu Oct 18 13:19:44 PDT 2012 com/sun/javafx/beans/
     0 Thu Oct 18 13:48:34 PDT 2012 com/sun/javafx/beans/annotations/
   433 Thu Oct 18 13:48:34 PDT 2012 com/sun/javafx/beans/annotations/Default.class
   400 Thu Oct 18 13:48:34 PDT 2012 com/sun/javafx/beans/annotations/Delegate.class
   484 Thu Oct 18 13:48:34 PDT 2012 com/sun/javafx/beans/annotations/DuplicateInBuilderProperties.class
   401 Thu Oct 18 13:48:34 PDT 2012 com/sun/javafx/beans/annotations/NoBuilder.class
   410 Thu Oct 18 13:48:34 PDT 2012 com/sun/javafx/beans/annotations/NoInit.class
   490 Thu Oct 18 13:48:34 PDT 2012 com/sun/javafx/beans/annotations/NonNull.class
     0 Thu Oct 18 13:19:44 PDT 2012 com/sun/javafx/collections/
     0 Thu Oct 18 13:48:34 PDT 2012 com/sun/javafx/collections/annotations/
   449 Thu Oct 18 13:48:34 PDT 2012 com/sun/javafx/collections/annotations/ReturnsUnmodifiableCollection.class
     0 Thu Oct 18 13:19:44 PDT 2012 javafx/
     0 Thu Oct 18 13:19:44 PDT 2012 javafx/builder/
     0 Thu Oct 18 13:48:36 PDT 2012 javafx/builder/processor/
  2416 Thu Oct 18 13:48:36 PDT 2012 javafx/builder/processor/BuilderProcessor$1SetterCall.class
  3552 Thu Oct 18 13:48:36 PDT 2012 javafx/builder/processor/BuilderProcessor$Scanned.class
 33393 Thu Oct 18 13:48:36 PDT 2012 javafx/builder/processor/BuilderProcessor.class
     0 Thu Oct 18 13:19:44 PDT 2012 META-INF/services/
    42 Thu Oct 18 13:19:44 PDT 2012 META-INF/services/javax.annotation.processing.Processor

and "META-INF/services/javax.annotation.processing.Processor has:

javafx.builder.processor.BuilderProcessor

as its content. Its a mystery to me. Wondering why META-INF is split on the top & bottom of that output, though.


More information about the openjfx-dev mailing list