Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.0.1, 2.1.0
    • Fix Version/s: 2.0.0
    • Labels:
      None

      Description

      1. Use service discovery mechanism to invoke annotation processor for metamodel generation
      2. Provide a activation switch -Aopenjpa.generate=true such that the user must enable the switch to generate these metamodel classes besides having openjpa.jar in classpath.

      Target usage patterns

      A. Using command lines

      $ javac -cp /path/to/openjpa.jar -Aopenjpa.generate=true src/org/acme/Foo.java

      B. Using Eclipse IDE
      In 'Configure Annotation Processor Dialog'
      – set openjpa.generate to 'true'
      – include openjpa jar in factory path

      C. Using Ant
      <javac .....
      <classpath refid="openjpa.jar"/>
      <compilerarg value="-Aopenjpa.generate=true"/>
      </javac>

        Issue Links

          Activity

          Pinaki Poddar created issue -
          Pinaki Poddar made changes -
          Field Original Value New Value
          Link This issue is related to OPENJPA-1010 [ OPENJPA-1010 ]
          Kevin Sutter made changes -
          Fix Version/s 2.0.0 [ 12314019 ]
          Donald Woods made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.1.0 [ 12314542 ]
          Resolution Fixed [ 1 ]
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          1d 1h 45m 1 Donald Woods 10/Apr/10 18:22
          Resolved Resolved Closed Closed
          12d 3h 7m 1 Donald Woods 22/Apr/10 21:30

            People

            • Assignee:
              Pinaki Poddar
              Reporter:
              Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development