On Mon, 2001-10-01 at 04:08, Ip, Ting Shing wrote:
    Hello 
    
    I am testing for the first time Jboss and ant 1.4. I am building ejb files
    with ant and i am getting the following error:
    [ejbjar] 1 deployment descriptors located.
    [ejbjar] Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD
    Enterprise Java
    Beans 1.1//EN, systemId: <http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd)> to
    a local entity
    

    
    Can anyone help me. please respons it to [EMAIL PROTECTED]
    
>From the Ant manual:

The <dtd> element is used to specify the local location of DTDs to be
used when parsing the EJB deployment descriptor. Using a local DTD is
much faster than loading the DTD across the net. 

Ant is looking for a local copy of the DTD. You need something like
this:

<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
1.1//EN"
    location="${foo.dir}/ejb-jar_1_1.dtd"/>

Cheers


-- 
 Jesse Stockall                 |       Tel: 1+ 613.599.2441 ext. 243
 CRYPTOCard Corporation         |       Fax: 1+ 613.599.2442            
 Suite 304, 300 March Rd.       |       email: [EMAIL PROTECTED]
 Ottawa, ON, Canada K2K 2E2     |       web: www.cryptocard.com 
---------------------------------------------------------------------

Reply via email to