Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4qB9-0003sm-H7 for pgsql-jdbc@arkaria.postgresql.org; Tue, 16 Jun 2015 12:41:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z4qB8-0008EM-F9 for pgsql-jdbc@arkaria.postgresql.org; Tue, 16 Jun 2015 12:41:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z4kzN-0000W0-6d for pgsql-jdbc@postgresql.org; Tue, 16 Jun 2015 07:08:53 +0000 Received: from smtp.procolix.com ([95.215.185.30]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z4kzK-0006zI-Mx for pgsql-jdbc@postgresql.org; Tue, 16 Jun 2015 07:08:51 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.procolix.com (Postfix) with ESMTP id 61D4043D3C for ; Tue, 16 Jun 2015 09:08:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at smtp.procolix.com Received: from smtp.procolix.com ([127.0.0.1]) by localhost (host436.procolix.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bh8e6U1qbcFc for ; Tue, 16 Jun 2015 09:08:48 +0200 (CEST) Received: from webmail.procolix.com (webmail.procolix.com [95.215.185.106]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mark@lawinegevaar.nl) by smtp.procolix.com (Postfix) with ESMTPSA id 1932343ABA for ; Tue, 16 Jun 2015 09:08:48 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Tue, 16 Jun 2015 09:08:48 +0200 From: Mark Rotteveel To: Subject: Re: Pre-processing during build In-Reply-To: References: <000c01d0a7b6$97571ee0$c6055ca0$@eu> Message-ID: <45e4ecb7fe5cfb9bc3c61480284b810c@imap.procolix.com> X-Sender: mark@lawinegevaar.nl User-Agent: RoundCube Webmail/0.2 X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On Mon, 15 Jun 2015 18:42:13 -0400, Sehrope Sarkuni wrote: > I think a purely Maven based build with separate targets should be possible > via a generated-sources plugin. Off the top of my head I'm not sure which > plugins it would use though. It's been a while since I wrote anything like > that though I do remember it being a bit of a pain to get right. On the > plus side we only have to figure it out once right? :) My experience is that Ant gives you a lot more flexibility. For Jaybird I considered moving to a Maven based build, but I finally decided against it because it was too much hassle. The difference with the PostgreSQL JDBC is that Jaybird uses JDBC version specific sources-folders with common classes (and abstract classes for common implementation). > I'm a big fan of Mavenizing the build process. A lot of the value of it > will come from how it will simplify things like adding tests. It eliminates > a lot of the double and sometimes triple entry (i.e. add the test class, > add it to a suite, add the suite to build.xml). You don't need Maven to achieve that. For one you don't need testsuites, with JUnit 3 it is a bit harder, but you could use a consistent naming convention and filter tests in the Ant plugin, with JUnit 4 you could use (class or instance) rules, or filtering based on annotations. Mark -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc