You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Jayaram Subramanian <rs...@gmail.com> on 2010/08/22 23:17:48 UTC
Fwd: Derby 4616 - Sysinfo Tests prints permission errors when
printing sysinfo
Hi,
To test sysinfo by setting the classpath against the classes
directory, how should we change the classpath? Currently my classpath
is pointing to
C:/java/Derby/source/trunk/jars/sane/derby/derbyLocale_cs.jar;C:/java/Derby/source/trunk/tools/java/junit.jar;C:/java/Derby/source/trunk/jars/sane/derbyclient.jar;C:/java/Derby/source/trunk/jars/sane/derbynet.jar;C:/java/Derby/source/trunk/jars/sane/derbyrun.jar;C:/java/Derby/source/trunk/jars/sane/derbytesting.jar;C:/java/Derby/source/trunk/jars/sane/derbytools.jar;C:/java/Derby/source/trunk/jars/sane/derby.jar;
With Regards
Jayaram
---------- Forwarded message ----------
From: Jayaram Subramanian <rs...@gmail.com>
Date: Mon, Aug 9, 2010 at 11:54 AM
Subject: Derby 4616 - Sysinfo Tests prints permission errors when
printing sysinfo
To: derby-dev <de...@db.apache.org>
Hi,
When we have an invalid path in classpath for example "." , running
the sysinfoTest gives java.io error .. I am trying to figure out on
how we can handle this scenario.. Appreciate any help in getting
across this issue.
With Regards
Jayaram
Re: Fwd: Derby 4616 - Sysinfo Tests prints permission errors when
printing sysinfo
Posted by Jayaram Subramanian <rs...@gmail.com>.
Hi,
I tried testing the sysinfo against the classes by changing the
classpath to CLASSPATH="C:\java\Derby\source\trunk\classes;C:/java/Derby/source/trunk/tools/java/junit.jar;".
The output didnt have any exceptions. Please find the attached output.
Please let me know further steps on the same.
With Regards
Jayaram
On Sun, Aug 22, 2010 at 6:25 PM, Kathey Marsden
<km...@sbcglobal.net> wrote:
> On 8/22/2010 2:17 PM, Jayaram Subramanian wrote:
>>
>> Hi,
>> To test sysinfo by setting the classpath against the classes
>> directory, how should we change the classpath? Currently my classpath
>> is pointing to
>>
>>
>> C:/java/Derby/source/trunk/jars/sane/derby/derbyLocale_cs.jar;C:/java/Derby/source/trunk/tools/java/junit.jar;C:/java/Derby/source/trunk/jars/sane/derbyclient.jar;C:/java/Derby/source/trunk/jars/sane/derbynet.jar;C:/java/Derby/source/trunk/jars/sane/derbyrun.jar;C:/java/Derby/source/trunk/jars/sane/derbytesting.jar;C:/java/Derby/source/trunk/jars/sane/derbytools.jar;C:/java/Derby/source/trunk/jars/sane/derby.jar;
>>
> To test against classes, change your classpath to remove the derby jars and
> add C:/java/Derby/source/trunk/classes
>
> Thanks
>
> Kathey
>
>
>
Re: Fwd: Derby 4616 - Sysinfo Tests prints permission errors when
printing sysinfo
Posted by Kathey Marsden <km...@sbcglobal.net>.
On 8/22/2010 2:17 PM, Jayaram Subramanian wrote:
> Hi,
> To test sysinfo by setting the classpath against the classes
> directory, how should we change the classpath? Currently my classpath
> is pointing to
>
> C:/java/Derby/source/trunk/jars/sane/derby/derbyLocale_cs.jar;C:/java/Derby/source/trunk/tools/java/junit.jar;C:/java/Derby/source/trunk/jars/sane/derbyclient.jar;C:/java/Derby/source/trunk/jars/sane/derbynet.jar;C:/java/Derby/source/trunk/jars/sane/derbyrun.jar;C:/java/Derby/source/trunk/jars/sane/derbytesting.jar;C:/java/Derby/source/trunk/jars/sane/derbytools.jar;C:/java/Derby/source/trunk/jars/sane/derby.jar;
>
To test against classes, change your classpath to remove the derby jars
and add C:/java/Derby/source/trunk/classes
Thanks
Kathey
Re: Derby 4616 - Sysinfo Tests prints permission errors when printing sysinfo
Posted by Lily Wei <li...@yahoo.com>.
Hi Jayaram:
I was using GIT in windows which provide bash like environment. To change my classpath, I use
EXPORT CLASSPATH="c:/java/Derby/source/truck/jars/sane/derby.jar;$CLASSPATH"
However, it does look like you have that setting in you classpath already.
Hope this help,
Lily
On Aug 22, 2010, at 2:17 PM, Jayaram Subramanian <rs...@gmail.com> wrote:
> Hi,
> To test sysinfo by setting the classpath against the classes
> directory, how should we change the classpath? Currently my classpath
> is pointing to
>
> C:/java/Derby/source/trunk/jars/sane/derby/derbyLocale_cs.jar;C:/java/Derby/source/trunk/tools/java/junit.jar;C:/java/Derby/source/trunk/jars/sane/derbyclient.jar;C:/java/Derby/source/trunk/jars/sane/derbynet.jar;C:/java/Derby/source/trunk/jars/sane/derbyrun.jar;C:/java/Derby/source/trunk/jars/sane/derbytesting.jar;C:/java/Derby/source/trunk/jars/sane/derbytools.jar;C:/java/Derby/source/trunk/jars/sane/derby.jar;
>
> With Regards
> Jayaram
>
>
>
> ---------- Forwarded message ----------
> From: Jayaram Subramanian <rs...@gmail.com>
> Date: Mon, Aug 9, 2010 at 11:54 AM
> Subject: Derby 4616 - Sysinfo Tests prints permission errors when
> printing sysinfo
> To: derby-dev <de...@db.apache.org>
>
>
> Hi,
> When we have an invalid path in classpath for example "." , running
> the sysinfoTest gives java.io error .. I am trying to figure out on
> how we can handle this scenario.. Appreciate any help in getting
> across this issue.
>
> With Regards
> Jayaram