Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xw8C9-0003El-To for pgsql-jdbc@arkaria.postgresql.org; Wed, 03 Dec 2014 11:34:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xw8C9-00078n-Eo for pgsql-jdbc@arkaria.postgresql.org; Wed, 03 Dec 2014 11:34:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xw8C8-00078h-Qp for pgsql-jdbc@postgresql.org; Wed, 03 Dec 2014 11:34:08 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xw8C5-00054C-6Q for pgsql-jdbc@postgresql.org; Wed, 03 Dec 2014 11:34:07 +0000 Received: from ayaki.localdomain (124-169-108-102.dyn.iinet.net.au [124.169.108.102]) by mrelayeu.kundenserver.de (node=mreue101) with ESMTP (Nemesis) id 0M7Knm-1Y7SIw3r0Q-00wzQD; Wed, 03 Dec 2014 12:33:47 +0100 Message-ID: <547EF514.8040503@2ndquadrant.com> Date: Wed, 03 Dec 2014 19:33:40 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: rapidtransit440@aol.com, alexis.meneses@gmail.com, pg@fastcrypt.com CC: pgsql-jdbc@postgresql.org Subject: Re: Having issues with tests References: <8D1D54E50A52767-E88-66B80@webmail-m290.sysops.aol.com> <8D1D6178446EEAA-D6C-261C@webmail-va036.sysops.aol.com> <8D1D7272140FA17-8268-12F0D@webmail-vm031.sysops.aol.com> In-Reply-To: <8D1D7272140FA17-8268-12F0D@webmail-vm031.sysops.aol.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:5DbEZ0bC/TPF8LXhygpNrPOvgMEBB/GjmqBIpLkeybD q4/hg3muGURI9T3Jy+OrBdfAlBZyQUi4hDm3rXqF1AxUnqvJBI TTNSUMPXX7QrLLVPVGp5AicTU7D1HSDDzlYBLL+TQPHTpIK75M fjqiTf7z+6gn5J/Jy0oV29RF1KFeG2j+BSYwTHOs1NE4RR/18V s/BfH4Aj6L2SA5b/TJxC7mkE4MPTfbC/BwpCVFPzXtMj2gLhZP E94rCF6Gfi0VvHIKCAepbvVJSuBWqpH9Moiop2ZkvFPWAz1RJZ liWmGxKALT0HqWAR+OzFVqNYk7A7dC5Ns8sB+grwS6QjbzBcBD ti/fCoz8TYXqe1JnOhYxI3/qeJ7ZzoFRvQxm9PQQ+ X-UI-Out-Filterresults: notjunk:1; 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 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