db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rsjay1976 ." <rsjay1...@gmail.com>
Subject Re: [jira] [Assigned] (DERBY-5219) Make it possible to set the classpath of the Derby tests using the -cp command line arg instead of setting the CLASSPATH environment variable.
Date Tue, 31 Dec 2013 01:03:55 GMT
Hi,
 I was trying to replicate the above  issue by running  harness against a
single test. But i was facing the issue below when i was trying to set
classpath..  Appreciate your help..
================================================
jayaram@ADMINIB-0FLD7HA /cygdrive/c/derby/trunk
$ set
$CLASSPATH=C:/Derby/trunk/tools/java/jakarta-oro-2.0.8.jar;C:/Derby/trunk/jars/sane/derbyTesting.jar;C:/Derby/trunk/jars/sane/derbyrun.jar;C:/Derby/trunk/tools/java/junit.jar
C:/Derby/trunk/jars/sane/derbyTesting.jar: line 1: $'PK\003\004': command
not found
C:/Derby/trunk/jars/sane/derbyTesting.jar: line 2:
$'\b\250\f\207C\320\273\316q\025\020@\036\017SimpleApp.class\265Xy':
command not found
C:/Derby/trunk/jars/sane/derbyTesting.jar: line 2:
$'\034\365u\377\276\231]\315h5\226\344\265-{\2151c\233c%K\226\f\306\300\032c\006\031I\030\313\a\346\036\355\216W\213ww\326\263\263\222\305Us\206\320\222@':
command not found
C:/Derby/trunk/jars/sane/derbyTesting.jar: line 3: syntax error near
unexpected token `('
=================================================

With Regards
Jayaram



On Sun, Dec 22, 2013 at 8:07 PM, Jayaram Subramanian (JIRA) <jira@apache.org
> wrote:

>
>      [
> https://issues.apache.org/jira/browse/DERBY-5219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Jayaram Subramanian reassigned DERBY-5219:
> ------------------------------------------
>
>     Assignee: Jayaram Subramanian
>
> > Make it possible to set the classpath of the Derby tests using the -cp
> command line arg instead of setting the CLASSPATH environment variable.
> >
> ----------------------------------------------------------------------------------------------------------------------------------------------
> >
> >                 Key: DERBY-5219
> >                 URL: https://issues.apache.org/jira/browse/DERBY-5219
> >             Project: Derby
> >          Issue Type: Improvement
> >          Components: Test
> >    Affects Versions: 10.9.1.0
> >            Reporter: Rick Hillegas
> >            Assignee: Jayaram Subramanian
> >
> > The instructions for running Derby tests say that you need to set the
> CLASSPATH environment variable. This rule is described here:
> http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/README.htm?view=co#2.1_running_with_derby_classes_If,
instead, you set the classpath using the -cp command line argument, the
> classpath won't be properly set in the subprocesses which the test harness
> spawns. It should be possible for the harness to introspect its classpath
> and pass that information to subprocesses.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.1.5#6160)
>

Mime
View raw message