ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Matthew Pryor" <...@verveinc.com>
Subject RE: Building EJBs on WLS 5.1
Date Thu, 07 Dec 2000 05:50:13 GMT
RE: Building EJBs on WLS 5.1You didn't confirm if you *are* using the ejbjar
task (which is for WLS 5.1) and not the ejbc task (which is only for WLS
4.5.1)

Are you using the ejbjar or ejbc rule ?

This is what my ejbjar rule looks like

 <target name="ejbs">
  <ejbjar srcdir="${build.classes}" descriptordir="${ejb.dd.dir}">
   <weblogic destdir="${weblogic.dir}/${weblogic.server.dir}"
classpath="${build.classes};${weblogic.dir}/lib/weblogicaux.jar;${weblogic.d
ir}/classes"/>
   <include name="**/*ejb-jar.xml"/>
   <exclude name="**/*weblogic*.xml"/>
  </ejbjar>
 </target>

My XML files are called acme-ejb-jar.xml & acme-weblogic-ejb-jar.xml

Matthew
  -----Original Message-----
  From: Abhishek Srivastava [mailto:abhisheks@india.hp.com]
  Sent: Wednesday, December 06, 2000 9:40 PM
  To: ant-user@jakarta.apache.org
  Subject: RE: Building EJBs on WLS 5.1


  Hi,

  I read the EJB Task manual at the Ant web site. The problem I am facing is
that the
  ejbc task defined in Ant has attributes for location of deployment xml
files, impl files etc.

  However, The ejbc compiler just expects a standard jar file which contains
all the deployment descriptors and the impl classes.

  It will be great if someone can mail me his/her build.xml file for an EJB.

  regards,
  Abhishek.


      *****     *****     Abhishek Srivastava
      ***  /_  __ ***     Hewlett-Packard - India Software Organization
      **  / / /_/  **     19 Cunningham Road. Bangalore -560052.
      ***    /    ***     phone +91 80 2251554 Extn:1532
      *****     *****     mailto:abhishek@india.hp.com
        i n v e n t

           If the only tool you have is a hammer,
           you tend to see every problem as a nail -- Abraham Maslow.

    -----Original Message-----
    From: ant-user-return-3027-abhisheks=india.hp.com@jakarta.apache.org
[mailto:ant-user-return-3027-abhisheks=india.hp.com@jakarta.apache.org]On
Behalf Of Hilton, Chris
    Sent: Thursday, December 07, 2000 12:25 AM
    To: 'ant-user@jakarta.apache.org'
    Subject: RE: Building EJBs on WLS 5.1


    I am also using ant with WL 5.1.  Sorry I didn't catch your message the
first time, but I just saw that you say that you are using the ejbc task.
Looking at http://jakarta.apache.org/ant/jakarta-ant/docs/ejb.html, near the
top, I think you'll see that you need to use the ejbjar task for WL 5.1 (at
least, that's what I'm using successfully).

    Hope that helps.

    Chris Hilton

    > -----Original Message-----
    > From: Abhishek Srivastava [mailto:abhisheks@india.hp.com]
    > Sent: Wednesday, December 06, 2000 4:28 AM
    > To: ant-user@jakarta.apache.org
    > Subject: Building EJBs on WLS 5.1
    >
    >
    > Hi,
    >
    > I am trying to build a bean managed entity bean sample application
which
    > comes along with Web logic server 5.1
    > I also read the latest manual of Ant which tells about build EJBs for
WLS
    > using the ejbc task.
    >
    > Has anyone had any success with building EJBs using web logic 5.1
    > or higher
    > with Ant ?
    >
    > regards,
    > Abhishek.
    >
    >
    >
    >     *****     *****     Abhishek Srivastava
    >     ***  /_  __ ***     Hewlett-Packard - India Software Organization
    >     **  / / /_/  **     19 Cunningham Road. Bangalore -560052.
    >     ***    /    ***     phone +91 80 2251554 Extn:1532
    >     *****     *****     mailto:abhishek@india.hp.com
    >       i n v e n t
    >
    >          If the only tool you have is a hammer,
    >          you tend to see every problem as a nail -- Abraham Maslow.
    >
    >
    >


Mime
View raw message