Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyUG2-00021y-3H for pgsql-jdbc@arkaria.postgresql.org; Thu, 24 Jan 2013 21:22:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TyUG1-0007ax-KB for pgsql-jdbc@arkaria.postgresql.org; Thu, 24 Jan 2013 21:22:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyUBs-000773-QV for pgsql-jdbc@postgresql.org; Thu, 24 Jan 2013 21:18:32 +0000 Received: from outbound.vnet-inc.com ([216.146.104.103]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TyUBo-0001Ga-SG for pgsql-jdbc@postgresql.org; Thu, 24 Jan 2013 21:18:31 +0000 Received: from [192.168.157.132] (unknown [76.75.27.41]) by outbound.vnet-inc.com (Postfix) with ESMTP id DAA8B59B1 for ; Thu, 24 Jan 2013 14:18:28 -0700 (MST) Message-ID: <5101A4CE.2070907@ttc-cmc.net> Date: Thu, 24 Jan 2013 14:17:02 -0700 From: dmp User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Driver.java.in & Copyright Info References: <50F98CC9.8030902@ttc-cmc.net> <50F9938D.8060503@ttc-cmc.net> <50F9A156.7010300@ttc-cmc.net> <51009904.7060608@ttc-cmc.net> <51016204.5020302@ttc-cmc.net> In-Reply-To: <51016204.5020302@ttc-cmc.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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 CopyrightUpdater Completed. Everything seems to work properly in both update copyright and replace header mode. In testing I found another deviate in the sources with two copyright lines. * Copyright (c) 2004-2011, PostgreSQL Global Development Group * Copyright (c) 2004, Open Cloud Limited. This in ProtocolConnectionImpl.java there may be more. In response I added a second argument for contains qualification in update mode. Now of course that will be no good for use with replace header. May have to use: 1. Do a standard update copyright, reviewing the messages to get a list of files identified by none pattern matches, incorrect header. 2. Isolate those none pattern matches run the updater again in replacment mode to add proper copyright header. In the future should be able to just use the update copyright mode or use the original script that Chris identified. As always since this code will modify files recommend using test directory and review the source attached. If anyone on this list wishes to have this code please email me. danap. dmp wrote: > I will make the code available today. > > danap. dmp wrote: > I will make the code available today. > > danap. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc