[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Testing JavaHL on Windows

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2005-04-14 16:54:35 CEST

On Thu, 2005-04-14 at 09:19 -0400, Mark Phippard wrote:
...
>By the way, is there a doc somewhere that explains how I build and run the
>JavaHL tests on Windows?

Don't know about a doc, but the tests are JUnit based. Look at the
"check-javahl" build target in the generated Makefile on a unix box (at
the top level of your working copy):

check-javahl: javahl
        
        $(JAVA) -Djava.library.path=$(libsvnjavahl_PATH)/.libs:$(libdir)
-classpath $(javahl_tests_PATH):$(javahl_tests_CLASSPATH)
org.tigris.subversion.javahl.tests.BasicTests

Path info:

prefix = /usr/local/subversion
exec_prefix = ${prefix}
libdir = ${exec_prefix}/lib

Some of the paths also come from build-outputs.mk:

libsvnjavahl_PATH = subversion/bindings/java/javahl/native
javahl_tests_PATH = subversion/bindings/java/javahl/classes
JAVA_CLASSPATH=/usr/share/java/junit.jar:/usr/java/j2sdk1.4.2_06/jre/lib:/usr/java/j2sdk1.4.2_06/jre/lib/charsets.jar:/usr/java/j2sdk1.4.2_06/jre/lib/jce.jar:/usr/java/j2sdk1.4.2_06/jre/lib/jsse.jar:/usr/java/j2sdk1.4.2_06/jre/lib/plugin.jar:/usr/java/j2sdk1.4.2_06/jre/lib/rt.jar:/usr/java/j2sdk1.4.2_06/jre/lib/sunrsasign.jar
javahl_tests_CLASSPATH=$(JAVA_CLASSPATH)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 14 17:49:42 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.