Storing and Sharing Refactoring Operations
Oxygen XML Author scans the following locations when looking for XML Refactoring operations to provide flexibility:
- A
refactoring
folder, created inside a directory that is associated to a framework you are customizing. - Any folder. In this case, you need to open the
Preferences dialog box , go to , and specify the same folder in the Load additional refactoring operations from text
box.
Note
If you share a project with your team, you can also share the custom operation by doing the following: Then 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 frameworks or projects.
After storing operations, you can share them with other users by sharing the resources.