Hi,
for our websphere 6 project we wrote a maven plugin that performs the
following steps:
a) creates a jacl scripts from a template[1]
b) copies jacl script + ear file to a temporary folder on the websphere
server
c) executes the following command on the server: "./wsadmin.sh -f
was.deploy.jacl"
For this to work you need ssh access to the server. This works quite
well. But I still hope that at one point the cargo-maven2-plugin will
officialy support websphere.
michael
[1] was.deploy.jacl template:
proc deploy { } {
#-----------------------------------------------------------------------------
# Globals
#-----------------------------------------------------------------------------
global AdminConfig
global AdminControl
global AdminApp
#-----------------------------------------------------------------------------
# Deploy ear
#-----------------------------------------------------------------------------
$AdminApp install $binaryPath {-cell $cellName -node $nodeName
-server $serverName -update -appname "$appName" }
$AdminConfig save
}
#-------------------------------------------------------------------------------
# Main
#-------------------------------------------------------------------------------
deploy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]