ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <tmas...@iknowledgeinc.com>
Subject Re: Can ejbjar deal with multiple entity ejb's in a jar?
Date Fri, 07 Sep 2001 00:08:18 GMT
yeah

use the ejbjar task, and specify eveythign in your xml descriptor.

mine:
        <ejbjar descriptordir="${src.dir}/${project.path.ejb}"
                srcdir="${build.dir}"
                basejarname="myjar">
            <weblogic destdir="${domain.applications.dir}"
                      keepgeneric="false"
                      rebuild="false"
                      newCMP="false">
                <classpath refid="project.class.path"/>
                <wlclasspath refid="ejb.descriptor.build.classpath"/>
            </weblogic>
            <include name="ejb-jar.xml"/>
            <exclude name="weblogic-ejb-jar.xml"/>
            <support dir="${build.dir}">
                <include name="${project.path}/**/*.class"/>
            </support>
        </ejbjar>


----- Original Message -----
From: "Kurt Olsen" <kolsen@get2hawaii.com>
To: <ant-user@jakarta.apache.org>
Sent: Thursday, September 06, 2001 6:02 PM
Subject: Can ejbjar deal with multiple entity ejb's in a jar?


> Hi,
> Can the ejbjar task be used to create a single jar file containing
multiple
> entities.
> For example, given the directory structure below, can ejbjar create
> Account.jar containing both the Account and Person entities?
> (I didn't endorse, nor create this, but I do have to deal with it!)
>
> Account
>   ejb-jar.xml
>   weblogic-ejb-jar.xml
>   weblogic-cmp-rdbms-Account
>   weblogic-cmp-rdbms-Person
>   com
>       company
>           account
>               Account.java
>               AccountEJB.java
>               AccountHome.java
>               Person.java
>               PersonEJB.java
>               PersonHome.java
>
>
>


Mime
View raw message