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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
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: [email protected]
For additional commands, e-mail: [email protected]