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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.0-M3
    • Fix Version/s: 2.0.0
    • Component/s: integration, tooling
    • Labels:
      None
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: