Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Web Services and the fly likes Ant was admin task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Ant was admin task" Watch "Ant was admin task" New topic

Ant was admin task

Alex Bierhoff

Joined: Mar 02, 2005
Posts: 2
I am trying to install an application to WAS server through ANT build script.I
kept wsanttask.jar in my ant\lib\. Am running through my local machine which is
on XP and trying to install on WAS server on AIX box. It will be a great help
for me. Thanks. Here is my code in the script : <taskdef name="wsInstallApp"
classname=""/> <wsInstallApp
wasHome="${wasInstallationdir}" ear="${earpath}/ABC.ear"
profile="" conntype="SOAP" host="hostname" port="xxxx"/> while
running the script am gettiing this message : [echo] installing ear on WAS
server [wsInstallApp] Installing Application [D:\backup\PEXT.ear]... Unable to
parse setupCmdLine: \usr\WebSphere\AppServer\bin\setupCmdLine.bat (The system
cannot find the path specified) [wsadmin] The java class is not found:
com/ibm/ws/bootstrap/WSLauncher [wsadmin] Java Result: 1 [wsInstallApp]
Installed Application
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 984

Try posting in "Ant, Maven and Other Build Tools" forum.

Please ignore post, I have no idea what I am talking about.
subject: Ant was admin task
Similar Threads
ant script for remote deploy
how to install application thru ant task?
Ant WAS ADMIN task
Problem in migration from WAS4 to WAS5.1
AppDeploymentException: []