pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@2ndquadrant.com>
To: rapidtransit440@aol.com
To: alexis.meneses@gmail.com
To: pg@fastcrypt.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Having issues with tests
Date: Wed, 03 Dec 2014 19:33:40 +0800
Message-ID: <547EF514.8040503@2ndquadrant.com> (raw)
In-Reply-To: <8D1D7272140FA17-8268-12F0D@webmail-vm031.sysops.aol.com>
References: <8D1D54E50A52767-E88-66B80@webmail-m290.sysops.aol.com>
	<CADK3HHLXB7mJRXZSpXUakHtoqmbh1orLVKcLey1-jNh83XmqnQ@mail.gmail.com>
	<8D1D6178446EEAA-D6C-261C@webmail-va036.sysops.aol.com>
	<CADK3HH+orXupbmihYL5co6PsHcnjYBkeUtgK7BRwKfjLH8SgnQ@mail.gmail.com>
	<CANPkoZRCgqyxy3=ynU88nXCo-VjVPcH7GcoCgpiJ=VTWvxg8eA@mail.gmail.com>
	<8D1D7272140FA17-8268-12F0D@webmail-vm031.sysops.aol.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On 11/26/2014 08:29 AM, rapidtransit440@aol.com wrote:
> I downloaded the sources from here:
> http://jdbc.postgresql.org/download.html version 
> 9.3-1102 .I didn't realize there was a git repository until a few days
> later. 

Working on top of a source snapshot will cause you a great deal of pain
and frustration.

I strongly suggest that you clean your current build tree to remove
build product files, then

* cd ..
* git clone https://github.com/pgjdbc/pgjdbc.git
* cd pgjdbc
* git checkout REL9_3_1102
* git checkout -b my-patched-rel9_3_1102

which will give you a source tree for 9.3-1102 in a new working branch.
Then:

* cp -r ../mypgjdbc-9.3-1102/* .

which will copy the contents of your modified tree into the current git
tree.

You can then see what you've changed with "git status", etc. At this
point you should try to organise your changes into a set of patches as
one or more git commits.

Once you have your changes as a separate patch, in the form of a git
commit, you can then try to rebase them on top of the current
development tree:

* git checkout master
* git cherry-pick my-patched-rel9_3_1102~0

merge any conflicts, and continue.

If this all seems too hard, it might be easier to simply redo your
changes on top of the current git master. It's up to you.

> I thought I had downloaded the latest stable?

Sure, but that's a long way behind the current development tree.

You also shouldn't be doing development on top of a source snapshot
tarball. Always start with a git clone. It'll make life way, way easier.

> I tried again with Ant, again still can't figure out how to use it.

Take a look at the README.md in the latest git tree.

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (9+ messages)

Message-ID: <547EF514.8040503@2ndquadrant.com>
Permalink:  ../547EF514.8040503@2ndquadrant.com/
Also on:    postgresql.org/message-id/547EF514.8040503@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: craig@2ndquadrant.com, rapidtransit440@aol.com, alexis.meneses@gmail.com, pg@fastcrypt.com
  Subject: Re: Having issues with tests
  In-Reply-To: <547EF514.8040503@2ndquadrant.com>
  References: <8D1D54E50A52767-E88-66B80@webmail-m290.sysops.aol.com> <CADK3HHLXB7mJRXZSpXUakHtoqmbh1orLVKcLey1-jNh83XmqnQ@mail.gmail.com> <8D1D6178446EEAA-D6C-261C@webmail-va036.sysops.aol.com> <CADK3HH+orXupbmihYL5co6PsHcnjYBkeUtgK7BRwKfjLH8SgnQ@mail.gmail.com> <CANPkoZRCgqyxy3=ynU88nXCo-VjVPcH7GcoCgpiJ=VTWvxg8eA@mail.gmail.com> <8D1D7272140FA17-8268-12F0D@webmail-vm031.sysops.aol.com> <547EF514.8040503@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox