db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <rick.hille...@gmail.com>
Subject Re: development environment
Date Tue, 25 Nov 2014 21:14:35 GMT
Hi Raquel,

Some comments inline...

On 11/24/14 7:28 AM, Raquel Pau wrote:
> Hi,
> I am trying to configure the project inside eclipse, but the code does 
> not compile. In fact, I have followed the instructions of building 
> derby with the latest version ant and Java (8) without success.
> Specifically, these instructions:
>  http://svn.apache.org/viewvc/db/derby/code/trunk/BUILDING.html?view=co#Customized 
> Build
> When I execute "ant -quiet buildSource" theere are errors regarding 
> the JavacParser.
> I have tried to import the projects through Maven, but the system does 
> not find any source file. If I added the foulders manually, there are 
> some errors, specially the tools module 
> (org.apache.derby.impl.tools.ij). There are missing imports and the 
> API does not correspond with the current version of the code. 
> Specifically the "ij" class.
> I have tried both steps using the and closed 
> versions (tags).
Perhaps someone else can give you Eclipse advice.
> Another question. I am interested in overwride the behavior of derby 
> when a query arrives to the server, because I will receive a query 
> into another language and I will transform it into a derby (SQL) 
> query. Do you know which is the class that process a query (parses and 
> interpretes it)?
The Derby parser is 
java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj. You may 
also want to take a look at 
https://issues.apache.org/jira/browse/DERBY-6385. That issue shows you 
how to plug in new language without disturbing the existing Derby SQL 

Hope this helps,
> Thank you in advance,
> Raquel

View raw message