Re: Driver.java.in & Copyright Info

From: dmp <danap(at)ttc-cmc(dot)net>
To: Kris Jurka <books(at)ejurka(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Driver.java.in & Copyright Info
Date: 2013-01-24 16:32:04
Message-ID: 51016204.5020302@ttc-cmc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Russ Tennant 2013-01-24 18:37:12 Re: XML document with doctype
Previous Message Dave Cramer 2013-01-24 08:20:50 Re: XML document with doctype