ahm - well, I'm very sorry, but it still doesn't work.

as well as with no CLASSPATH set (but antlr.jar, antlr-tools.jar and all 
other required libraries under %JAVA_HOME%\jre\lib\ext) and with CLASSPATH 
set to
%JAVA_HOME%\lib\antlr.jar;%JAVA_HOME%\lib\antlr-tools.jar;%JAVA_HOME%\lib\jakarta-ant-1.4.1-optional.jar

I get the same message as I didn't have the optional package:

"D:\jakarta\jakarta-slide-checkout\build.xml:653: Could not create task of 
type: antlr. Common solutions are to use taskdef to declare your task, or, 
if this is an optional task, to put the optional.jar in the lib directory 
of your ant installation <ANT_HOME>."

and I always close and reopen the command shell, so all paths should be set 
correctly.

claus


At 08:38 13.05.2002 +0300, you wrote:
>Or maybe even better- put the extra jars under
>%JAVA_HOME%\jre\lib\ext?
>All .jar files under that directory should be automatically
>added to the CLASSPATH.
>As far as I understand, it is generally discouraged today
>to mess with CLASSPATH directly.
>
>Hope this helps,
>
>--Amos
>
> > -----Original Message-----
> > From: Sung-Gu
> >
>[mailto:[EMAIL PROTECTED]
>ilshell.com]
> > Sent: Monday, May 13, 2002 7:03 AM
> > Subject: Re: build failed: <antlr target=" .../>
> >
> >
> >
> > ----- Original Message -----
> > From: "Claus Goettfert" <[EMAIL PROTECTED]>
> >
> > > I do/did have antlr.jar in my classpath (%JAVA_HOME%\lib).
> > I also set a
> > > variable CLASSPATH to %JAVA_HOME%\lib.
> >
> > I guess you should set CLASSPATH like
> > %JAVA_HOME%\lib\antlr.jar;%JAVA_HOME%\lib\antlr-tools.jar
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

-- 
Claus Goettfert
Rustengasse 3 / 1
1153 Wien / AUSTRIA
Tel.: +43/(0)650/503 301 0
web: http://www.goettfert.at
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to