Class set_copyright_year

This observer will change the value for copyright year prior to creating a new build of an application.


This program searches for '%(copyright-year)%' within the first 100 characters of the source file and will replace it with the current year. It will then create a temporary file to be used as an alternative source file which will be deleted during the PostProcess of the build by this same observer.

Properties

LOCAL theDescription$="Substitute modification year of source file for 'Copyright-year' tag."  
LOCAL theNotificationFlag=_pvxConstants'_idePrePostProcess  

Methods

FUNCTION update(initPvxState)  

The logic to be executed when the observer is triggered.

ParameterDescription
initPvxState A reference to an object of class PvxState

Properties inherited from: EventManagerObserver

theDescription$, theNotificationFlag

Methods inherited from: EventManagerObserver

getDescription$(), getEventNotificationFlag(), init(), update(), createAlternateSourceFile(), getAlternateSourceFile$()