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
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to