Jeff,

You can use the Ant <exec> task. Try something like:

  <ant:exec dir="/my/dir"
            executable="/my/shell/script"
            output="${maven.build.dir}/script.out"
            failonerror="yes">
    <ant:arg line="-c someArg"/>
  </ant:exec>

Using the appropriate paths and programe name/args.

There is also a Websphere plugin that may do most of what you want,
but I've never used it.

  Jeff
  
On Thu, 12 Aug 2004, at 03:42:46 [GMT -0700 (PDT)] jeff mutonho wrote:

> I've got a shell script that I use to do deployments of my EAR on a
> linux box running IBM Websphere app server. (Ok some backgroung
> info...Basically what the shell script does is create a directory
> structure , checks for datasources ,calls another program called
> wscp (the websphere command program) which eventually does
> deplyoment of the EAR on a server instance.)
 
> I wish to use Maven to call that unix script and invoke it.Any
> example on how I call call a script from Maven?
 
> jeff mutonho

-- 
mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to