You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Barbara Baughman <ba...@utdallas.edu> on 2002/12/11 20:00:26 UTC
WEB-MACRO to Velocity conversion
I ran the convert-wm.sh command with a directory and get the error:
Exception in thread
"main" java.lang.NoClassDefFoundError: org/apache/tools/ant/DirectoryScanner
at org.apache.velocity.convert.WebMacro.convert(WebMacro.java:163)
at org.apache.velocity.convert.WebMacro.main(WebMacro.java:326)
I'm sure I'm missing a jar in the classpath (which the script builds from
all the jars in velocity.home/bin). Can you tell me which one needs to be
added?
TIA.
Barbara Baughman
X2157
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: WEB-MACRO to Velocity conversion
Posted by Barbara Baughman <ba...@utdallas.edu>.
Thanks.
Barbara Baughman
X2157
On Wed, 11 Dec 2002 Christoph.Reck@dlr.de wrote:
> The stacktrace tells it - you need the ant.jar, which you probably can get
> from the corresponding jakarta project. Check on how the convert-wm.sh
> script sets up the jars and add it accordingly.
>
> --
> :) Christoph Reck
>
>
> Barbara Baughman wrote:
> > I ran the convert-wm.sh command with a directory and get the error:
> > Exception in thread
> > "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/DirectoryScanner
> > at org.apache.velocity.convert.WebMacro.convert(WebMacro.java:163)
> > at org.apache.velocity.convert.WebMacro.main(WebMacro.java:326)
> >
> > I'm sure I'm missing a jar in the classpath (which the script builds from
> > all the jars in velocity.home/bin). Can you tell me which one needs to be
> > added?
> >
> > TIA.
> >
> > Barbara Baughman
> > X2157
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: WEB-MACRO to Velocity conversion
Posted by Ch...@dlr.de.
The stacktrace tells it - you need the ant.jar, which you probably can get
from the corresponding jakarta project. Check on how the convert-wm.sh
script sets up the jars and add it accordingly.
--
:) Christoph Reck
Barbara Baughman wrote:
> I ran the convert-wm.sh command with a directory and get the error:
> Exception in thread
> "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/DirectoryScanner
> at org.apache.velocity.convert.WebMacro.convert(WebMacro.java:163)
> at org.apache.velocity.convert.WebMacro.main(WebMacro.java:326)
>
> I'm sure I'm missing a jar in the classpath (which the script builds from
> all the jars in velocity.home/bin). Can you tell me which one needs to be
> added?
>
> TIA.
>
> Barbara Baughman
> X2157
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>