Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 7180 invoked by uid 500); 17 Jul 2003 15:45:05 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 7135 invoked from network); 17 Jul 2003 15:45:04 -0000 Received: from web20404.mail.yahoo.com (HELO web20416.mail.yahoo.com) (66.163.169.92) by daedalus.apache.org with SMTP; 17 Jul 2003 15:45:04 -0000 Message-ID: <20030717154503.343.qmail@web20416.mail.yahoo.com> Received: from [208.128.244.62] by web20404.mail.yahoo.com via HTTP; Thu, 17 Jul 2003 08:45:03 PDT Date: Thu, 17 Jul 2003 08:45:03 -0700 (PDT) From: Matt Benson Subject: RE: Please help getting ANT to work with ANTLR 2.7.2 To: Ant Users List In-Reply-To: <97D4513F808CA4439B1154BD307857DFCCBD@noddy.techop.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N One thing that seems like a good thing to do would be to test your Ant setup with the task: If it's false, there's something wrong with your classpath... BUT I went back and reread your original post after I wrote the above, and your error looks like you may have just put the task in the wrong context. Check your XML or post its text if you still can't find anything... -Matt --- Mark Williams wrote: > Antoine, > > Thanks for the reply. > > > it is possible that you are using a build of ant > where antlr is not > > included. > > Do > > $ jar tvf optional.jar 2>&1 | grep -i antlr > > to see if you have the antlr task in your distro > > (optional.jar lives in $ANT_HOME/lib ) > > (I use XP not UNIX so no grep) but I see the > following file in optional.jar: > > 7709 Wed Apr 16 19:22:26 GMT 2003 > org/apache/tools/ant/taskdefs/optional/ANTLR.class > > > If you are using a home-built distro of ant, then > you might > > need to rebuild it. > > To build antlr support in ant, you need to build > first > > antlrall.jar (see the manual/install.html file) > > Otherwise, you can use an official distribution of > ant. > > In this case, you will also need antlrall.jar. > (under > > $ANT_HOME/lib/optional > > in ant 1.5.3 > > or $ANT_HOME/lib in ant 1.6alpha ) > > I use the official 1.5.3-1 version that I downloaded > from ant.apache.com > today. > > Regards, > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org