ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: SSH, Publish, Mode, and the bleeding edge..
Date Wed, 21 May 2008 20:22:35 GMT
My fault, I have put a new version of Scp.java in SVN. Could you try again?

Maarten


----- Original Message ----
From: "astrien@facets-tech.net" <astrien@facets-tech.net>
To: ivy-user@ant.apache.org
Sent: Wednesday, May 21, 2008 4:50:35 PM
Subject: SSH, Publish, Mode, and the bleeding edge..

To fix some of the problems in IVY with resolution of transitive  
dependencies, we built the Ivy library from the current trunk  
(r658272) and installed it into our build system.  The good new is  
this fixed A LOT of problems with resolving dependencies.  The bad  
news is this broke publish when using the ssh tag in ivysettings.

I've found that the problem comes from a line in SshRepository.put(),  
line 264.  When a new Scp instance is created and put is called on it,  
there's a mode argument that is being filled by  
SshRepository.publishPermissions, which is null.  The funny  thing is  
that there is no way to set mode to anything else, and the mode  
argument is checked for null.

Long story short, there's no way to set mode, mode is harcoded to  
null, and a null argument for mode throws an IllegalArgumentException.  
  Ergo, publishing with ssh is now impossible. Can anyone speak to why  
this is? - or am I crazy in trying to run from trunk?


      

Mime
View raw message