Cheers will fix it asap Med venlig hilsen Claus Ibsen ...................................... Silverbullet Skovsgårdsvænget 21 8362 Hørning Tlf. +45 2962 7576 Web: www.silverbullet.dk
-----Original Message----- From: William Tam [mailto:[EMAIL PROTECTED] Sent: 16. juli 2008 17:20 To: camel-dev Subject: build error I am getting a build error in camel-ftp. [INFO] Compilation failure C:\repos\apache\camel\trunk\components\camel-ftp\src\main\java\org\apache\camel\ component\file\remote\SftpConsumer.java:[130,26] unreported exception com.jcraft .jsch.SftpException; must be caught or declared to be thrown Here is a quick patch. Index: C:/repos/apache/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConsumer.java =================================================================== --- C:/repos/apache/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConsumer.java (revision 677296) +++ C:/repos/apache/camel/trunk/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpConsumer.java (working copy) @@ -126,7 +126,7 @@ } } - protected String getFullFileName(ChannelSftp.LsEntry sftpFile) throws IOException { + protected String getFullFileName(ChannelSftp.LsEntry sftpFile) throws IOException, SftpException { return channel.pwd() + "/" + sftpFile.getFilename(); }
