----- Original Message ----- From: "Jesse Stockall" To: Cc: Sent: Monday, October 01, 2001 4:21 AM Subject: Re: Jboss/ant1.4 > 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: to > a local entity > > > > Can anyone help me. please respons it to tsip168@hotmail.com > > From the Ant manual: > > The 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: > > 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: jesse@cryptocard.com > Ottawa, ON, Canada K2K 2E2 | web: www.cryptocard.com > --------------------------------------------------------------------- >