ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Katz" <vadim.k...@verizon.com>
Subject problem with specifying dtd location for ejbjar element
Date Wed, 07 Aug 2002 00:16:25 GMT
I am trying to specify a local copy of IASEjb_jar_1_0.dtd because the
default on-line version does not exist anymore.
I am getting the following error:
SAXException while parsing 'ejb-jar.xml'. This probably indicates
badly-formed XML.  Details: File
"http://www.iplanet.com/j2ee/dtds/IASEjb_jar_1_0.dtd" not found.
For some reason ant ignores my request to use local copy of the dtd or
reports a misleading message.
In any case, I would appreciate any comments/suggestions.
Please, see relevant information below.

thanks,

vadim

build.xml snippet:

     <ejbjar srcdir="${build.classdir}"
             destdir="${assemble}"
             descriptordir="."
             basejarname="${ejbjar}">
             <iplanet destdir="${assemble}"
                      classpath="${ias.ejbc.cpath}"/>
             <include name="**/*ejb-jar.xml"/>
             <exclude name="**/*ias-*.xml"/>
             <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN"
                  location="${ias.home}/dtd/ejb-jar_1_1.dtd"/>
             <dtd publicId="-//Sun Microsystems, Inc.//DTD iAS Enterprise
JavaBeans 1.0//EN"
                  location="${ias.home}/dtd/IASEjb_jar_1_0.dtd"/>
     </ejbjar>

ant version: 1.5
jdk version: 1.3.1


--
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