Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z4wjB-0002h5-D7 for pgsql-jdbc@arkaria.postgresql.org; Tue, 16 Jun 2015 19:40:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z4wjA-0007eH-U7 for pgsql-jdbc@arkaria.postgresql.org; Tue, 16 Jun 2015 19:40:56 +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 1Z4wjA-0007e4-4b for pgsql-jdbc@postgresql.org; Tue, 16 Jun 2015 19:40:56 +0000 Received: from smtprelay04.ispgateway.de ([80.67.31.42]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z4wj6-0004Uv-H9 for pgsql-jdbc@postgresql.org; Tue, 16 Jun 2015 19:40:54 +0000 Received: from [88.66.7.101] (helo=Zauselmaus) by smtprelay04.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1Z4wj3-0001F8-St; Tue, 16 Jun 2015 21:40:50 +0200 From: "Markus KARG" To: "'Scott Morgan'" , "'Mark Rotteveel'" , References: <000c01d0a7b6$97571ee0$c6055ca0$@eu> <45e4ecb7fe5cfb9bc3c61480284b810c@imap.procolix.com> In-Reply-To: Subject: Re: Pre-processing during build Date: Tue, 16 Jun 2015 21:40:57 +0200 Organization: Markus KARG, Staatl. gepr. Inf. Message-ID: <007d01d0a86c$5db65870$19230950$@eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_007E_01D0A87D.213F2870" X-Mailer: Microsoft Office Outlook 12.0 Content-Language: de Thread-Index: AdCoNhuwf6oUC0qWToWFLMRqGq16hAANjLuA X-AVK-Virus-Check: AVA 25.1869;71FD75 X-AVK-Spam-Check: 1; str=0001.0A0C0202.55807BC1.02A5,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0; F1206 X-Df-Sender: bWFya3VzQGhlYWRjcmFzaGluZy5ldQ== X-Pg-Spam-Score: -2.6 (--) 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 This is a multi-part message in MIME format. ------=_NextPart_000_007E_01D0A87D.213F2870 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Scott, I simply cannot see what this information has to do with the = current thread? Can you please elaborate? Thanks. -Markus =20 From: pgsql-jdbc-owner@postgresql.org = [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Scott Morgan Sent: Dienstag, 16. Juni 2015 15:12 To: Mark Rotteveel; pgsql-jdbc@postgresql.org Subject: Re: [JDBC] Pre-processing during build =20 Hi All, =20 I just thought I should mention that I have been writing some tools = that will eventually compete with ant-junit and maven-junit builds. = The main reason is to add concurrency everywhere, along with other = things like integrated code coverage in tests; https://www.linkedin.com/pulse/fabricate-tests4j-now-githubcom-scott-morg= an =20 It will be a while before this is well documented and a plausible = replacement (and Fabricate will only work with Git for several years), = but it may be worth the wait. The time cost of converting a build and = test API is usually quite immense. =20 Cheers, Scott =20 On Tue, Jun 16, 2015 at 2:08 AM, Mark Rotteveel = wrote: 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 =20 ------=_NextPart_000_007E_01D0A87D.213F2870 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Scott, I simply cannot see what this information has to do with the = current thread? Can you please elaborate? = Thanks.

-Markus

 

From:= = pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] = On Behalf Of Scott Morgan
Sent: Dienstag, 16. Juni 2015 = 15:12
To: Mark Rotteveel; = pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] Pre-processing = during build

 

Hi = All,

 

   I just thought I should mention that I = have been writing some tools that will eventually compete with ant-junit = and maven-junit builds.   The main reason is to add concurrency = everywhere, along with other things like integrated code coverage = in tests;

 

  It will be a while before this is well = documented and a plausible replacement (and Fabricate will only = work with Git for several years), but it may be worth the wait. =   The time cost of converting a build and test API is usually quite = immense.

 

Cheers,

Scott

 

On Tue, = Jun 16, 2015 at 2:08 AM, Mark Rotteveel <mark@lawinegevaar.nl> wrote:

On Mon, 15 Jun 2015 18:42:13 -0400, Sehrope Sarkuni = <sehrope@jackdb.com>
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)<= /span>
To make changes to your = subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

 

------=_NextPart_000_007E_01D0A87D.213F2870--