ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erskine, Chris" <chris.ersk...@eds.com>
Subject RE: Building ejb.jar file for webspher
Date Fri, 18 Nov 2005 22:05:31 GMT
Sorry, I misread your question.  I am building the ear file.  I would
guess that with the task stating that it supports WAS 4.0, the the
format is wrong.  I would look at coping the files that you need into
it's own structure and building the xmi file by hand and putting them in
the meta-inf folder.  Then just run the common jar task to produce the
jar file.

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

-----Original Message-----
From: Bozorgdadeh, Afshin [mailto:AFSHIN.BOZORGZADEH@fmr.com] 
Sent: Friday, November 18, 2005 2:43 PM
To: Ant Users List
Subject: RE: Building ejb.jar file for webspher

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
Afshin.Bozorgzadeh@fmr.com
Phone           603-791-5596
BlackBerry  603-365-0205

-----Original Message-----
From: Erskine, Chris [mailto:chris.erskine@eds.com] 
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:AFSHIN.BOZORGZADEH@fmr.com] 
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
Afshin.Bozorgzadeh@fmr.com
Phone           603-791-5596
BlackBerry  603-365-0205

-----Original Message-----
From: Erskine, Chris [mailto:chris.erskine@eds.com] 
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:AFSHIN.BOZORGZADEH@fmr.com] 
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message