com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Testing the Plug-In

There are two ways to test the created plug-in with the help of WSO2 plug-in templates:

  • Self hosting the new plug-in on top of the Eclipse instance used to develop the plug-in

    This is the best option for developers to test functionality and debug the code. Right-click the created plug-in and click Run as > Eclipse Application. This launches a new Eclipse instance with your plug-in and you can debug your plug-in similar to a normal java project.

    If the Run as > Eclipse Application option is not available, click Run Configurations. On the wizard that appears, select the Eclipse application and click Run.

     

  • Creating a feature for the plug-in, creating a local P2 repository with the archive of the feature, and installing the feature on top of a Developer Studio instance.

    This option should be used to test the plug-in in the final phase to ensure that all the required files and resources are included in the feature bundle and that a good final user experience is ensured. Note that it is a must to test at least once using this approach after creating the feature, as the resource handling and internal file processing in Eclipse is always different when plug-ins are installed separately rather than self hosted.

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.