ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Landgraf, Thomas GFIDOR" <landg...@gfi.ihk.de>
Subject RE: ejb-jar and external DTDs
Date Thu, 31 Jan 2002 06:26:02 GMT
Hi Laurant,

> Yes, but that's still an external DTD. I'm trying to make 
> sure there is no
> reliance on external DTDs.

You can force the ejbjar task to refer to a local file (or to
a webserver you control on your own) by supplying the <dtd>-tag
within the ejbjar task:

<ejbjar ... >

  <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//EN"
   location="${global.project.home}/DTD/ejb20-jar.dtd"/>

  <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN"
   location="${global.project.home}/DTD/weblogic-ejb-jar.dtd"/>

</ejbjar>

hth,
Thomas

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message