kieker-monitoring / kieker

Kieker's main repository
Apache License 2.0
70 stars 41 forks source link

[KIEKER-1093] Change year in license header from 2013 to 2014 #2749

Closed rju closed 1 week ago

rju commented 1 week ago

JIRA Issue: KIEKER-1093 Change year in license header from 2013 to 2014 Original Reporter: Andre van Hoorn


Scripts to be found in KIEKER-665 Done

rju commented 1 week ago

author André van Hoorn -- Mon, 17 Mar 2014 10:29:19 +0100

Done in changeset:c9b654978c323c3a3053c56ce1fc82574bf8275b/kieker-git

Script:

#!sh

#!/bin/bash

for DIR in src/ test/ examples/userguide/; do
    for f in `find ${DIR}/ -name "*.java"`; do 
        curFn=$f
        basenameF=$(basename $f | sed s/.java//g)
#    if grep "CPUMemUsageServletContextListener" ${curFn}; then 
        cat $f | sed -E s/"Copyright 2013 Kieker Project"/"Copyright 2014 Kieker Project"/g > /tmp/out/${basenameF} 
        cp /tmp/out/${basenameF} ${curFn}
#    fi
    done
done

Also updated header check in lib/static-analysis/checkstyle-5.6/cs-conf.xml.

rju commented 1 week ago

author André van Hoorn -- Mon, 17 Mar 2014 10:47:30 +0100

Same needs to be done for the WebGUI.

rju commented 1 week ago

author nils-christian -- Mon, 17 Mar 2014 11:04:08 +0100

Indeed. Could you do this? I do not have a unix available right now.

rju commented 1 week ago

author André van Hoorn -- Mon, 17 Mar 2014 16:29:17 +0100

Replying to [nie|comment:3]:
> Indeed. Could you do this? I do not have a unix available right now.

avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker.webgui/Kieker.WebGUI <master> $ grep -R "Copyright 2013 Kieker Project" * | grep -o "^.*: "
config/quality-config/cs-conf.xml: 
src/**/*.java:

Updated the year using the script from comment:1

rju commented 1 week ago

author André van Hoorn -- Mon, 14 Apr 2014 12:40:27 +0200

For future years: Remind to edit the year number in build-config/init-and-clean.xml.

rju commented 1 week ago

author André van Hoorn -- Mon, 14 Apr 2014 12:43:31 +0200

Replying to [avh|comment:6]:
> For future years: Remind to edit the year number in build-config/init-and-clean.xml.

+ src/common/kieker/common/util/Version.java

rju commented 1 week ago

author André van Hoorn -- Sun, 27 Apr 2014 12:07:27 +0200

Replying to [avh|comment:7]:
> Replying to [avh|comment:6]:
> > For future years: Remind to edit the year number in build-config/init-and-clean.xml.
>
> + src/common/kieker/common/util/Version.java

+ Kieker web site + user guide BibTexs in doc/userguide/bibliography.bib

rju commented 1 week ago

author André van Hoorn -- Mon, 5 May 2014 13:29:04 +0200

Replying to [avh|comment:8]:
> Replying to [avh|comment:7]:
> > Replying to [avh|comment:6]:
> > > For future years: Remind to edit the year number in build-config/init-and-clean.xml.
> >
> > + src/common/kieker/common/util/Version.java
>
> + Kieker web site + user guide BibTexs in doc/userguide/bibliography.bib

+ header in Eclipse template KIEKER-1140 Done