L,

Download the DTD from the link to a local directory and then add a <dtd>
element to inform ejbjar where the DTD is.

Check out the documentation
http://jakarta.apache.org/ant/manual/OptionalTasks/ejb.html#ejbjar

In particular, look at the description of the dtd element and the examples.
I have copied in a relevant snippet here

<dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN"

location="${weblogic.home}/classes/weblogic/ejb/deployment/xml/weblogic-ejb-
jar.dtd"/>

Obviously you need to select the appropriate publicId and location values.

Conor


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 31 January 2002 3:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: ejb-jar and external DTDs
>
>
> On 30 Jan, Chaganthi, Madhusudan R. wrote:
> > You are compiling ejbs in a 6.1 environment with a 5.1 dtd
> reference in the
> > dds.
> > Try using the dtd for 6.x ejbs that you can find here
> > http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd
> >
>
> Yes, but that's still an external DTD. I'm trying to make sure there is no
> reliance on external DTDs.
>
> Nevertheless, I'll try changing it to see.
>
> Thanks,
>
> L
>
> --
> Laurent Duperval <mailto:[EMAIL PROTECTED]>
>
> You know that little indestructible black box that is used on planes,
> why can't they make the whole plane out of the same substance?
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to