Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 82780 invoked from network); 19 May 2010 18:24:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 May 2010 18:24:22 -0000 Received: (qmail 19043 invoked by uid 500); 19 May 2010 18:24:22 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 19006 invoked by uid 500); 19 May 2010 18:24:21 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 18998 invoked by uid 99); 19 May 2010 18:24:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 May 2010 18:24:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.24.207.26] (HELO mail.seitenbau.net) (217.24.207.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 May 2010 18:24:13 +0000 Received: from [192.168.15.18] (helo=www.seitenbau.net) by router.seitenbau.net with esmtp (Exim 4.43) id 1OEnvs-0006wU-P3 for torque-dev@db.apache.org; Wed, 19 May 2010 20:23:53 +0200 In-Reply-To: <55B8568AFA5F144F886F18186BAD5B2C0643A54A32@durham-e2k7mb1.dukece.com> References: <4BF17CBC.1090105@apache.org> <55B8568AFA5F144F886F18186BAD5B2C0643A54A32@durham-e2k7mb1.dukece.com> Subject: RE: refactoring names in generator X-KeepSent: C020D13E:D87C3BC1-C1257728:0062EE2A; type=4; name=$KeepSent To: "Apache Torque Developers List" X-Mailer: Lotus Notes Release 8.5 December 05, 2008 Message-ID: From: Thomas Fischer Date: Wed, 19 May 2010 20:23:50 +0200 X-MIMETrack: Serialize by Router on www/seitenbau(Release 8.5HF467 | May 15, 2009) at 19.05.2010 20:23:51 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Score: -1.4 (-) X-Spam-Report: -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Virus-Checked: Checked by ClamAV on apache.org > FYI - When I was talking about the "Generator" component for Torque, > I was thinking that the Generator component was the holder for the > Torque specific "build" tool "interface" code. > > I was assuming that the "Output" generator framework would eventually > be in a separate sub project since you have expressed that it could > become a standalone external. > > I.e., having the same structure 3.x does with Texan/Velocity... but > with the Output code jar replacing them. The current structure is as follows: - The generator project contains a general text/code generation tool. It is build-system agnostic. It does not contain any information about the torque schema file structure. - The templates project contain all knowlewdge about the torque schema file structure, and how the output (java, sql, html) is created from the schema files. - The maven2 plugin embeds the generator into the maven 2 build system In the future I see the following structural changes: - an ant plugin (not yet implemented, extra subproject) will expose the generator as an ant task. - currently the generator is missing the jdbc2xml (create schema file from jdbc metadata) and sql2xml (create schema data from sql script) tasks from the old generator. I plan to incorporate the jdbc2xml task by writing a jdbc metadata source for reading data from jdbc metadata which then can feed the generator. Does anybody know of anyone using the sql2xml task ? Anybody sees the need to support it in Torque 4 ? Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org