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.

Build Information

Author Fred McGuirk
Date Nov 22, 2007
Outputfile set_copyright_year.pvc

Properties

No Properties

Methods

FUNCTION update(initPvxState)

The logic to be executed when the observer is triggered.

ParameterDescription
state A reference to an object of class [ProvideX Class:PvxState]

Methods inherited from: EventManagerObserver

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