You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "zhouyanming (JIRA)" <ji...@apache.org> on 2009/11/12 07:23:39 UTC
[jira] Issue Comment Edited: (OPENJPA-1382) make
org.apache.openjpa.persistence.meta.AnnotationProcessor6 as service
[ 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.