Return-Path: Delivered-To: apmail-incubator-empire-db-dev-archive@minotaur.apache.org Received: (qmail 3734 invoked from network); 12 Oct 2009 07:28:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Oct 2009 07:28:51 -0000 Received: (qmail 46840 invoked by uid 500); 12 Oct 2009 07:28:51 -0000 Delivered-To: apmail-incubator-empire-db-dev-archive@incubator.apache.org Received: (qmail 46815 invoked by uid 500); 12 Oct 2009 07:28:51 -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 46805 invoked by uid 99); 12 Oct 2009 07:28:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 07:28:51 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Mon, 12 Oct 2009 07:28:48 +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: Mon, 12 Oct 2009 09:28:25 +0200 Message-ID: X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <3ab983230910111342y69ad6f96x4c61c3477e8f58da@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: re: Starting with Empire-db code generator Thread-Index: AcpKs5Hh00Om2v0WQoWYxIiaHiPmEAAWSn8g References: <4AC90E6A.8050000@web.de> <3ab983230910111342y69ad6f96x4c61c3477e8f58da@mail.gmail.com> From: =?iso-8859-1?Q?Rainer_D=F6bele?= To: Cc: Hi Francis, the current code is IMO not flexible enough and even more important it = is Thomas' code and I see legal problems in just copying the code. So in = order to avoid legal problems and to improve code quality I would like = to see a new implementation based on the initial idea but with improved = capabilities. Benjamin, you have send some work on that. What do you think? Regards Rainer Francis De Brabandere wrote: > Re: Starting with Empire-db code generator >=20 > To be honest I still have not had a look at the codegen from > Thomas/Benjamin. But why can't we start from there instead of starting > all over from scratch? > (if he allows us to reuse his code by submitting it through jira) >=20 > Cheers, >=20 > Francis >=20 > On Sun, Oct 11, 2009 at 9:50 PM, Rainer D=F6bele > wrote: > > 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 > >> > >> Hi Thomas, > >> > >> 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. > >> > >> 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. > >> > >> Please let me know what you think, or what you'd suggest to do > first. > >> > >> Best Regards > >> =A0 =A0 Benjamin > >> > >> > >> > >> 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 > >> > > >> > > > > > >=20 >=20 >=20 > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house.