I have a plug-in project opened in the workspace. Is there an API which could help to change the plugin.xml? I don’t want to parse it as an xml file.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no “good” way to do this as the PDE guys did not open their APIs to modify manifest files (MANIFEST.MF, plugin.xml, etc). You can only access those information in read only with their APIs. That being said, if you are not afraid of using internal code, you can have a look at PDEModelUtility and ModelModification. These classes are used in the OrganizeManifestProcessor.