|Library provider framework- library deprecation [message #637751]
||Mon, 08 November 2010 17:06
| Eric Peters
Registered: July 2009
I have been successful in using extension points below to transition existing projects using a legacy method to configure libraries. I've also used the message parameter for the legacy-library-provider in order to display additional explanatory information.
Now I'd like to know how to deprecate a library that has been defined using Library Provider Framework in a previous release. My detector is not triggered when already on the new framework so seems not an option. I can define the deprecated library as hidden but would like to also display additional explanatory information (e.g. "You are using a deprecated library, switch to another one"), but the message parameter seems only to have effect when used in the context of legacy-library-provider.
Please help me find the best approach to use- thanks in advance!
<extension point=" org.eclipse.jst.common.project.facet.core.legacyLibraryProvi derDetectors ">
<extension point="org.eclipse.jst.common.project.facet.core.libraryProviders ">
<provider id="mytech-legacy-library-provider" extends="legacy-library-provider" hidden="true">
[Updated on: Mon, 08 November 2010 17:07]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.12857 seconds