Enhance jcheck for Copyright location on 0th line ?
Dmitry Samersoff
Dmitry.Samersoff at oracle.com
Thu Oct 18 20:16:54 UTC 2012
Joe,
I would like to advertize the scripts that saves me lots of time.
This script is plugable and could be extended as necessary.
Actually, I would prefer to have one, uniform script as a part of a
build process and jcheck as the last line defender rather than set of
semi-maintained one-per-problem scripts.
-Dmitry
On 2012-10-18 23:43, Joe Darcy wrote:
> Kumar,
>
> There is now a copyright-checking script in the repos which could/should
> be run before a push or during an integration.
>
> I think this is preferable to having jcheck do more semantic analysis of
> sources given all the special cases that can come about.
>
> -Joe
>
> On 10/18/2012 12:06 PM, Kumar Srinivasan wrote:
>> Hi,
>>
>> { I don't know if this has been brought my apologies if it has }
>>
>> When using NetBeans sometimes the import statements are inserted
>> preceding
>> the Copyright header, this happens with a new java file containing a
>> Copyright header,
>> and if import statements are absent, in which case NB does not know
>> where to group
>> them.
>>
>> Does anyone think it would be a worthwhile enhancement to jcheck, ie.
>> warn and thereby ensure the Copyright header is on the very first line
>> of the file ?
>>
>> Kumar
>
--
Dmitry Samersoff
Java Hotspot development team, SPB04
* There will come soft rains ...
More information about the build-dev
mailing list