From: dmp <danap@ttc-cmc.net>
To: Kris Jurka <books@ejurka.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Driver.java.in & Copyright Info
Date: Thu, 24 Jan 2013 09:32:04 -0700
Message-ID: <51016204.5020302@ttc-cmc.net> (raw)
In-Reply-To: <alpine.BSO.2.00.1301232223410.25218@leary.csoft.net>
References: <50F98CC9.8030902@ttc-cmc.net>
<CADK3HHKvc+z303=vx5A7BXHQaqv4U5V478NS=ro3cVaHd5My3Q@mail.gmail.com>
<50F9938D.8060503@ttc-cmc.net>
<CADK3HHKHnsw7_4TZ62=qzBMoS_HBwmtSHbnsX4ZfLLJAEHTeEw@mail.gmail.com>
<50F9A156.7010300@ttc-cmc.net>
<51009904.7060608@ttc-cmc.net>
<alpine.BSO.2.00.1301232223410.25218@leary.csoft.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Kris,
Thank you for that information. I will review that script. I initial
thought I might use perl or python, but later decided to just use a
Java application because this would allow it to be more easily
generalized through a user interface.
Upon further thought I have now decided to make the script be not only
a line replacement, replaces pattern line in source, but also to allow
the option of substituting a new header in the source. This can very
easily be done because in almost all cases the header, license, copyright,
etc. is before the package declaration, the first line of any Java class.
So by using this option you can catch the classes that currently do
not have correct copyright markers.
I will make the code available today.
danap.
Kris Jurka wrote:
>
>
> On Wed, 23 Jan 2013, dmp wrote:
>
>> I have completed a copyright updater for the source and will make available
>> tomorrow, after some additional testing.
>
> I have previously used src/tools/copyright.pl from the server's repository
> to make the copyright changes. So you might want to compare your results
> against its, but it appears that you have identified some files that
> aren't carrying the correct copyright markers which that tool will not
> detect.
>
> Kris Jurka
>
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: danap@ttc-cmc.net, books@ejurka.com
Subject: Re: Driver.java.in & Copyright Info
In-Reply-To: <51016204.5020302@ttc-cmc.net>
References: <50F98CC9.8030902@ttc-cmc.net> <CADK3HHKvc+z303=vx5A7BXHQaqv4U5V478NS=ro3cVaHd5My3Q@mail.gmail.com> <50F9938D.8060503@ttc-cmc.net> <CADK3HHKHnsw7_4TZ62=qzBMoS_HBwmtSHbnsX4ZfLLJAEHTeEw@mail.gmail.com> <50F9A156.7010300@ttc-cmc.net> <51009904.7060608@ttc-cmc.net> <alpine.BSO.2.00.1301232223410.25218@leary.csoft.net> <51016204.5020302@ttc-cmc.net>
* 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