ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SPRUZEN, Simon, FM" <Simon.Spru...@rbos.com>
Subject ejbjar task and weblogic 6.0
Date Fri, 04 May 2001 16:32:59 GMT
I'm having problems integrating ant with Weblogic6.0 - ejbjar fails with an
exception against WL6.0 - ant is unable to locate the Weblogic DTD. 

ant -version
gives:

Ant version 1.3 compiled on March 2 2001


Here's the exception:

deploy:
     [echo] Deploying from C:\WINNT\Profiles\... to
c:/bea/wlserver6.0/config/.../applications
   [ejbjar] 1 deployment descriptors located.

BUILD FAILED

C:\WINNT\Profiles\...\build.xml:86: SAXException while parsing
'weblogic-ejb-jar.xml'. This probably indicates badly-formed XML.  Details:
External entity not found:
"http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd".
--- Nested Exception ---
org.xml.sax.SAXParseException: External entity not found:
"http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd".
 at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
     ...snip... 
  at
org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.processDesc
riptor(GenericDeploymentTool.java:287)
     ...snip...

Here's a fragment of my build.xml:

	<target name="deploy" depends="compile">
        <echo message="Deploying from ${stage} to
${appServerDeploymentHome}"/>
        <ejbjar descriptordir="${basedir}"
                srcdir="${stage}"
                basejarname="${jarBaseFileName}">
            <include name="**/*-ejb-jar.xml"/>
            <exclude name="**/*-weblogic-ejb-jar.xml"/>
            <support dir="${stage}">
                <include name="**/*.class"/>
            </support>
            <weblogic destdir="${appServerDeploymentHome}">
            </weblogic>
        </ejbjar>
    </target>

Any help greatly appeciated.

Thanks very much,

simon.


********************************************************************
      Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
********************************************************************

Mime
View raw message