Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 33261 invoked from network); 31 Aug 2006 17:18:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 17:18:46 -0000 Received: (qmail 84410 invoked by uid 500); 31 Aug 2006 17:18:45 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84291 invoked by uid 500); 31 Aug 2006 17:18:44 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 84282 invoked by uid 99); 31 Aug 2006 17:18:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 10:18:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.42.249] (HELO nwkea-pix-1.sun.com) (192.18.42.249) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 10:18:42 -0700 Received: from d1-sfbay-10.sun.com ([192.18.39.120]) by nwkea-pix-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k7VHILNb000447 for ; Thu, 31 Aug 2006 10:18:21 -0700 (PDT) Received: from conversion-daemon.d1-sfbay-10.sun.com by d1-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) id <0J4V00601HA96000@d1-sfbay-10.sun.com> (original mail from Michelle.Caisse@Sun.COM) for derby-dev@db.apache.org; Thu, 31 Aug 2006 10:18:21 -0700 (PDT) Received: from [192.168.1.102] ([64.142.9.219]) by d1-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPSA id <0J4V001OOHEKX11Y@d1-sfbay-10.sun.com> for derby-dev@db.apache.org; Thu, 31 Aug 2006 10:18:21 -0700 (PDT) Date: Thu, 31 Aug 2006 10:20:49 -0700 From: Michelle Caisse Subject: Re: Running a Derby JUnit test using JUnit directly In-reply-to: <44F7159B.6040405@apache.org> Sender: Michelle.Caisse@Sun.COM To: derby-dev@db.apache.org Reply-to: Michelle.Caisse@Sun.COM Message-id: <44F71A71.8070809@sun.com> MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_iLNlDy4nzgmeeLYKzbo/KA)" X-Accept-Language: en-us, en References: <20060831005703.2071.qmail@web81301.mail.mud.yahoo.com> <44F70A94.3000903@sun.com> <44F70C92.5060809@apache.org> <44F7159B.6040405@apache.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --Boundary_(ID_iLNlDy4nzgmeeLYKzbo/KA) Content-type: text/plain; format=flowed; charset=us-ascii Content-transfer-encoding: 7BIT 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 --Boundary_(ID_iLNlDy4nzgmeeLYKzbo/KA) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT 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
--Boundary_(ID_iLNlDy4nzgmeeLYKzbo/KA)--