You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2010/04/09 17:37:50 UTC

[jira] Created: (OPENJPA-1622) Invoking MetaModel generator

Invoking MetaModel generator
----------------------------

                 Key: OPENJPA-1622
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1622
             Project: OpenJPA
          Issue Type: Improvement
          Components: build / infrastructure, jpa, tooling
    Affects Versions: 2.0.0, 2.0.1, 2.1.0
            Reporter: Pinaki Poddar
            Assignee: Pinaki Poddar
             Fix For: 2.1.0


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>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-1622) Invoking MetaModel generator

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods resolved OPENJPA-1622.
-----------------------------------

    Fix Version/s:     (was: 2.1.0)
       Resolution: Fixed

> Invoking MetaModel generator
> ----------------------------
>
>                 Key: OPENJPA-1622
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1622
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure, jpa, tooling
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (OPENJPA-1622) Invoking MetaModel generator

Posted by "Kevin Sutter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Sutter updated OPENJPA-1622:
----------------------------------

    Fix Version/s: 2.0.0

> Invoking MetaModel generator
> ----------------------------
>
>                 Key: OPENJPA-1622
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1622
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure, jpa, tooling
>    Affects Versions: 2.0.0, 2.0.1, 2.1.0
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0, 2.1.0
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.