ANT 빌드 스크립트를 실행할 때 Cobertura가 다음과 같은 경고를 표시합니다. 그것으로, 나는 그것이 정말로 무엇을 의미하는지 궁금해. 어떻게 내가 그것을 끌 수 있을까.특정 Cobertura 경고를 제거하는 방법?
[아래 cobertura-instrument] WARN visitEnd, No line number information found for class com.x.y.z.A. Perhaps you need to compile with debug=true?
ANT 샘플 :
<target name="instrument" depends="init,compile" >
<delete file="cobertura.ser" />
<delete dir="${instrumented}" />
<cobertura-instrument todir="${instrumented}">
<ignore regex="org.apache.log4j.*" />
<fileset dir="${build}" >
<include name="**/*.class" />
<exclude name="**/Test*.class" />
</fileset>
</cobertura-instrument>
</target>
알려 주시기 바랍니다.
이 경고는 내부 클래스에만 적용됩니다. 누구든지 그 문제를 해결하는 방법을 알고 있습니까? – Jon