Storing and Sharing Refactoring Operations
Oxygen XML Author scans the following locations when looking for XML Refactoring
operations to provide flexibility:
- A folder named refactoring, created inside the folder of the framework you are customizing. In the Classpath tab of the Document type configuration dialog box, you need to add a reference to the refactoring folder specific for the framework.
- A folder that you specify in the Load additional refactoring operations from text box in
the XML Refactoring preferences page.Note: If you share a project with your team, you can also share the custom operation by doing the following:
- Save the custom operation in a folder that is part of your project.
- Switch the XML Refactoring option page to project level:
- Open the Preferences dialog box and go to .
- Select Project Options at the bottom of the dialog box.
- In the Load additional refactoring operations from text box, use the ${pd} editor variable so that the folder path is declared relative to the project.
- A folder specified by the XML Refactoring Operations Plugin Extension.
- The refactoring folder from the Oxygen XML Author installation directory ([OXYGEN_INSTALL_DIR]/refactoring/).
Sharing Refactoring Operations
The purpose of Oxygen XML Author scanning multiple locations for the XML Refactoring operations is to provide more flexibility for developers who want to share the refactoring operations with the other team members. Depending on your particular use case, you can attach the refactoring operations to other resources, such as framework or projects.
After storing operations, you can share them with other users by sharing the resources.