Hello Geoffrey, I can not thank you enough, You and your 4 line of code saved my back and eased my tormented brain. I ran it last night and it look like it's working.
Thank you so much. 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: Geoffrey Mitchell [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 5:02 PM To: Ant Users List Subject: Re: Building ejb.jar file for webspher I played with the ejbjar task a long time ago and could never get it to do what I wanted it to. I just use the "jar" task as follows: <jar destfile="${base.jar.name}-beans.jar"> <metainf dir="${meta-inf.dir}"/> <fileset dir="${prod.class.dir}"/> </jar> Where ${meta-inf.dir} is where my deployment descriptors, etc. are generated and ${prod.class.dir} is where my class files are. Bozorgdadeh, Afshin wrote: Yes the original question was regarding EJB.jar file. From what I have read so far the only task I saw was "EJBJAR" optional task. And I could not create an EJB.jar file yet. I was looking for the example of how to create the EJB.jar file. If you could shear your EJB task I really really appreciated it. Next time in CO I will buy you a Drink ;-) 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 4:31 PM To: Ant Users List Subject: RE: Building ejb.jar file for webspher 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]