db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dag.wan...@oracle.com (Dag H. Wanvik)
Subject Re: [jira] Commented: (DERBY-4785) Remove JCC tests and references to JCC in test code
Date Sat, 06 Nov 2010 02:13:36 GMT

I saw something similar, Rick just fixed somethign in the build so maybe
a svn update will set you straight. If not, try clobber between each
compile-time error you correct.

Thanks,
Dag

Jayaram Subramanian <rsjay1976@gmail.com> writes:


> Hi All,
> Thanks for the reply. I did the ant clobber before starting out ant
> all... I had also done svn update before making my JCC changes.. So i
> am wondering if something is wrong with my classpath.. The issue seems
> to be occuring around "parseexception".. Is there any class reference
> which is getting missed here?
>
> With Regards
> Jayaram
>
>
> On Thu, Nov 4, 2010 at 11:14 PM, Lily Wei <lilywei@yahoo.com> wrote:
>> Hi Jayaram:
>>      It is nice to see your email.
>>
>>     The build environment change lately.
>> If you do  'ant clobber' then 'ant all', it should fix your problem.
>> Before 'ant all', you can also do svn status to see whether you have any
>> temporary files that should be manually remove.
>>
>>
>> Hope this help,
>> Lily
>>
>>
>> ________________________________
>> From: Jayaram Subramanian <rsjay1976@gmail.com>
>> To: derby-dev@db.apache.org
>> Sent: Thu, November 4, 2010 8:35:54 PM
>> Subject: Re: [jira] Commented: (DERBY-4785) Remove JCC tests and references
>> to JCC in test code
>>
>> 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