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 Sat, 11 Jan 2014 10:11:35 GMT
Hi All
I am trying to debug the issue in eclopse by debugging the RunTest.java
class file. But i find that none of the derbyTesting jar related  classes
like NetServer, JavaVersionHolder, and Sed classes could be referenced.   I
tried adding DerbyTesting.jar to classpath and sourcelookpath in eclipse.
But its not helping out.. Thanks for any help..

With Regards
Jayaram


On Tue, Dec 31, 2013 at 10:00 PM, rsjay1976 . <rsjay1976@gmail.com> wrote:

>
> Thanks all,
> It now works..
>
>
> With Regards
> Jayaram
>
>
>
>
>
> On Tue, Dec 31, 2013 at 9:51 AM, Knut Anders Hatlen <
> knut.hatlen@oracle.com> wrote:
>
>> "rsjay1976 ." <rsjay1976@gmail.com> writes:
>>
>> > Thanks Bryan
>> > I tried both with and without $, but got the same results.As an FYI, I
>> > am running cygwin on windows 7 pc with SUN JRE 1.6.0_14 version.
>>
>> Hi Jayaram,
>>
>> In addition to removing the $, I think you need to have double quotes
>> around the classpath, since unquoted semicolons have a special meaning
>> in cygwin's shell. Maybe you also need to replace "set" with "export".
>>
>> So something like
>>
>>   set CLASSPATH="C:/Derby/trunk/...."
>>
>> or
>>
>>   export CLASSPATH="C:/Derby/trunk/...."
>>
>> might work better.
>>
>> > With Regards
>> > Jayaram
>> >
>> > On Mon, Dec 30, 2013 at 8:16 PM, Bryan Pendleton
>> > <bpendleton.derby@gmail.com> wrote:
>> >
>> >         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
>> >
>> >
>> >     Hi Jayaram,
>> >
>> >     Make sure that line starts:
>> >
>> >     set CLASSPATH=...
>> >
>> >     not
>> >
>> >     set $CLASSPATH=...
>> >
>> >     thanks,
>> >
>> >     bryan
>> >
>> >
>> >
>>
>
>

Mime
View raw message