How to add fields or methods to a task class file?


Set the 'ChangeableClassFile' tag in the task definition of the XML framework definition file to true.

This way builder names the class of the task [ShortCut]T[Task Name]_base and creates a second class named [ShortCut]T[Task Name] which is inherrited from the [ShortCut]T[Task Name]_base class. The [ShortCut]T[Task Name] is an empty class which can be filled by the user. It gets not overwritten by the builder.

The class file is located in the /include/task/ directory.


Matthias Schneebeli, Ryu Sawada
e-mail: ryu.sawada@psi.ch