Return-Path: Delivered-To: apmail-incubator-empire-db-dev-archive@minotaur.apache.org Received: (qmail 59836 invoked from network); 18 Feb 2010 08:45:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2010 08:45:17 -0000 Received: (qmail 43777 invoked by uid 500); 18 Feb 2010 08:45:17 -0000 Delivered-To: apmail-incubator-empire-db-dev-archive@incubator.apache.org Received: (qmail 43743 invoked by uid 500); 18 Feb 2010 08:45:16 -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 43733 invoked by uid 99); 18 Feb 2010 08:45:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 08:45:16 +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: domain of francisdb@gmail.com designates 209.85.220.224 as permitted sender) Received: from [209.85.220.224] (HELO mail-fx0-f224.google.com) (209.85.220.224) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 08:45:06 +0000 Received: by fxm24 with SMTP id 24so6335345fxm.20 for ; Thu, 18 Feb 2010 00:44:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=2BGRRMfS666uuUtd0rpJghzms1wWjNPcSkySXXk41wE=; b=g4hTk0WrBwRqn7u2T7bNrHZOJRFkjg6XaAi7qYQyeBQVwEkWvzpWaRWjPCzgEtp/AB txDITpt7X3P7x5gNOzRBBAIr07QLRMtvHKaVoOvVn6rfPW6SKrVtxrFgt0memBpZy0fl FMV8+aWWqJOYvbvJ7fNxnNkqCFM8mxQan1N08= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=oX1q6UmX6Om0Ojye8nBib91wgYcbMyB3Td/IzF2WhEDVH5WMORDM8SC8o1M3zlz2bD 4+hzQ85gxJ2BWH73GviiiD3thC9v6WM0gLu9bCZBrD1NrPQwlMQax3tfWPiNRIVHSm2c 0MUeHrpHbj0VnpRykIxcjAKx6zXTlL0UoYyIM= MIME-Version: 1.0 Received: by 10.239.173.84 with SMTP id d20mr987525hbf.41.1266482686342; Thu, 18 Feb 2010 00:44:46 -0800 (PST) In-Reply-To: References: From: Francis De Brabandere Date: Thu, 18 Feb 2010 09:44:26 +0100 Message-ID: <3ab983231002180044qe3b0633pd93734635c10faf0@mail.gmail.com> Subject: Re: Things todo before next release To: empire-db-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Rainer et all, About the codegen maven plugin. In fact what this plugin does is generate the code during the maven build. This is also how for example the jaxb plugin works. So the generated code is in fact not stored in subversion but regenerated on each build. You of course have the option to generated it once in the src/main/java, commit it and not use the maven plugin afterwards. There is an example that shows how to use the plugin. The example has a hsqldb database provided which it will generate code for. That code is then added to the maven source paths so on the compile step the generated code and the code in the project using it are compiled together. After that a test is run to see if the generated code is valid and works as expected. Importing the project in eclipse should work either using the m2eclipse plugin (of which 0.10.0 which is quite stable was released recently) or the maven eclipse:eclipse. I did see some issues with m2eclipse from time to time but have not found the cause yet. Configuration is done directly in the plugin declaration, if you want more control you can point to a config file that contains the advanced codegen configuration. I would say have a look at the example app and let me know what you think. Cheers, Francis On Wed, Feb 17, 2010 at 11:02 PM, Rainer D=F6bele wrote= : > Hi Francis, > > > > I think things looks really good for a new release. > > I would like to have another look at the issues EMPIREDB-67 and EMPIREDB-= 71. They look easy to fix. > > With EMPIREDB-62 I still don't have a good idea that would work for all d= atabases alike. > > > > But I must admit that I have lost a little bit touch with the code genera= tor. > > This is probably a stupid question but can you briefly explain to me how = the code generator maven plugin works (do we have a documentation?). > > > > Best regards, > > Rainer > > > > --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house.