Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Ant for WebSphere 5.0

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is somebody here have any Ant script to deploy an application in WebSphere 5.0?
I am accepting any information about this topic.
I�ve AAT to generate the assembly for WAS 5.0 but i would like to use ANT to do the deployment.

Iam thankful Gil
 
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Websphere deployment outside WSAD is one of the 6 basic mysteries of the universe.....

IBM does a lot of stinky things in their custom deployment descriptor files. Things including generated artifact names including magic numbers.

There is an IBM tool which can do this for you as part of a build, but I forget the name. Otherwise the solution is to build and deploy into Websphere using the proper version of WSAD. I suspect that after you do this you can capture the IBM-specific DD's from the generated EAR and put them under source code control. With enough tweaking you ought to be able to do a build and deploy outside WSAD - until you change the system architecture.
 
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As our good friend and Bartender Kyle Brown always points out, "wsadmin is the only way to go" for automated deploys. Write some wsadmin scripts and invoke it with the Ant exec task. That way you can do the deploy with or without invoking Ant.
 
Don Stadler
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by David Hibbs:
As our good friend and Bartender Kyle Brown always points out, "wsadmin is the only way to go" for automated deploys. Write some wsadmin scripts and invoke it with the Ant exec task. That way you can do the deploy with or without invoking Ant.



Aye, thats it! Thanks.
 
Don Stadler
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by David Hibbs:
As our good friend and Bartender Kyle Brown always points out, "wsadmin is the only way to go" for automated deploys. Write some wsadmin scripts and invoke it with the Ant exec task. That way you can do the deploy with or without invoking Ant.



David, do you know which wsadmin demand actually generates the WLS-specific deployment-descriptors? Are there any examples available on the net that you're aware of?
 
Gilsara Abreu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I will try it!
Thank�s
 
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic