<antlr> is not a task from Ant - it is one of the ANTLR parser generator. Therefore you have to download the task implementation from the ANTLR website and provide it to Ant via "-lib" or one of the other suggested ways.
That's what the error message means. Jan >-----Ursprüngliche Nachricht----- >Von: David Nemer [mailto:[email protected]] >Gesendet: Donnerstag, 30. April 2009 01:17 >An: Ant Users List >Betreff: Re: Problems with ANTLR > >Anyone??? > >-- >David Nemer >Sent from Kaiserslautern, RP, Germany > >On Wed, Apr 29, 2009 at 12:18 AM, David Nemer ><[email protected]> wrote: > >> Hey Everyone, >> >> I'm trying to build my project with ANT, and I'm getting the >following >> error: >> >> Reason: /scratch2/nemer/test/build.xml:47: Problem: failed >to create task >> or type antlr >> Cause: the class org.apache.tools.ant.taskdefs.optional.ANTLR was not >> found. >> This looks like one of Ant's optional components. >> Action: Check that the appropriate optional JAR exists in >> -ANT_HOME/lib >> -the IDE Ant configuration dialogs >> >> Do not panic, this is a common problem. >> The commonest cause is a missing JAR. >> >> This is not a bug; it is a configuration problem >> >> I tried to download the ant-nodeps-1.7.1.jar to the >ANT_HOME/lib, but still >> doesn't work! >> >> Can anyone help me here!! I'm stuck and can't seem to find >the solution! >> >> Cheers, >> -- >> David Nemer >> Sent from Kaiserslautern, RP, Germany > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
