ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Limor <li...@evolven.com>
Subject Re: Psexec and ant
Date Wed, 09 Jun 2010 15:04:26 GMT



Michael Ludwig-6 wrote:
> 
> [Psexec and ant]
> Limor schrieb am 09.06.2010 um 02:07 (-0700):
>> 
>> Hello
>> I'm trying to use Psexec by using ant with no success... 
>> 
>> ant task:
>> <target name="myName" dir="." output="myOutput">  
>>     <exec executable="psexec.exe" dir="${build.files}" >
>>             <arg value="\\172.16.191.2"/>
>>             <arg value="-u" />
>>             <arg value="myUser" />
>>             <arg value="-p" />
>>             <arg value="myPass" />
>>             <arg value="-c" />            
>>             <arg value="runme2.bat" />    
>>             <arg value="myValue" />      
>>     </exec>  
>> </target>
>> 
>> output is:
> 
> The output I snipped doesn't look like Ant output. Did you run Ant at
> all? If so, you should have seen syntax errors for including "dir" and
> "output" attributes in your <target>, which don't belong there.
> 
> See Ant manual: "Concepts and Types" > "Targets and Extension-Points"
> 
> -- 
> Michael Ludwig
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
Hi
and thanks for the quick response
This is not an ant error this is win or psexec error,however I get this erro
only wen I'am tring to run the batch form ant
Thanks 
Limor
-- 
View this message in context: http://old.nabble.com/Psexec-and-ant-tp28827734p28831643.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message