<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/1.5.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Eclipse, ANT and sshexec</title>
	<link>http://www.paralipsis.org/2005/11/eclipse-ant-and-sshexec/</link>
	<description>paralipsis: suggesting by deliberately concise treatment that much of significance is omitted</description>
	<pubDate>Thu, 20 Nov 2008 14:04:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.1.3</generator>

	<item>
		<title>by: caskey</title>
		<link>http://www.paralipsis.org/2005/11/eclipse-ant-and-sshexec/#comment-901</link>
		<pubDate>Sun, 30 Jul 2006 10:43:24 +0000</pubDate>
		<guid>http://www.paralipsis.org/2005/11/eclipse-ant-and-sshexec/#comment-901</guid>
					<description>I've seen this error with ant before, it's confusing, but it comes from having a semantically invalid scp target in the build.xml

In my case, I was using *both* the remoteToDir and remoteToFile in an attempt to rename a file at the destination.  Turns out that the remoteToFile can contain the remoteToDir as a prefix.  If you have both present, then what should simply be noticed as an illogical combination of attributes is instead turned into an obscure error.

Double, and triple check that you have a well formed scp task.  However, the &lt;a href=&quot;http://ant.apache.org/manual/OptionalTasks/scp.html&quot; rel=&quot;nofollow&quot;&gt;documentation for scp&lt;/a&gt; does *not* make it clear what valid combinations there are.</description>
		<content:encoded><![CDATA[	<p>I&#8217;ve seen this error with ant before, it&#8217;s confusing, but it comes from having a semantically invalid scp target in the build.xml</p>
	<p>In my case, I was using *both* the remoteToDir and remoteToFile in an attempt to rename a file at the destination.  Turns out that the remoteToFile can contain the remoteToDir as a prefix.  If you have both present, then what should simply be noticed as an illogical combination of attributes is instead turned into an obscure error.</p>
	<p>Double, and triple check that you have a well formed scp task.  However, the <a href="http://ant.apache.org/manual/OptionalTasks/scp.html" rel="nofollow">documentation for scp</a> does *not* make it clear what valid combinations there are.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Alan Westhagen</title>
		<link>http://www.paralipsis.org/2005/11/eclipse-ant-and-sshexec/#comment-892</link>
		<pubDate>Thu, 27 Jul 2006 20:17:23 +0000</pubDate>
		<guid>http://www.paralipsis.org/2005/11/eclipse-ant-and-sshexec/#comment-892</guid>
					<description>I followed the instructions for Eclipse, Ant, and sshexec.

The name of the jar that I found in my Eclipse plugins was identical to the one in your instructions.  I am running Eclipse 3.1 on a RHEL4 Linux box.  I do not use cvs.

When I attempt to run sshexec from an Eclipse project with the following build.xml target:


    


I invariably get this error:

com.jcraft.jsch.JSchException: java.lang.ArrayIndexOutOfBoundsException: 1024

This also occurs if I use an explicit password rather than
a keyfile.

What am I missing?</description>
		<content:encoded><![CDATA[	<p>I followed the instructions for Eclipse, Ant, and sshexec.</p>
	<p>The name of the jar that I found in my Eclipse plugins was identical to the one in your instructions.  I am running Eclipse 3.1 on a RHEL4 Linux box.  I do not use cvs.</p>
	<p>When I attempt to run sshexec from an Eclipse project with the following build.xml target:</p>
	<p>I invariably get this error:</p>
	<p>com.jcraft.jsch.JSchException: java.lang.ArrayIndexOutOfBoundsException: 1024</p>
	<p>This also occurs if I use an explicit password rather than<br />
a keyfile.</p>
	<p>What am I missing?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: pat</title>
		<link>http://www.paralipsis.org/2005/11/eclipse-ant-and-sshexec/#comment-8</link>
		<pubDate>Sun, 18 Dec 2005 19:04:24 +0000</pubDate>
		<guid>http://www.paralipsis.org/2005/11/eclipse-ant-and-sshexec/#comment-8</guid>
					<description>nice one. 

If you keep getting the error about authentication, you have to turn on PasswordAuthentication in the ssh server config file.</description>
		<content:encoded><![CDATA[	<p>nice one. </p>
	<p>If you keep getting the error about authentication, you have to turn on PasswordAuthentication in the ssh server config file.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
