[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-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org