Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 41299 invoked from network); 6 Nov 2009 15:24:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Nov 2009 15:24:32 -0000 Received: (qmail 41442 invoked by uid 500); 6 Nov 2009 15:24:32 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 41405 invoked by uid 500); 6 Nov 2009 15:24:31 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 41395 invoked by uid 99); 6 Nov 2009 15:24:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 15:24:31 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [87.241.53.234] (HELO silmasoftware.com) (87.241.53.234) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 15:24:22 +0000 Received: from PALUMBOXP by silmasoftware.com (MDaemon.Standard.v8.1.3.R) with ESMTP id md50000922108.msg for ; Fri, 06 Nov 2009 16:15:26 +0100 From: "Flavio Palumbo" To: "Derby Discussion" Subject: R: using ASTParser and TreeWalker Date: Fri, 6 Nov 2009 16:17:12 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <4AF43686.3040006@sun.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Authenticated-Sender: f.palumbo@silmasoftware.com X-MDRemoteIP: 10.0.0.82 X-Return-Path: f.palumbo@silmasoftware.com X-MDaemon-Deliver-To: derby-user@db.apache.org X-Virus-Checked: Checked by ClamAV on apache.org Hi Rich, thanks for your super quick answer ;-)) > Please tell us more about the problems you are having compiling the > Derby trunk. We want to make the build easier. I tried to build Derby following the guide at http://wiki.apache.org/db-derby/BuildingDerby ; I'm currently using NetBeans 6.5 with jdk 1.6.0 ; when I try to build the project I get a lot of exceptions due mainly to the fact that I'm not able to add jUnit jars to the project. I'm bit hurry now, I'll try to generate again the project this week end to be more accurate. > Yes, you should be able to compile these classes against the official > debug jars for 10.5.3.0. what you mean with "debug jars" ? Thanks a lot. Flavio > -----Messaggio originale----- > Da: Richard.Hillegas@Sun.COM [mailto:Richard.Hillegas@Sun.COM] > Inviato: venerd� 6 novembre 2009 15.45 > A: Derby Discussion > Oggetto: Re: using ASTParser and TreeWalker > > > Hi Flavio, > > Flavio Palumbo wrote: > > Hi all, > > > > I tried test ASTParser and TreeWalker to try to parse SQL > strings and the > > first works fine while I cannot compile the second cause I receive this > > compile time error : > > TreeWalker is not abstract and does not override abstract method > > visitChildrenFirst(org.apache.derby.iapi.sql.compile.Visitable) in > > org.apache.derby.iapi.sql.compile.Visitor > > > > is there a newer version I can use or can somebody tell me how > to fix this > > problem ? > > > The visitChildrenFirst() method was added to the Visitor interface > recently. I have attached new versions of TreeWalker, XmlTreeWalker, > and XmlTreePrinter to DERBY-3946, DERBY-791, and DERBY-4415 > respectively. The new versions implement the new method and should > compile against the current Derby trunk. If this doesn't fix your > problem, let me know and I'll look into this more. > > also I found the post "Rick Hillegas added a comment - > 25/Aug/09 04:00 PM" > > on https://issues.apache.org/jira/browse/DERBY-3946 : > > > > I have successfully compiled and run this ASTParser against the debug > > derby.jar that is part of the 10.5.3.0 distribution > > > > it means that I can compile and run ASTParser and TreeWalker against the > > normal distribution of Derby ? > > > Yes, you should be able to compile these classes against the official > debug jars for 10.5.3.0. > > this would be great cause I fight a lot to compile Derby from svn. > > > Please tell us more about the problems you are having compiling the > Derby trunk. We want to make the build easier. > > Thanks, > -Rick > > Any hint would be appreciated. > > > > Flavio > > > > > > ----------------------------------------------------------- > > Il presente messaggio non costituisce un impegno contrattuale > tra SILMA S.r.l. ed il destinatario. > > Le opinioni ivi espresse sono quelle dell'autore. > > SILMA S.r.l. non assume alcuna responsabilita riguardo al > contenuto del presente messaggio. > > Il messaggio � destinato esclusivamente al destinatario. > > Il contenuto e gli allegati sono da considerarsi di natura confidenziale > > > > Nel caso abbiate ricevuto il presente messaggio per errore > siete pregati di comunicarlo > > alla casella segreteria@silmasoftware.com. > > > > > ----------------------------------------------------------- Il presente messaggio non costituisce un impegno contrattuale tra SILMA S.r.l. ed il destinatario. Le opinioni ivi espresse sono quelle dell'autore. SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto del presente messaggio. Il messaggio � destinato esclusivamente al destinatario. Il contenuto e gli allegati sono da considerarsi di natura confidenziale Nel caso abbiate ricevuto il presente messaggio per errore siete pregati di comunicarlo alla casella segreteria@silmasoftware.com.