Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1382

make org.apache.openjpa.persistence.meta.AnnotationProcessor6 as service

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.0-M3
    • 2.0.0
    • integration, tooling
    • None
    • windows XP,sun jdk6

    Description

      please add a file named "javax.annotation.processing.Processor" to META-INF/services
      file content is org.apache.openjpa.persistence.meta.AnnotationProcessor6

      otherwise we need specific classname use -processor argument

      reduce
      javac -processorpath openjpa-all-2.0.0-SNAPSHOT.jar -processor org.apache.openjpa.persistence.meta.AnnotationProcessor6 *.java
      to
      javac -processorpath openjpa-all-2.0.0-SNAPSHOT.jar *.java

      Attachments

        Activity

          People

            ppoddar@apache.org Pinaki Poddar
            quaff Yanming Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: