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 "rsjay1976 ." <rs...@gmail.com> on 2014/01/01 04:00:05 UTC
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.
Thanks all,
It now works..
With Regards
Jayaram
On Tue, Dec 31, 2013 at 9:51 AM, Knut Anders Hatlen
<kn...@oracle.com>wrote:
> "rsjay1976 ." <rs...@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
> > <bp...@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
> >
> >
> >
>
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.
Posted by "rsjay1976 ." <rs...@gmail.com>.
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 . <rs...@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 ." <rs...@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
>> > <bp...@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
>> >
>> >
>> >
>>
>
>