ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <mil...@gmx.de>
Subject Re: Psexec and ant
Date Wed, 09 Jun 2010 11:13:13 GMT
[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


Mime
View raw message