Return-Path: Delivered-To: apmail-incubator-empire-db-dev-archive@minotaur.apache.org Received: (qmail 12730 invoked from network); 11 Oct 2009 19:50:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Oct 2009 19:50:57 -0000 Received: (qmail 63448 invoked by uid 500); 11 Oct 2009 19:50:57 -0000 Delivered-To: apmail-incubator-empire-db-dev-archive@incubator.apache.org Received: (qmail 63422 invoked by uid 500); 11 Oct 2009 19:50:57 -0000 Mailing-List: contact empire-db-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: empire-db-dev@incubator.apache.org Delivered-To: mailing list empire-db-dev@incubator.apache.org Received: (qmail 63412 invoked by uid 99); 11 Oct 2009 19:50:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 19:50:57 +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 [88.79.172.157] (HELO mail.esteam.de) (88.79.172.157) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Oct 2009 19:50:47 +0000 Content-class: urn:content-classes:message Subject: re: Starting with Empire-db code generator MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Sun, 11 Oct 2009 21:50:08 +0200 Message-ID: X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <4AC90E6A.8050000@web.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: re: Starting with Empire-db code generator Thread-Index: AcpFNsYsinzKEJWQTwmG6N9pEDUv5wFdGfqA References: <4AC90E6A.8050000@web.de> From: =?iso-8859-1?Q?Rainer_D=F6bele?= To: Cc: "Benjamin Venditti" X-Virus-Checked: Checked by ClamAV on apache.org Hi Benni, since we have not heard anything of Thomas for a while I think we must = continue on this subject without him. We should start new from scratch with the basic project that I have = already set up. So if you are still willing and able to work with us can you bring in = some of the ideas we had into this new project? We should first start with developing the templates for the database and = table classes and generate them with the options I have previously = suggested (if possible). Looking forward to hearing form you. Regards Rainer benniven@web.de wrote: > Re: Starting with Empire-db code generator >=20 > Hi Thomas, >=20 > I have just moved to vienna (austria) so i had not that much time for > empire-db till now (sorry for that), but i have been following the > mails > on dev list. > I was hoping that you would do the first step, as the codegen is your > idea and you have written most of the code. >=20 > Maybe we should, for the beginning, attach the code that has been > written till now to the JIRA task that Rainer created. > I'd do I myself, but I think I'm not allowed to do so as the code is > mostly yours and I'm not sure whether you've submitted a signed CLA to > Apache. >=20 > Please let me know what you think, or what you'd suggest to do first. >=20 > Best Regards > Benjamin >=20 >=20 >=20 > Rainer D=F6bele schrieb: > > Hi all, > > > > as you have probably noticed we have finally managed to get our = 2.0.5 > release approved and published. > > Now it's time to move ahead and get on with some serious work :-) > > > > I have now set up a new project called "empire-db-codegen". > > It is a Maven style subproject of "empire-db-parent" just like the > empire-db core and the struts2 extensions. > > You can best access it with the public access to the svn repository > on > > http://svn.apache.org/repos/asf/incubator/empire-db/trunk > > > > The package name for the code generator classes is > "org.apache.empire.db.codegen". > > The main class is "org.apache.empire.db.codegen.CodeGen" which can = be > executed through its main method. > > This should be OK for now, but my idea is to make this whole thing a > Maven plugin later on. > > > > At the moment the project contains only this class, a configuration > class and a config file. > > The properties of the configuration bean will be set from the > config.xml file. I have already added some configuration options of > which I thought they would be useful. Feel free to add more. > > Before you start debugging however, you have to provide valid JDBC > connection parameters to a database. > > > > The idea is now to add the templates and the code for the code > generator based on your previous work (@Thomas and Benjamin). We = should > make sure, that the code is as simple as possible and largely "fat > free" i.e. without any unnecessary stuff. On the other hand it would = be > handy to have as many configuration options as possible with useful > defaults. Any details about the implementations can be discussed on > this forum (empire-db-dev). > > > > I have also created a JIRA issue though which you may submit your > code. > > It is EMPIREDB-52 which should be accessible though this URL: > > > = https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=3Dtrue&mo= > = de=3Dhide&pid=3D12310820&sorter/order=3DDESC&sorter/field=3Dpriority&reso= lution > =3D-1&component=3D12313027 > > > > I would be pleased if you help us creating this code generator and > make it a major improvement for our next release. > > Please let me know whether this a good starting point for you and > whether you will be able to work this way. > > Before we start we need to discuss who is doing what anyway. > > > > Regards > > Rainer > > > >