From 26bd0a50c83e7a2d9c1bc9f809160e734521fd54 Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Tue, 20 Apr 2010 15:58:23 +0000 Subject: [PATCH] OPENJPA-1682: Merge doc change from trunk git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935970 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/doc/manual/jpa_overview_criteria.xml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/openjpa-project/src/doc/manual/jpa_overview_criteria.xml b/openjpa-project/src/doc/manual/jpa_overview_criteria.xml index 437ce2b3c..42e213f53 100644 --- a/openjpa-project/src/doc/manual/jpa_overview_criteria.xml +++ b/openjpa-project/src/doc/manual/jpa_overview_criteria.xml @@ -172,7 +172,9 @@ Annotation processor option -Aopenjpa.metamodel=true is specified. $ javac -classpath path/to/openjpa-all.jar -Aopenjpa.metamodel=true mypackage/MyEntity.java -will generate source code for canonical meta-model class mypackage.MyEntity_.java. +will generate source code for canonical meta-model class mypackage.MyEntity_. +The source code is generated relative to the directory specified in -s option +of javac compiler and defaulted to the current directory. @@ -206,20 +208,6 @@ the name of a meta-class given the name of the original persistent Java entity c By default, adds a OpenJPA proprietary text as comment block. - - - -Aout=dir : A directory in the local file system. The generated files will be written - relative to this directory according to the package structure i.e. if dir - is specified as /myproject/generated-src then the generated source code will be - written to /myproject/generated-src/mypackage/MyEntity_.java. - If this option is not specified, then an attempt will be made to write the generated source file - in the same directory of the source code of original class mypackage.MyEntity. - The source code location for mypackage.MyEntity can only be determined for Sun JDK6 - and when tools.jar being available to the compiler classpath. If the source code - location for the original class can not be determined, and the option is not specified, then the - generated source code is written relative to the current directory according to the package structure. - -