From aa2cbe7623f2a5bfaad7c8ce9c6017a9de5ef64a Mon Sep 17 00:00:00 2001 From: Donald Woods Date: Tue, 17 Aug 2010 14:32:04 +0000 Subject: [PATCH] OPENJPA-1712 add missing license header git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986326 13f79535-47bb-0310-9956-ffa450edef68 --- scripts/mmg.readme.txt | 48 ++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/scripts/mmg.readme.txt b/scripts/mmg.readme.txt index 195fb42bb..06c9a8284 100644 --- a/scripts/mmg.readme.txt +++ b/scripts/mmg.readme.txt @@ -1,35 +1,41 @@ -Metamodel generator (mmg) +Apache OpenJPA - Metamodel generator (mmg) README +Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0 +-------------------------------------------------------------------------------- -JPA 2.0 provides an utility to generate canonical metamodel for each persistent domain entity. -This brief note describes how to generate these canonical metamodel classes. +JPA 2.0 provides an utility to generate canonical metamodel for each persistent +domain entity. This brief note describes how to generate these canonical +metamodel classes. -The canonical metamodel classes are generated during compilation of persistent domain entity classes. -The generation process depends on Annotation Processing facility available in JDK6. Naturally, this -process *only* works if the persistent domain entity classes are compiled with a JDK6 compiler. +The canonical metamodel classes are generated during compilation of persistent +domain entity classes. The generation process depends on Annotation Processing +facility available in JDK6. Naturally, this process *only* works if the +persistent domain entity classes are compiled with a JDK6 compiler. + +Effectively, the process appears to be normal compilation process with a +specialized Annotation Processor: + + $ javac -classpath %CLASSPATH% <*.java source files> -Effectively, the process appears to be normal compilation process with a specialized Annotation Processor - $ javac -classpath %CLASSPATH% <*.java source files> - - Compiler Classpath ------------------ - The compiler classpath must include OpenJPA libraries. +The compiler classpath must include OpenJPA libraries. mmg options ----------- - These options specify the Annotation processor to be used as well as options for the processor. The only mandatory - option is - -processor org.apache.openjpa.persistence.meta.AnnotationProcessor6 +These options specify the Annotation processor to be used as well as options +for the processor. The only mandatory option is: + -processor org.apache.openjpa.persistence.meta.AnnotationProcessor6 -The other options qualify the Annotation processor itself and specified with -A