开发者

Setting targeted version of plugin to avoid NoSuchMethodException

开发者 https://www.devze.com 2023-01-10 22:41 出处:网络
Im building a plugin in Eclipse 3.6, but I want it to be compatible with Eclipse 3.2. I just got NoSuchMethodException, because I used some new API. is there any way to force eclipse to check if im n

Im building a plugin in Eclipse 3.6, but I want it to be compatible with Eclipse 3.2.

I just got NoSuchMethodException, because I used some new API. is there any way to force eclipse to check if im not using too new methods?

W开发者_StackOverflow中文版hen I created plugin i chose eclipse 3.2.


If I understand correctly, you can make a new target platform for eclipse 3.2, and use that for development. Under Preferences/Plug-in Development/Target Platform, add a new platform using an older installation of eclipse, and select that as the platform for your workspace.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号