ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <k...@nethead.net>
Subject need ejb-jar to include remote interfaces
Date Mon, 12 Nov 2001 23:34:10 GMT
The ejb-jar task doesn't seem to include remote interfaces. Is there a
way we can get this task to include them?

Here is a snippet of our ejb-jar.xml:

    <entity>
      <description>no description</description>
      <display-name>ActivityEJB</display-name>
      <ejb-name>ActivityEJB</ejb-name>
      <home>com.systemstanley.fitness.ejb.ActivityEntityHome</home>
      <remote>com.systemstanley.fitness.ejb.ActivityEntity</remote>
      <ejb-class>com.systemstanley.fitness.ejb.ActivityEJB</ejb-class>
      <persistence-type>Bean</persistence-type>
      <prim-key-class>java.lang.Integer</prim-key-class>
      <reentrant>False</reentrant>
         <ejb-ref>
            <ejb-ref-name>ejb/ImageEJB</ejb-ref-name>
            <ejb-ref-type>Entity</ejb-ref-type>
            <home>com.systemstanley.documents.ejb.ImageEntityHome</home>
            <remote>com.systemstanley.documents.ejb.ImageEntity</remote>
         </ejb-ref>
      <resource-ref>
    <res-ref-name>jdbc/StanleyJNDI</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
      </resource-ref>
    </entity>

and this is our ant target:

    <target name="ejb-jar" depends="compile, jar-remote">
        <ejbjar srcdir="${build.dev}"
                descriptordir="${descriptor}"
                destdir="${dist.ejb}" 
                genericjarsuffix = ".jar">
                <classpath refid="classpath.main" />
            <weblogic destdir="${dist.ejb}" noEJBC="true" />
            <include name="**/*ejb-jar.xml" />
            <exclude name="**/*weblogic-ejb-jar.xml"/>
            <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN"
                 location="${etc}/dtd/ejb-jar_2_0.dtd" />
            <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 6.0.0
EJB//EN"
                 location="${etc}/dtd/weblogic600-ejb-jar.dtd" />
        </ejbjar>
    </target>


Ant 1.4
Weblogic 6.0SP2

Any help would be greatly appreciated.

Kind regards,

--Kim


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message