ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject delete carriage returns in param
Date Thu, 10 Aug 2006 11:37:23 GMT
there are tasks or elements of tasks which delete carriage returns in param with

It's a sshexec - return which i have to prove with a if-loop.

Becauce of the carriage return is the if-loop always false!!

Thats the code:
<target name="chmodcheck" description="Checkt ob Zugriffsrechte richtig gesetzt
	    	<sshexec host="" username="user" password="pwd" trust="true"
command="ls -la /xxx/xxx/temp/heischb/sedtest/test" outputproperty="temp"/>
			<equals arg1="${temp}" arg2="-rw-r--r--   1 xxx  xxx       786 Aug  9 09:35
/xxx/xxx/temp/heischb/sedtest/test" />
				<echo>Korrekt gesetzt</echo>
			<echo> NICHT KORREKT!!!!! </echo></else>


Regards Beni

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message