db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jayaram Subramanian <rsjay1...@gmail.com>
Subject Re: [jira] Commented: (DERBY-4785) Remove JCC tests and references to JCC in test code
Date Fri, 05 Nov 2010 03:35:54 GMT
Thanks all,
I made the suggested changes to derbynetclientmats etc.. and then
tried building using ant all... But i am getting the following error
compile\SQLParser.java:3632: cannot find symbol

    [javac] symbol  : class ParseException
    [javac] location: class org.apache.derby.impl.sql.compile.SQLParser
    [javac]   final public DataTypeDescriptor numericType() throws ParseExceptio
n, StandardException {

 StandardException {
   [javac]                                                       ^
   [javac] C:\java\derby\source\trunk\generated\java\org\apache\derby\impl\sql\
ompile\SQLParser.java:3883: cannot find symbol
   [javac] symbol  : class ParseException
   [javac] location: class org.apache.derby.impl.sql.compile.SQLParser


my classpath is
C:/java/Derby/source/trunk/jars/sane/derby/derbyLocale_cs.jar;C:/java/Derby/sour
ce/trunk/tools/java/junit.jar;C:/java/Derby/source/trunk/jars/sane/derbyclient.j
ar;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

Please let me know if i am doing something wrong

With Regards
Jayaram



On Wed, Nov 3, 2010 at 3:50 AM, Knut Anders Hatlen
<knut.hatlen@oracle.com> wrote:
> Jayaram Subramanian <rsjay1976@gmail.com> writes:
>
>> Hi All,
>> Thanks for your reply. As suggested i made the changes to
>> derbyall.properties derbynetclientmats.runall and
>> derbynetclientmats.properties.
>>
>> I tried testing the changes by running All.java and Allpackages.java
>> as junit tests. But no output appeared on the console.. Should i do
>> something different
>
> Hi Jayaram,
>
> The tests you've changed are not part of the JUnit test suite, but run
> in the old test harness. To run them, add derbyrun.jar,
> derbyTesting.jar, jakarta-oro-2.0.8.jar and junit.jar to the classpath,
> and execute this command:
>
> java org.apache.derbyTesting.functionTests.harness.RunSuite derbyall
>
> If everything goes well, you'll find a test report in
> derbyall_report.txt when the command has completed.
>
> --
> Knut Anders
>

Mime
View raw message