Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 44404 invoked from network); 7 Aug 2002 00:27:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Aug 2002 00:27:46 -0000 Received: (qmail 26657 invoked by uid 97); 7 Aug 2002 00:28:05 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 26611 invoked by uid 97); 7 Aug 2002 00:28:04 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 26587 invoked by uid 98); 7 Aug 2002 00:28:04 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <3D506966.40201@cortexebusiness.com.au> Date: Wed, 07 Aug 2002 10:27:18 +1000 From: Conor MacNeill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020605 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: problem with specifying dtd location for ejbjar element References: <00e601c23da7$ab54a840$0100000a@gte.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Vadim Katz wrote: > 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: > > destdir="${assemble}" > descriptordir="." > basejarname="${ejbjar}"> > classpath="${ias.ejbc.cpath}"/> > > > location="${ias.home}/dtd/ejb-jar_1_1.dtd"/> > location="${ias.home}/dtd/IASEjb_jar_1_0.dtd"/> > > > ant version: 1.5 > jdk version: 1.3.1 A few things to do. Run with -debug. Ejbjar will report what it has successfully mapped to a publicID. You will need to make sure the IDs match exactly and the local resource is being found. Conor -- To unsubscribe, e-mail: For additional commands, e-mail: