Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 90248 invoked from network); 7 Dec 2008 08:22:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2008 08:22:05 -0000 Received: (qmail 87698 invoked by uid 500); 7 Dec 2008 08:22:17 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 87687 invoked by uid 99); 7 Dec 2008 08:22:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Dec 2008 00:22:17 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Dec 2008 08:20:55 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 456DA234C321 for ; Sun, 7 Dec 2008 00:21:44 -0800 (PST) Message-ID: <80830931.1228638104283.JavaMail.jira@brutus> Date: Sun, 7 Dec 2008 00:21:44 -0800 (PST) From: "Ilan Kirsh (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-621) Add javax.jdo.JDOEnhancerMain to call the enhancer via standard API In-Reply-To: <1831060777.1228526504210.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654180#action_12654180 ] Ilan Kirsh commented on JDO-621: -------------------------------- I would prefer: javax.jdo.Enhancer (instead of javax.jdo.JDOEnhancerMain) -pu (instead of -persistenceUnit, as -d and not -directory and -v and not -verbose) > java javax.jdo.Enhancer -pu my is easier to type (and remember) than > java javax.jdo.JDOEnhancerMain -persistenceUnit my > Add javax.jdo.JDOEnhancerMain to call the enhancer via standard API > ------------------------------------------------------------------- > > Key: JDO-621 > URL: https://issues.apache.org/jira/browse/JDO-621 > Project: JDO > Issue Type: New Feature > Components: api2 > Affects Versions: JDO 2 maintenance release 2 > Reporter: Craig Russell > Fix For: JDO 2 maintenance release 3 > > > The proposed new class will use the standard enhancer API to enhance classes. The command line parameters would be similar to the original proposal of JDO-591, with changes as needed to use the new class in the TCK. > java -cp classpath {enhancer-class} [options] [jdo-files] [class-files] > where options can be > -persistenceUnit persistence-unit-name : Name of a "persistence-unit" to enhance the classes for > -d target-dir-name : Write the enhanced classes to the specified directory > -checkonly : Just check the classes for enhancement status > -v : verbose output -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.