ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Salter <marksal...@talktalk.net>
Subject Re: how to call the .py from wsadmin using ant
Date Wed, 10 Dec 2008 15:23:59 GMT
Beela Avinash wrote:
> <?xml version="1.0"?>
.
.
> 			 <exec executable="${path}\wsadmin.bat" /> 
>  
> 			 <arg value="/c -lang jython -f installear.py"/> 
> 			
> 			  <exec dir = "${path}" executable = "cmd">
>      		  <arg value="/c wsadmin.bat"/>
> 			  <!--<arg value="/c -lang jython -f 'C:\Program
> Files\IBM\WebSphere\AppServer_Base\bin\installear.py' "/>-->  
> 			  </exec>

You have an arg element outside of any task as you have closed the exec
element unintentionally early?

It looks like you have tried a number of combinations and have managed
to confuse yourself.

I can't know that you invocation of wsadmin.bat will work with the arg
included within the exec element, but we shall see.

-- 
Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message