You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2006/02/15 04:09:11 UTC

[jira] Created: (LUCENE-497) update copyright (and licence) prior to release of 1.9

update copyright (and licence) prior to release of 1.9
------------------------------------------------------

         Key: LUCENE-497
         URL: http://issues.apache.org/jira/browse/LUCENE-497
     Project: Lucene - Java
        Type: New Feature
    Reporter: Hoss Man
    Priority: Minor


As discussed in email earlier today, it wouldn't hurt to update the Copyright on all of the source files before release 1.9.

Rather then try to submit a path with all the changes, here's a oneliner that should work on any unix box to update in mass.  If it sees a Copyright string it recognizes, it preserves the start year and adds/replaces the end year...

find -name \*.java | xargs perl -pi -e 's/Copyright (\(c\) )?(200[0-5])(-\d+)? (The )?Apache Software Foundation/Copyright ${2}-2006 The Apache Software Foundation/;'

...it would make sense for someone with commit permissions to run that themselves.

It also cleans up a few that have a " (c) " in them that doesn't seem standard across the rest of the files, and makes sure that the ASF is refered to as "The" ASF.

Even after all that, there are a few that may need cleaned up by hand...

./src/test/org/apache/lucene/store/TestLock.java: * Copyright (c) 2001,2004 The Apache Software Foundation.  All rights
./src/test-deprecated/org/apache/lucene/index/DocHelper.java: * Copyright 2004.  Center For Natural Language Processing
./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseAnalyzer.java: * Copyright:   Copyright (c) 2001
./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseFilter.java: * Copyright:    Copyright (c) 2001
./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseTokenizer.java: * Copyright:   Copyright (c) 2001

...the first is just an anoying format, the rest either have non ASF copyrights, or dual copyrights (!?)


It also may be a good time to take a look at all the (non-JavaCC generated) java files that don't mention the Apache License, Version 2.0 ...

@asimov:~/svn/lucene/java$ find src -name \*.java | xargs grep -L "Generated By:JavaCC" | xargs grep -L LICENSE-2.0
src/java/org/apache/lucene/search/SortComparatorSource.java
src/java/org/apache/lucene/search/SortComparator.java
src/test/org/apache/lucene/index/TestTermVectorsReader.java
src/test/org/apache/lucene/index/TestSegmentTermEnum.java
src/test/org/apache/lucene/index/TestFieldInfos.java
src/test/org/apache/lucene/index/TestIndexWriter.java
src/test/org/apache/lucene/store/TestLock.java
src/test/org/apache/lucene/store/_TestHelper.java
src/test/org/apache/lucene/search/TestRangeQuery.java
src/test/org/apache/lucene/TestHitIterator.java
src/test/org/apache/lucene/document/TestBigBinary.java
src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
src/test-deprecated/org/apache/lucene/index/TestTermVectorsReader.java
src/test-deprecated/org/apache/lucene/index/store/FSDirectoryTestCase.java
src/test-deprecated/org/apache/lucene/index/TestSegmentTermEnum.java
src/test-deprecated/org/apache/lucene/index/DocHelper.java
src/test-deprecated/org/apache/lucene/index/TestIndexWriter.java
src/test-deprecated/org/apache/lucene/search/TestRangeQuery.java



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-497) update copyright (and licence) prior to release of 1.9

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-497?page=comments#action_12366435 ] 

Yonik Seeley commented on LUCENE-497:
-------------------------------------

IANAL, but I don't think the copyright dates should be changed unless a significant amount of the file has changed.  The date in the copyright is the date of first publication.

Copyrights have a limited duration, and changing the copyright date doesn't extend the date they expire.  They last long enough (75 years?) that we shouldn't be worried though.  You don't even need a copyright statement for the work to be copyrighted, but we should have them anyway to prevent the "innocent infringement" defence, and because the ASF probably wants them.


> update copyright (and licence) prior to release of 1.9
> ------------------------------------------------------
>
>          Key: LUCENE-497
>          URL: http://issues.apache.org/jira/browse/LUCENE-497
>      Project: Lucene - Java
>         Type: New Feature
>     Reporter: Hoss Man
>     Priority: Minor

>
> As discussed in email earlier today, it wouldn't hurt to update the Copyright on all of the source files before release 1.9.
> Rather then try to submit a path with all the changes, here's a oneliner that should work on any unix box to update in mass.  If it sees a Copyright string it recognizes, it preserves the start year and adds/replaces the end year...
> find -name \*.java | xargs perl -pi -e 's/Copyright (\(c\) )?(200[0-5])(-\d+)? (The )?Apache Software Foundation/Copyright ${2}-2006 The Apache Software Foundation/;'
> ...it would make sense for someone with commit permissions to run that themselves.
> It also cleans up a few that have a " (c) " in them that doesn't seem standard across the rest of the files, and makes sure that the ASF is refered to as "The" ASF.
> Even after all that, there are a few that may need cleaned up by hand...
> ./src/test/org/apache/lucene/store/TestLock.java: * Copyright (c) 2001,2004 The Apache Software Foundation.  All rights
> ./src/test-deprecated/org/apache/lucene/index/DocHelper.java: * Copyright 2004.  Center For Natural Language Processing
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseAnalyzer.java: * Copyright:   Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseFilter.java: * Copyright:    Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseTokenizer.java: * Copyright:   Copyright (c) 2001
> ...the first is just an anoying format, the rest either have non ASF copyrights, or dual copyrights (!?)
> It also may be a good time to take a look at all the (non-JavaCC generated) java files that don't mention the Apache License, Version 2.0 ...
> @asimov:~/svn/lucene/java$ find src -name \*.java | xargs grep -L "Generated By:JavaCC" | xargs grep -L LICENSE-2.0
> src/java/org/apache/lucene/search/SortComparatorSource.java
> src/java/org/apache/lucene/search/SortComparator.java
> src/test/org/apache/lucene/index/TestTermVectorsReader.java
> src/test/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test/org/apache/lucene/index/TestFieldInfos.java
> src/test/org/apache/lucene/index/TestIndexWriter.java
> src/test/org/apache/lucene/store/TestLock.java
> src/test/org/apache/lucene/store/_TestHelper.java
> src/test/org/apache/lucene/search/TestRangeQuery.java
> src/test/org/apache/lucene/TestHitIterator.java
> src/test/org/apache/lucene/document/TestBigBinary.java
> src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
> src/test-deprecated/org/apache/lucene/index/TestTermVectorsReader.java
> src/test-deprecated/org/apache/lucene/index/store/FSDirectoryTestCase.java
> src/test-deprecated/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test-deprecated/org/apache/lucene/index/DocHelper.java
> src/test-deprecated/org/apache/lucene/index/TestIndexWriter.java
> src/test-deprecated/org/apache/lucene/search/TestRangeQuery.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-497) update copyright (and licence) prior to release of 1.9

Posted by "John Haxby (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-497?page=comments#action_12366465 ] 

John Haxby commented on LUCENE-497:
-----------------------------------

It's not as if I'm a lawyer either or what I say is likely to carry much weight, but what Yonik and Erik say matches what the legal people at my previous employer (HP) said -- don't change the copyright date unless the file has changed.

The underlying reason, it was explained to me, is that if you blindly claim copyright for years when you didn't do anything then a judge (if it came down to that) is going to take the view that your copyright notices don't actually have much value.   It's not, they said, the actual form of the copyright notice its convincing a judge that you do hold the copyright.   To that end, I asked, a good copyright notice is a help and a bad copyright notice is a hindrance.   Yes, came the answer.

> update copyright (and licence) prior to release of 1.9
> ------------------------------------------------------
>
>          Key: LUCENE-497
>          URL: http://issues.apache.org/jira/browse/LUCENE-497
>      Project: Lucene - Java
>         Type: New Feature
>     Reporter: Hoss Man
>     Priority: Minor

>
> As discussed in email earlier today, it wouldn't hurt to update the Copyright on all of the source files before release 1.9.
> Rather then try to submit a path with all the changes, here's a oneliner that should work on any unix box to update in mass.  If it sees a Copyright string it recognizes, it preserves the start year and adds/replaces the end year...
> find -name \*.java | xargs perl -pi -e 's/Copyright (\(c\) )?(200[0-5])(-\d+)? (The )?Apache Software Foundation/Copyright ${2}-2006 The Apache Software Foundation/;'
> ...it would make sense for someone with commit permissions to run that themselves.
> It also cleans up a few that have a " (c) " in them that doesn't seem standard across the rest of the files, and makes sure that the ASF is refered to as "The" ASF.
> Even after all that, there are a few that may need cleaned up by hand...
> ./src/test/org/apache/lucene/store/TestLock.java: * Copyright (c) 2001,2004 The Apache Software Foundation.  All rights
> ./src/test-deprecated/org/apache/lucene/index/DocHelper.java: * Copyright 2004.  Center For Natural Language Processing
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseAnalyzer.java: * Copyright:   Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseFilter.java: * Copyright:    Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseTokenizer.java: * Copyright:   Copyright (c) 2001
> ...the first is just an anoying format, the rest either have non ASF copyrights, or dual copyrights (!?)
> It also may be a good time to take a look at all the (non-JavaCC generated) java files that don't mention the Apache License, Version 2.0 ...
> @asimov:~/svn/lucene/java$ find src -name \*.java | xargs grep -L "Generated By:JavaCC" | xargs grep -L LICENSE-2.0
> src/java/org/apache/lucene/search/SortComparatorSource.java
> src/java/org/apache/lucene/search/SortComparator.java
> src/test/org/apache/lucene/index/TestTermVectorsReader.java
> src/test/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test/org/apache/lucene/index/TestFieldInfos.java
> src/test/org/apache/lucene/index/TestIndexWriter.java
> src/test/org/apache/lucene/store/TestLock.java
> src/test/org/apache/lucene/store/_TestHelper.java
> src/test/org/apache/lucene/search/TestRangeQuery.java
> src/test/org/apache/lucene/TestHitIterator.java
> src/test/org/apache/lucene/document/TestBigBinary.java
> src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
> src/test-deprecated/org/apache/lucene/index/TestTermVectorsReader.java
> src/test-deprecated/org/apache/lucene/index/store/FSDirectoryTestCase.java
> src/test-deprecated/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test-deprecated/org/apache/lucene/index/DocHelper.java
> src/test-deprecated/org/apache/lucene/index/TestIndexWriter.java
> src/test-deprecated/org/apache/lucene/search/TestRangeQuery.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-497) update copyright (and licence) prior to release of 1.9

Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-497?page=comments#action_12366459 ] 

Erik Hatcher commented on LUCENE-497:
-------------------------------------

Copyright dates should only change when the file itself has changed.  This is the way things have operated in other Apache projects I've worked with, particularly Ant.   A script has been used on the Ant codebase to do checks - this would be good to use on Lucene's code:

    http://svn.apache.org/repos/asf/ant/core/trunk/src/etc/yearcheck.sh

> update copyright (and licence) prior to release of 1.9
> ------------------------------------------------------
>
>          Key: LUCENE-497
>          URL: http://issues.apache.org/jira/browse/LUCENE-497
>      Project: Lucene - Java
>         Type: New Feature
>     Reporter: Hoss Man
>     Priority: Minor

>
> As discussed in email earlier today, it wouldn't hurt to update the Copyright on all of the source files before release 1.9.
> Rather then try to submit a path with all the changes, here's a oneliner that should work on any unix box to update in mass.  If it sees a Copyright string it recognizes, it preserves the start year and adds/replaces the end year...
> find -name \*.java | xargs perl -pi -e 's/Copyright (\(c\) )?(200[0-5])(-\d+)? (The )?Apache Software Foundation/Copyright ${2}-2006 The Apache Software Foundation/;'
> ...it would make sense for someone with commit permissions to run that themselves.
> It also cleans up a few that have a " (c) " in them that doesn't seem standard across the rest of the files, and makes sure that the ASF is refered to as "The" ASF.
> Even after all that, there are a few that may need cleaned up by hand...
> ./src/test/org/apache/lucene/store/TestLock.java: * Copyright (c) 2001,2004 The Apache Software Foundation.  All rights
> ./src/test-deprecated/org/apache/lucene/index/DocHelper.java: * Copyright 2004.  Center For Natural Language Processing
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseAnalyzer.java: * Copyright:   Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseFilter.java: * Copyright:    Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseTokenizer.java: * Copyright:   Copyright (c) 2001
> ...the first is just an anoying format, the rest either have non ASF copyrights, or dual copyrights (!?)
> It also may be a good time to take a look at all the (non-JavaCC generated) java files that don't mention the Apache License, Version 2.0 ...
> @asimov:~/svn/lucene/java$ find src -name \*.java | xargs grep -L "Generated By:JavaCC" | xargs grep -L LICENSE-2.0
> src/java/org/apache/lucene/search/SortComparatorSource.java
> src/java/org/apache/lucene/search/SortComparator.java
> src/test/org/apache/lucene/index/TestTermVectorsReader.java
> src/test/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test/org/apache/lucene/index/TestFieldInfos.java
> src/test/org/apache/lucene/index/TestIndexWriter.java
> src/test/org/apache/lucene/store/TestLock.java
> src/test/org/apache/lucene/store/_TestHelper.java
> src/test/org/apache/lucene/search/TestRangeQuery.java
> src/test/org/apache/lucene/TestHitIterator.java
> src/test/org/apache/lucene/document/TestBigBinary.java
> src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
> src/test-deprecated/org/apache/lucene/index/TestTermVectorsReader.java
> src/test-deprecated/org/apache/lucene/index/store/FSDirectoryTestCase.java
> src/test-deprecated/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test-deprecated/org/apache/lucene/index/DocHelper.java
> src/test-deprecated/org/apache/lucene/index/TestIndexWriter.java
> src/test-deprecated/org/apache/lucene/search/TestRangeQuery.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Closed: (LUCENE-497) update copyright (and licence) prior to release of 1.9

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-497?page=all ]
     
Yonik Seeley closed LUCENE-497:
-------------------------------

    Resolution: Invalid

Closing.

> update copyright (and licence) prior to release of 1.9
> ------------------------------------------------------
>
>          Key: LUCENE-497
>          URL: http://issues.apache.org/jira/browse/LUCENE-497
>      Project: Lucene - Java
>         Type: New Feature

>     Reporter: Hoss Man
>     Priority: Minor

>
> As discussed in email earlier today, it wouldn't hurt to update the Copyright on all of the source files before release 1.9.
> Rather then try to submit a path with all the changes, here's a oneliner that should work on any unix box to update in mass.  If it sees a Copyright string it recognizes, it preserves the start year and adds/replaces the end year...
> find -name \*.java | xargs perl -pi -e 's/Copyright (\(c\) )?(200[0-5])(-\d+)? (The )?Apache Software Foundation/Copyright ${2}-2006 The Apache Software Foundation/;'
> ...it would make sense for someone with commit permissions to run that themselves.
> It also cleans up a few that have a " (c) " in them that doesn't seem standard across the rest of the files, and makes sure that the ASF is refered to as "The" ASF.
> Even after all that, there are a few that may need cleaned up by hand...
> ./src/test/org/apache/lucene/store/TestLock.java: * Copyright (c) 2001,2004 The Apache Software Foundation.  All rights
> ./src/test-deprecated/org/apache/lucene/index/DocHelper.java: * Copyright 2004.  Center For Natural Language Processing
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseAnalyzer.java: * Copyright:   Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseFilter.java: * Copyright:    Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseTokenizer.java: * Copyright:   Copyright (c) 2001
> ...the first is just an anoying format, the rest either have non ASF copyrights, or dual copyrights (!?)
> It also may be a good time to take a look at all the (non-JavaCC generated) java files that don't mention the Apache License, Version 2.0 ...
> @asimov:~/svn/lucene/java$ find src -name \*.java | xargs grep -L "Generated By:JavaCC" | xargs grep -L LICENSE-2.0
> src/java/org/apache/lucene/search/SortComparatorSource.java
> src/java/org/apache/lucene/search/SortComparator.java
> src/test/org/apache/lucene/index/TestTermVectorsReader.java
> src/test/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test/org/apache/lucene/index/TestFieldInfos.java
> src/test/org/apache/lucene/index/TestIndexWriter.java
> src/test/org/apache/lucene/store/TestLock.java
> src/test/org/apache/lucene/store/_TestHelper.java
> src/test/org/apache/lucene/search/TestRangeQuery.java
> src/test/org/apache/lucene/TestHitIterator.java
> src/test/org/apache/lucene/document/TestBigBinary.java
> src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
> src/test-deprecated/org/apache/lucene/index/TestTermVectorsReader.java
> src/test-deprecated/org/apache/lucene/index/store/FSDirectoryTestCase.java
> src/test-deprecated/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test-deprecated/org/apache/lucene/index/DocHelper.java
> src/test-deprecated/org/apache/lucene/index/TestIndexWriter.java
> src/test-deprecated/org/apache/lucene/search/TestRangeQuery.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-497) update copyright (and licence) prior to release of 1.9

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-497?page=comments#action_12376538 ] 

Hoss Man commented on LUCENE-497:
---------------------------------

This bug should be resolved as "INVALID"

> update copyright (and licence) prior to release of 1.9
> ------------------------------------------------------
>
>          Key: LUCENE-497
>          URL: http://issues.apache.org/jira/browse/LUCENE-497
>      Project: Lucene - Java
>         Type: New Feature

>     Reporter: Hoss Man
>     Priority: Minor

>
> As discussed in email earlier today, it wouldn't hurt to update the Copyright on all of the source files before release 1.9.
> Rather then try to submit a path with all the changes, here's a oneliner that should work on any unix box to update in mass.  If it sees a Copyright string it recognizes, it preserves the start year and adds/replaces the end year...
> find -name \*.java | xargs perl -pi -e 's/Copyright (\(c\) )?(200[0-5])(-\d+)? (The )?Apache Software Foundation/Copyright ${2}-2006 The Apache Software Foundation/;'
> ...it would make sense for someone with commit permissions to run that themselves.
> It also cleans up a few that have a " (c) " in them that doesn't seem standard across the rest of the files, and makes sure that the ASF is refered to as "The" ASF.
> Even after all that, there are a few that may need cleaned up by hand...
> ./src/test/org/apache/lucene/store/TestLock.java: * Copyright (c) 2001,2004 The Apache Software Foundation.  All rights
> ./src/test-deprecated/org/apache/lucene/index/DocHelper.java: * Copyright 2004.  Center For Natural Language Processing
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseAnalyzer.java: * Copyright:   Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseFilter.java: * Copyright:    Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseTokenizer.java: * Copyright:   Copyright (c) 2001
> ...the first is just an anoying format, the rest either have non ASF copyrights, or dual copyrights (!?)
> It also may be a good time to take a look at all the (non-JavaCC generated) java files that don't mention the Apache License, Version 2.0 ...
> @asimov:~/svn/lucene/java$ find src -name \*.java | xargs grep -L "Generated By:JavaCC" | xargs grep -L LICENSE-2.0
> src/java/org/apache/lucene/search/SortComparatorSource.java
> src/java/org/apache/lucene/search/SortComparator.java
> src/test/org/apache/lucene/index/TestTermVectorsReader.java
> src/test/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test/org/apache/lucene/index/TestFieldInfos.java
> src/test/org/apache/lucene/index/TestIndexWriter.java
> src/test/org/apache/lucene/store/TestLock.java
> src/test/org/apache/lucene/store/_TestHelper.java
> src/test/org/apache/lucene/search/TestRangeQuery.java
> src/test/org/apache/lucene/TestHitIterator.java
> src/test/org/apache/lucene/document/TestBigBinary.java
> src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
> src/test-deprecated/org/apache/lucene/index/TestTermVectorsReader.java
> src/test-deprecated/org/apache/lucene/index/store/FSDirectoryTestCase.java
> src/test-deprecated/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test-deprecated/org/apache/lucene/index/DocHelper.java
> src/test-deprecated/org/apache/lucene/index/TestIndexWriter.java
> src/test-deprecated/org/apache/lucene/search/TestRangeQuery.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Commented: (LUCENE-497) update copyright (and licence) prior to release of 1.9

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-497?page=comments#action_12366438 ] 

Hoss Man commented on LUCENE-497:
---------------------------------

i don't really have an opinion on the matter one way or another, I've just seen lots of files that look like this...

 * Copyright 2004-2005 The Apache Software Foundation

...and assumed it might make sense to update the end date.

> update copyright (and licence) prior to release of 1.9
> ------------------------------------------------------
>
>          Key: LUCENE-497
>          URL: http://issues.apache.org/jira/browse/LUCENE-497
>      Project: Lucene - Java
>         Type: New Feature
>     Reporter: Hoss Man
>     Priority: Minor

>
> As discussed in email earlier today, it wouldn't hurt to update the Copyright on all of the source files before release 1.9.
> Rather then try to submit a path with all the changes, here's a oneliner that should work on any unix box to update in mass.  If it sees a Copyright string it recognizes, it preserves the start year and adds/replaces the end year...
> find -name \*.java | xargs perl -pi -e 's/Copyright (\(c\) )?(200[0-5])(-\d+)? (The )?Apache Software Foundation/Copyright ${2}-2006 The Apache Software Foundation/;'
> ...it would make sense for someone with commit permissions to run that themselves.
> It also cleans up a few that have a " (c) " in them that doesn't seem standard across the rest of the files, and makes sure that the ASF is refered to as "The" ASF.
> Even after all that, there are a few that may need cleaned up by hand...
> ./src/test/org/apache/lucene/store/TestLock.java: * Copyright (c) 2001,2004 The Apache Software Foundation.  All rights
> ./src/test-deprecated/org/apache/lucene/index/DocHelper.java: * Copyright 2004.  Center For Natural Language Processing
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseAnalyzer.java: * Copyright:   Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseFilter.java: * Copyright:    Copyright (c) 2001
> ./contrib/analyzers/src/java/org/apache/lucene/analysis/cn/ChineseTokenizer.java: * Copyright:   Copyright (c) 2001
> ...the first is just an anoying format, the rest either have non ASF copyrights, or dual copyrights (!?)
> It also may be a good time to take a look at all the (non-JavaCC generated) java files that don't mention the Apache License, Version 2.0 ...
> @asimov:~/svn/lucene/java$ find src -name \*.java | xargs grep -L "Generated By:JavaCC" | xargs grep -L LICENSE-2.0
> src/java/org/apache/lucene/search/SortComparatorSource.java
> src/java/org/apache/lucene/search/SortComparator.java
> src/test/org/apache/lucene/index/TestTermVectorsReader.java
> src/test/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test/org/apache/lucene/index/TestFieldInfos.java
> src/test/org/apache/lucene/index/TestIndexWriter.java
> src/test/org/apache/lucene/store/TestLock.java
> src/test/org/apache/lucene/store/_TestHelper.java
> src/test/org/apache/lucene/search/TestRangeQuery.java
> src/test/org/apache/lucene/TestHitIterator.java
> src/test/org/apache/lucene/document/TestBigBinary.java
> src/test/org/apache/lucene/analysis/TestISOLatin1AccentFilter.java
> src/test-deprecated/org/apache/lucene/index/TestTermVectorsReader.java
> src/test-deprecated/org/apache/lucene/index/store/FSDirectoryTestCase.java
> src/test-deprecated/org/apache/lucene/index/TestSegmentTermEnum.java
> src/test-deprecated/org/apache/lucene/index/DocHelper.java
> src/test-deprecated/org/apache/lucene/index/TestIndexWriter.java
> src/test-deprecated/org/apache/lucene/search/TestRangeQuery.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org