kieker-monitoring / kieker

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

[KIEKER-1181] Wrong year in license header of generated records #2579

Closed rju closed 5 days ago

rju commented 6 days ago

JIRA Issue: KIEKER-1181 Wrong year in license header of generated records Original Reporter: Andre van Hoorn


avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker <master> $ head src-gen/common/kieker/common/record/controlflow/BranchingRecord.java 
/***************************************************************************
 * Copyright 2013 Kieker Project (http://kieker-monitoring.net)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software

Is it possible to let the generator use the current year?

rju commented 6 days ago

author André van Hoorn -- Sun, 12 Oct 2014 18:04:49 +0200

Affected files:

avhAndrè van Hoorn-ThinkPad-RSS:130:~/git_work/kieker <master> $ grep -R "Copyright 2013 Kieker Project" * | grep -o "^.*: "

model/common/records/flow/trace/operation/object/ObjectEvent.irl: 
model/common/records/jvm/JVM.irl: 
src-gen/tools/kieker/tools/opad/record/ExtendedStorableDetectionResult.java: 
src-gen/tools/kieker/tools/opad/record/StorableDetectionResult.java: 
src-gen/tools/kieker/tools/opad/record/NamedDoubleRecord.java: 
src-gen/tools/kieker/tools/opad/record/NamedTSPoint.java: 
src-gen/tools/kieker/tools/opad/record/AggregationWindow.java: 
src-gen/common/kieker/common/record/flow/IFlowRecord.java: 
src-gen/common/kieker/common/record/flow/IEventRecord.java: 
src-gen/common/kieker/common/record/flow/AbstractEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/CallOperationEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/BeforeOperationEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/object/CallOperationObjectEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/object/AfterOperationObjectEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/object/BeforeOperationObjectInterfaceEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/object/BeforeOperationObjectEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/object/AfterOperationFailedObjectEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/constructor/object/CallConstructorObjectEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/constructor/object/AfterConstructorObjectEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/constructor/object/BeforeConstructorObjectInterfaceEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/constructor/object/AfterConstructorFailedObjectEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/constructor/object/BeforeConstructorObjectEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/constructor/BeforeConstructorEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/constructor/CallConstructorEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/constructor/AfterConstructorFailedEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/constructor/AfterConstructorEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/AfterOperationFailedEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/AfterOperationEvent.java: 
src-gen/common/kieker/common/record/flow/trace/operation/AbstractOperationEvent.java: 
src-gen/common/kieker/common/record/flow/trace/AbstractTraceEvent.java: 
src-gen/common/kieker/common/record/flow/trace/ConstructionEvent.java: 
src-gen/common/kieker/common/record/flow/trace/concurrency/SplitEvent.java: 
src-gen/common/kieker/common/record/flow/trace/concurrency/JoinEvent.java: 
src-gen/common/kieker/common/record/flow/trace/concurrency/monitor/MonitorNotifyEvent.java: 
src-gen/common/kieker/common/record/flow/trace/concurrency/monitor/MonitorNotifyAllEvent.java: 
src-gen/common/kieker/common/record/flow/trace/concurrency/monitor/AbstractMonitorEvent.java: 
src-gen/common/kieker/common/record/flow/trace/concurrency/monitor/MonitorRequestEvent.java: 
src-gen/common/kieker/common/record/flow/trace/concurrency/monitor/MonitorEntryEvent.java: 
src-gen/common/kieker/common/record/flow/trace/concurrency/monitor/MonitorExitEvent.java: 
src-gen/common/kieker/common/record/flow/trace/concurrency/monitor/MonitorWaitEvent.java: 
src-gen/common/kieker/common/record/flow/IObjectRecord.java: 
src-gen/common/kieker/common/record/flow/IOperationSignature.java: 
src-gen/common/kieker/common/record/flow/IConstructorRecord.java: 
src-gen/common/kieker/common/record/flow/ICallRecord.java: 
src-gen/common/kieker/common/record/flow/IExceptionRecord.java: 
src-gen/common/kieker/common/record/flow/IInterfaceRecord.java: 
src-gen/common/kieker/common/record/flow/ITraceRecord.java: 
src-gen/common/kieker/common/record/flow/ICallObjectRecord.java: 
src-gen/common/kieker/common/record/flow/IClassSignature.java: 
src-gen/common/kieker/common/record/flow/IOperationRecord.java: 
src-gen/common/kieker/common/record/jvm/MemoryRecord.java: 
src-gen/common/kieker/common/record/jvm/GCRecord.java: 
src-gen/common/kieker/common/record/jvm/AbstractJVMRecord.java: 
src-gen/common/kieker/common/record/jvm/CompilationRecord.java: 
src-gen/common/kieker/common/record/jvm/ThreadsStatusRecord.java: 
src-gen/common/kieker/common/record/jvm/ClassLoadingRecord.java: 
src-gen/common/kieker/common/record/jvm/UptimeRecord.java: 
src-gen/common/kieker/common/record/misc/EmptyRecord.java: 
src-gen/common/kieker/common/record/misc/TimestampRecord.java: 
src-gen/common/kieker/common/record/misc/KiekerMetadataRecord.java: 
src-gen/common/kieker/common/record/system/CPUUtilizationRecord.java: 
src-gen/common/kieker/common/record/system/MemSwapUsageRecord.java: 
src-gen/common/kieker/common/record/system/ResourceUtilizationRecord.java: 
src-gen/common/kieker/common/record/controlflow/OperationExecutionRecord.java: 
src-gen/common/kieker/common/record/controlflow/BranchingRecord.java:
rju commented 6 days ago

author André van Hoorn -- Sun, 12 Oct 2014 18:22:14 +0200

Fixed (0079f7a9019eeb09e41d35da690076684115c58a) the year for the files from comment:1 using the script from KIEKER-1093 Done .

avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker <master> $ grep -R "Copyright 2013 Kieker Project" * | grep -o "^.*: "
avhAndrè van Hoorn-ThinkPad-RSS:0:~/git_work/kieker <master> $

Moving fix of IRL compiler to 1.11 because I would like to create the 1.10 release branch later today.

BTW: test-gen/ was not affected.

rju commented 6 days ago

author rju -- Mon, 13 Oct 2014 14:19:50 +0200

Has been fixed in master for src-gen/common
There might be records unchanged which were processed by Nils. Therefore, Nils may you have a look on those records? And then mark ticket as fixed.

rju commented 6 days ago

author nils-christian -- Mon, 13 Oct 2014 14:34:21 +0200

I executed the generator for all records, but there were [no major changes|changeset:ee0fc3036614a11ec4dfc38e7bbf89cf6cce497e].