You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

All *.dll files (*.so in Linux) stored in the ./Plugins subdirectory are treated as SWIP5 plug-ins. If a plug-in is redundant when developing a given region and interferes with your work, you can exclude it and it will not be loaded into the program. To do this, edit the configuration file named IgnorePlugins.xml in the directory for the given region and add the names of files with plugins that are to be ignored. Only filenames are provided without the path. An empty IgnorePlugins.xml file is automatically generated the first time SWIP5 is invoked for a given region. Below is an example of a file set to ignore Mw magnitude counting with the SWIP4 method:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="12">
<Parameters class_id="0" tracking_level="0" version="0">
      <count>1</count>
      <item_version>0</item_version>
      <item>MwPluginSWIP4.dll</item>
</Parameters>
</boost_serialization>

You can also individually add custom plugins outside of the ./Plugins directory for the elaboration of the region. The AdditionalPlugins.xml configuration file is used to define them. It has the same structure as IgnorePlugins.xml, but it should contain paths to files with plugins.

  • No labels