Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 79282 invoked from network); 23 Nov 2009 09:26:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Nov 2009 09:26:47 -0000 Received: (qmail 43082 invoked by uid 500); 23 Nov 2009 09:26:47 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 42998 invoked by uid 500); 23 Nov 2009 09:26:46 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 42988 invoked by uid 99); 23 Nov 2009 09:26:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 09:26:46 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [93.91.26.50] (HELO zeta.ingenta.com) (93.91.26.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 09:26:43 +0000 Received: from [192.168.39.49] (helo=hume.ingenta.com) by zeta.ingenta.com with esmtp (Exim 4.43) id 1NCVBd-0000MK-Mm for ivy-user@ant.apache.org; Mon, 23 Nov 2009 09:26:22 +0000 Received: from dhcp-72-13.ingenta.com ([192.168.13.72] helo=khoxfdt) by hume.ingenta.com with esmtp (Exim 4.43) id 1NCVBd-0004PP-ET for ivy-user@ant.apache.org; Mon, 23 Nov 2009 09:26:21 +0000 From: "Keith Hatton" To: References: <5B0C82FA80D34FA3B6473E7EBEFBF315@ingenta.VISTACOMP.COM> <3D8DC504-B0AD-4F05-AD91-433F927C1057@hibnet.org> <259860.59863.qm@web30807.mail.mud.yahoo.com> Subject: RE: IvyDE, SSH repositories, and Eclipse update Date: Mon, 23 Nov 2009 09:26:18 -0000 Message-ID: <9AF4A9980E64497AB1AE6FCBEAA23BA6@ingenta.VISTACOMP.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <259860.59863.qm@web30807.mail.mud.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcprxMxeDF9BBfulTm6w3C6d2k2ImAAWesrQ X-SA-Exim-Connect-IP: 192.168.39.49 Thanks Nicolas and Maarten for your comments. In fact I have found that IvYDE is working fine in my Eclipse 3.5 = install - as I would expect, it is prompting me for the SSH password to the = repository when required (it isn't in my ivysettings.xml). So I guess that there = may be something broken in my older Eclipse 3.2.2 install. One more reason to upgrade :) Keith -----Original Message----- From: Maarten Coene [mailto:maarten_coene@yahoo.com]=20 Sent: 22 November 2009 22:40 To: ivy-user@ant.apache.org Subject: Re: IvyDE, SSH repositories, and Eclipse update I just tried and Ivy works fine with jcraft 0.1.42. So my guess is that Eclipse provides a version of jcraft older than = 0.1.31, which is the minimum version required for Ivy... Maarten ----- Original Message ---- From: Nicolas Lalev=E9e To: ivy-user@ant.apache.org Sent: Sat, November 21, 2009 8:27:34 PM Subject: Re: IvyDE, SSH repositories, and Eclipse update Le 20 nov. 2009 =E0 13:10, Keith Hatton a =E9crit : > Hi all, >=20 > I'm using IvyDE-2.0.0-final and JCraft 0.1.42 in Eclipse 3.2.2. When=20 > my project uses a component stored in a repository based on SSH, I get = > an Eclipse error message 'The resolve job of ivy.xml in [project name] = > has unexpectedly stopped'. I didn't find anything that looked related = in JIRA. > Anyone got suggestions on how to get past this? Which version of the=20 > JCraft plug-in is recommended for IvyDE? It seems that the jcraft installed in you Eclipse is not compatible with = the one required by Ivy, and Ivy is still trying to use it. Ivy should be = more conservative about the version of jcraft it is using. Could you open a bug in Ivy please ? Currently Ivy is compiled with jcraft 0.1.31. You can try to put that version in Eclipse. But you will have to remove the 0.1.42, as Ivy = doesn't have any restriction (yet) on the version of jcraft it should use, it = can still pick up the wrong one if both are present. >=20 > This is what's appearing in my Eclipse log. >=20 > !ENTRY org.apache.ivyde.eclipse 4 4 2009-11-20 12:00:10.535 !MESSAGE=20 > The resolve job of ivy.xml in '[project name]' has unexpectedly=20 > stopped !STACK 0 > java.lang.NoSuchMethodError:=20 > com.jcraft.jsch.Session.setDaemonThread(Z)V > at > org.apache.ivy.plugins.repository.ssh.SshCache.getSession(SshCache.jav > a:330) > at > org.apache.ivy.plugins.repository.ssh.AbstractSshBasedRepository.getSe > ssion( > AbstractSshBasedRepository.java:108) > at > org.apache.ivy.plugins.repository.ssh.SshRepository.resolveResource(Ss > hRepos > itory.java:82) > at > org.apache.ivy.plugins.repository.ssh.SshResource.resolve(SshResource. > java:1 > 01) > at > org.apache.ivy.plugins.repository.ssh.SshResource.exists(SshResource.j > ava:70 > ) > at > org.apache.ivy.plugins.resolver.RepositoryResolver.findResourceUsingPa > ttern( > RepositoryResolver.java:90) > at > org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver.findReso > urceUs > ingPatterns(AbstractPatternsBasedResolver.java:93) > at > org.apache.ivy.plugins.resolver.AbstractPatternsBasedResolver.findIvyF > ileRef > (AbstractPatternsBasedResolver.java:72) > at > org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResol > ver.ja > va:222) > at > org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.findAllArtifactOnRe > fresh( > IvyResolveJob.java:408) > at > org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.access$5(IvyResolve > Job.ja > va:395) > at > org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob$1.run(IvyResolveJob.ja= va: > 265) >=20 >=20 >=20 > Also, if I try to run Eclipse update, it's complaining about the IvyDE site: > Unable to access " > http://ant.apache.org/ivy/ivyde/updatesite". > Error parsing site stream. [White spaces are required between=20 > publicId and systemId.] > Error parsing site stream. [White spaces are required between=20 > publicId and systemId.] This updatesite doesn't exist anymore, you should use the new one: http://www.apache.org/dist/ant/ivyde/updatesite Nicolas =20