ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject RE: EJBJAR task issues
Date Wed, 25 Jul 2001 23:33:41 GMT

Your xml files should reference the standard DTD location (the one you
gave). So your files should all start with
<!DOCTYPE ejb-jar
    PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN'

You should then map this public ID to a local file using a <dtd> element in
    <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans

The location should point to the local copy of the DTD.


> -----Original Message-----
> From: Mark Jaffe []
> Sent: Thursday, 26 July 2001 3:04 AM
> To:
> Subject: EJBJAR task issues
> Hi, I tried to find the answer in the archives, but no luck.
> I am investigating a directory-dependency issue and need to know
> if there is
> a way to resolve this. When building a set of EJBjars, there
> exist multiple
> xml which have reference to a dtd. In this reference, our source has
> hard-coded a path dependency, such as in the included file. Is there some
> way to remove this so we can have multiple builds, or so that
> developers are
> not locked into a source-dependent build environment? I tried
> building with
> the path replaced by an ANT-defined variable but the XML parser croaked on
> that. I also found that there exists at a reference to this file
> (,) but occasionally our
> network fails to locate this during the build and the build will fail.
> ----------------
> Mark Jaffe
> Release Engineer
> Eturn Communications Inc.,
> 408-331-0863

View raw message