From SeSAm-Wiki

Jump to: navigation, search

Why did we change it?

The new machanism was introduced between Version 1.6 and 1.7. The old mechanism evolved over the last years. Thus the code was not very pretty. In addition programmers of plugins had to change the ini-files very often. Theroretically many add-ons could be described in one ini-file, but this was not necessary because SeSAm was able to load several ini-files at startup. That was the reason to simplify the whole process.

What do i have to do?

Just do the following steps to make your plugin compatible:

  • Create the class MyPlugin which extends AbstractSeSAmPlugin.
  • Copy the old ini-file into a comment of this class, and use it as a template to override the functions of the abstract class
  • Change the new short plugin.ini-File:
<plugin2004 className="mypath.MyClass"/>
Personal tools