ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tenchi-kun (Elliott)" <>
Subject [ejbjar] Could not resolve ... ejb-jar_1_1.dtd to a local entity?
Date Wed, 27 Feb 2002 22:52:33 GMT

I'm an Ant newbie using 1.4.1.  I was trying to compile an EJB for our
WebLogic 5.1 server---which compiles fine normally, btw.  The error tham I'm
seeing is:

    [ejbjar] Could not resolve ( publicId: -//Sun Microsystems, Inc.//DTD
    Enterprise JavaBeans 1.1//EN, systemId:
    /ejb-jar_1_1.dtd) to a local entity

The relevant build.xml target contains:

      <include name="**/*.xml" />
      <include name="**/*.class" />
	  <pathelement path="${java.class.path}" />
	  <pathelement path="${dirCompileTempBase}" />
	  <pathelement path="${dirClassesDist}" />
	  <pathelement path="${weblogicClasses}" />

The properties of interest are:

    dirCompileTempBase: I've javac'd our sources into this dir.
    dirJarsDist:        Where the EJB JARs should end up.
    weblogicClasses:    Just the WLS class dirs.
    dirEjbXml:          Just the META-INF dir holding the deployment XMLs.

In the ejb-jar.xml file for this bean I have:

    <?xml version="1.0"?>

    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
    JavaBeans 1.1//EN' ''>

            ... yada yada ...

I looked up several examples on the Web and I thought I had it right.  Can
someone point out what I'm doing wrong...?

- e?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message