Daniel John Debrunner wrote:
Daniel John Debrunner wrote:

  
Michelle Caisse wrote:


    
Hi Dan, Susan,

I'm having trouble trying to run a Derby JUnit test outside of the
harness. I've tried three ways of running a test based on the example
and other information at
http://wiki.apache.org/db-derby/DerbyJUnitTesting and in
java/testing/README.htm. None works.  Here's what I get:
      
    
c:/Program Files/Java/jdk1.6.0/bin/java -Djava.security.manager -Djava.security.policy=derby_tests.policy -Dderby.system.home=/cygdrive/c/derby/derby/qe/javasrc/webapps/jdbc4 -cp c:/derby/derby/qe/javasrc/webapps/jdbc4//build/WEB-INF/classes/;c:/httpunit-1.6/lib/httpunit.jar;c:/db-derby-10.2.1.1/lib/derbyclient.jar;c:/db-derby-10.2.1.1/lib/derbynet.jar;c:/db-derby-10.2.1.1/lib/derby.jar;c:/db-derby-10.2.1.1/test/derbyTesting.jar;c:/junit3.8.1/junit.jar junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.jdbcapi.ProcedureTest 
      
Try removing the -Djava.security.manager  and
-Djava.security.policy=derby_tests.policy

I was just about to update the wiki section about running Derby JUnit tests.
    

I've updated this page to refect currently reality, can you see if you
follow it if you are successful.

http://wiki.apache.org/db-derby/DerbyJUnitTesting

Thanks,
Dan.

  
I was using 10.2.1.1.  Does the current reality require building from the latest source?

-- Michelle

Reply via email to