junit autogen error?

d.ostrovsky at idaia.de d.ostrovsky at idaia.de
Tue Nov 19 02:58:51 PST 2013


On Tue Nov 19 00:11:49 PST 2013 Stephan Bergmann wrote:

> The best fix probably is to use javac with -classpath junit.jar for  
> the check.

You can use javap to check the existence of java classes in a JAR:

$>javap -classpath /Users/davido/Downloads/junit4.11/junit-4.11.jar  
org.hamcrest.Matcher &> /dev/null
$>echo $?

$>javap -classpath /Users/davido/Downloads/junit4.11/junit-4.11.jar  
org.hamcrest.Matcher2 &> /dev/null
$>echo $?
1

David


More information about the LibreOffice mailing list