ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@m64.com>
Subject RE: optional tasks (ejbjar)
Date Sat, 11 Nov 2000 01:58:31 GMT
Tom,

Put the optional.jar in the lib directory of ANT_HOME. It will
automatically be used by ant in this case. There is no need to change
your classpath. I think that is working, however, since the class you
are missing is one that is used by the ejbjar task. Can you check your
XML parser setup. You need a JAXP compliant parser to use Ant. What
parser are you using?

Conor


> -----Original Message-----
> From: Tom Rynne [mailto:tom@net-imps.com]
> Sent: Friday, 10 November 2000 21:05
> To: ant-user@jakarta.apache.org
> Subject: optional tasks (ejbjar)
>
>
> Hello,
>   How do i use optional tasks?
> If i've missed the documentation could you point me to it.
> I've tried adding
> optional.jar to the classpath, and adding a taskdef line but
> I get the
> following exception
>   Exception in thread "main" java.lang.NoClassDefFoundError:
>      javax/xml/parsers/ParserConfigurationException
>
> btw the ejbjar task looks great.
>
> thanks
> Tom
>


Mime
View raw message