Annoyance - How to disable Eclipse classpath entry warnings

前端 未结 2 1691
梦谈多话
梦谈多话 2021-02-12 05:02

I\'ve searched the options but I can\'t seem to find a way to disable these warnings. Warnings such as this:

Classpath entry org.eclipse.jdt.junit.JUNIT_CONTAINER/4 w         


        
2条回答
  •  广开言路
    2021-02-12 05:43

    A quick fix for a whole project (may be too greedy though). Assumes linux utilities (or cygwin):

    cp .classpath classpath-bak
    cat classpath-bak | sed 's@^\(\s*\s*$@\1>@' > .classpath
    

提交回复
热议问题