ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Monsees" <l.mons...@atlantisgmbh.de>
Subject scp task error: String index out of range
Date Wed, 15 Nov 2006 15:17:46 GMT
Hello,

I get this error when I start the task below:

BUILD FAILED
C:\Projects\Java\HelpStudioANT\build.xml:100: java.lang.StringIndexOutOfBoundsException: String
index out of range: -1


	<target name="upload" description="Uploads the necessary files">
		<input addproperty="passphrase"/>

		<!-- copy manual html page to webserver directory -->
		<scp file="${help.file}" todir="${scp.todir}" remoteTofile="${scp.tofile}" keyfile="${keyfile}"
passphrase="${passphrase}"/>
	</target>


I doesn´t matter if I specify keyfile/passphrase or not. I tried it with jsch-0.1.14.jar
and jsch-0.1.30.jar.


What am I doing wrong here?


Lars

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


Mime
View raw message