Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ANT for building EAR files specific to WAS4.0

 
Steve Granton
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We are using ANT to build out application into an EAR file. As part of this we wish to automatically generate the .xmi files is there a general way create these? Has anyone called the AAT tool from ANT?
Cheers,
Steve
 
Mike Jones
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve,
They cover this pretty well in the WAS 4.0 Application Development Handbook.
http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg246134.html?OpenDocument
Based on what I read, you can't totally automate this. You can call AAT from ANT, but no way to call it without bringing up the tool. So the proposed solution is to have ANT scripts that call up the AAT tool when required (i.e. like the first time or when new deployment code needs to be generated. The point was once you have run thru AAT to generate files, you don't need to do it everytime).
Mike
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually things have changed since this redbook was written -- there's now a tool (I'm looking for the link now) called "preDeploy" that you can call from ANT to do a lot of the things that AAT does.
Kyle
 
Mike Jones
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent. I assume it will work for AEs also.
 
Mike Jones
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www7b.boulder.ibm.com/wsdd/downloads/predeploy.html
I noticed that the tool isn't supported by IBM. Who does?
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That just means that if you have problems with it you can't open a PMR -- it's an "add-on" feature, not a product you pay for (thus we're giving it away for free).
Kyle
 
Steve Granton
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I also found the following article that are quite useful:
http://ejbinfo.com/WebSphere/01/07/16/2341255.shtml
There are also utilties to migrate Weblogic and Sun RI binding files to the Websphere xmi files:
http://ejbinfo.com/WebSphere/01/07/20/1730224.shtml
The most upto date utilities can be found at:
http://ejbinfo.com/WebSphere/01/07/26/0542243.shtml
I've not used these yet! (I'm about to and I'll let you know how I get on)
Cheers,
Steve
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic