문제

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