I do this all the time.  The ejb task is

    <target name="buildEar" description="Build the ear"
depends="buildWar" >
      <delete dir="${dist.dir}/ear" />
      <mkdir dir="${dist.dir}/ear"/>
      <mkdir dir="${dist.dir}/ear/META-INF"/>
      <copy todir="${dist.dir}/ear" file="${dist.dir}/webframework.war"
/>
      <copy tofile="${dist.dir}/application.xml"
file="applicationTemplate.xml" />
      <replace file="${dist.dir}/application.xml" token="@@@" value="sd"
/>  
      <ear destfile="${dist.dir}/sd-EAR.ear"
appxml="${dist.dir}/application.xml" basedir="${dist.dir}/ear">
      </ear>
      <delete dir="${dist.dir}/ear" />
      <delete file="${dist.dir}/application.xml" />
    </target>

Chris Erskine
 
EDS Consulting Services
Colorado Springs, CO 
 
Phone: 719-265-5962
Cell: 719-640-6488

-----Original Message-----
From: Bozorgdadeh, Afshin [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 1:43 PM
To: Ant Users List
Subject: Building ejb.jar file for webspher

Has any one where able to create an ejb.jar file for Websphere ??? I am
having state of torment and destruction "hell time" creating EJB file.
Trying to use ejbjar task and having no success. I greatly appreciate if
you could shear a sample of your code. Or just let me know if I am
hopeless and I should give up and run this process manually.

Best Regards
Afshin Bozorgzadeh


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to