سؤال

I'm trying to remove Junit from the build path a (plugin) project in Eclipse(I've refactored the tests into a separate Project.

Should be simple, but the remove button is greyed out for me:

enter image description here

Am I missing something obvious?

هل كانت مفيدة؟

المحلول

If this is a Plugin project, you should maintain the build path via the manifest editor for the plugin (the same editor manipulates both manifest.mf and plugin.xml). That's where you declare the dependencies that the plugin has, which in turn automatically maintains the build path. There are a couple of ways of expressing a dependency, either as a Required Plug-in or as an Imported Package.

enter image description here

or

enter image description here

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top