openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhouyanming (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (OPENJPA-1382) make org.apache.openjpa.persistence.meta.AnnotationProcessor6 as service
Date Thu, 12 Nov 2009 06:23:39 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776866#action_12776866
] 

zhouyanming edited comment on OPENJPA-1382 at 11/12/09 6:22 AM:
----------------------------------------------------------------

It's works in eclipse also,but need to use absolute path,like  -Aout=D:/workspace/helloworld/.apt_generated,or
sources  will generated in eclipse install directory

      was (Author: quaff):
    It's works in eclipse also
  
> make org.apache.openjpa.persistence.meta.AnnotationProcessor6 as service
> ------------------------------------------------------------------------
>
>                 Key: OPENJPA-1382
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1382
>             Project: OpenJPA
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-M3
>         Environment: windows XP,sun jdk6
>            Reporter: zhouyanming
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> 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

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


Mime
View raw message