I am not creating a jar file.  I start by building an war file.  Then in
this task, I copy the war file to the ear layout and the application.xml
file that has the root context in it.  The ear is created with the ear
command which produces the ear file that can be installed into WAS.

What jar file are you looking for?  For an EJB?  For that, I would have
another task which would produce that file and then copy it like I am
copying the WAR file.

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 2:22 PM
To: Ant Users List
Subject: RE: Building ejb.jar file for webspher

Thank you Chris for your replay.

I am trying to understand this. Do you actually write your own task?
Which line are you creating the jar file?

Best Regards
Afshin Bozorgzadeh
>Fidelity Investments Brokerage Company 
>FBCT ClearCase Release Engineer
[EMAIL PROTECTED]
Phone           603-791-5596
BlackBerry  603-365-0205

-----Original Message-----
From: Erskine, Chris [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 3:47 PM
To: Ant Users List
Subject: RE: Building ejb.jar file for webspher

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]

---------------------------------------------------------------------
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