keedio / flume-ftp-source

FTP network server is source of events for Apache-flume
80 stars 61 forks source link

Compilation errors #18

Closed chandsks closed 8 years ago

chandsks commented 8 years ago

HI

I am trying to use flume flume first time. I need to connect to ftp server to transfer files using port 22. I would like to take advantage of your plug in. it is thoroughgoing errors while i am trying to build my it. it is complaining about missing files. Could you please support me?

C:\github\flume-ftp-source-master\flume-ftp-source-master\src\main\java\org\keedio\flume\source\ftp\client\sources\FTPSource.java Error:(26, 44) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(35, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(101, 44) java: diamond operator is not supported in -source 1.3 (use -source 7 or higher to enable diamond operator) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\ftp\EmbeddedFtpSourceTest.java Error:(27, 2) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(59, 29) java: multi-catch statement is not supported in -source 1.3 (use -source 7 or higher to enable multi-catch statement) Error:(122, 32) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(204, 43) java: diamond operator is not supported in -source 1.3 (use -source 7 or higher to enable diamond operator) Error:(255, 31) java: enhanced for loops are not supported in -source 1.3 (use -source 5 or higher to enable for-each loops) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\client\KeedioSourceTest.java Error:(48, 12) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(48, 45) java: diamond operator is not supported in -source 1.3 (use -source 7 or higher to enable diamond operator) Error:(66, 41) java: multi-catch statement is not supported in -source 1.3 (use -source 7 or higher to enable multi-catch statement) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\main\java\org\keedio\flume\source\ftp\metrics\SourceCounter.java Error:(54, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\TestFileUtilsTest.java Error:(20, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(65, 17) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(99, 25) java: enhanced for loops are not supported in -source 1.3 (use -source 5 or higher to enable for-each loops) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\main\java\org\keedio\flume\source\ftp\source\Source.java Error:(68, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(163, 12) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(174, 28) java: enhanced for loops are not supported in -source 1.3 (use -source 5 or higher to enable for-each loops) Error:(279, 21) java: try-with-resources is not supported in -source 1.3 (use -source 7 or higher to enable try-with-resources) Error:(324, 51) java: diamond operator is not supported in -source 1.3 (use -source 7 or higher to enable diamond operator) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\ftp\ExternalFtpSourceTests.java Error:(17, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\ftps\server\EmbeddedFTPSserver.java Error:(65, 30) java: multi-catch statement is not supported in -source 1.3 (use -source 7 or higher to enable multi-catch statement) Error:(70, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\TestFileUtils.java Error:(63, 23) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(68, 53) java: diamond operator is not supported in -source 1.3 (use -source 7 or higher to enable diamond operator) Error:(132, 22) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\main\java\org\keedio\flume\source\ftp\client\KeedioSource.java Error:(38, 35) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(42, 54) java: diamond operator is not supported in -source 1.3 (use -source 7 or higher to enable diamond operator) Error:(221, 17) java: try-with-resources is not supported in -source 1.3 (use -source 7 or higher to enable try-with-resources) Error:(272, 30) java: multi-catch statement is not supported in -source 1.3 (use -source 7 or higher to enable multi-catch statement) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\ftp\server\EmbeddedFTPServer.java Error:(52, 29) java: multi-catch statement is not supported in -source 1.3 (use -source 7 or higher to enable multi-catch statement) Error:(57, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\ssh\AbstractSshSourceTest.java Error:(12, 8) java: static import declarations are not supported in -source 1.3 (use -source 5 or higher to enable static import declarations) Error:(31, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(107, 29) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(108, 21) java: enhanced for loops are not supported in -source 1.3 (use -source 5 or higher to enable for-each loops) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\main\java\org\keedio\flume\source\ftp\client\sources\SFTPSource.java Error:(25, 45) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(54, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(182, 56) java: diamond operator is not supported in -source 1.3 (use -source 7 or higher to enable diamond operator) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\sshd\server\EmbeddedSSHDServer.java Error:(56, 48) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(72, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\main\java\org\keedio\flume\source\ftp\client\sources\FTPSSource.java Error:(28, 45) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(53, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(118, 44) java: diamond operator is not supported in -source 1.3 (use -source 7 or higher to enable diamond operator) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\ftp\AbstractFtpSourceTest.java Error:(11, 8) java: static import declarations are not supported in -source 1.3 (use -source 5 or higher to enable static import declarations) Error:(26, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(101, 29) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(102, 21) java: enhanced for loops are not supported in -source 1.3 (use -source 5 or higher to enable for-each loops) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\ftps\AbstractFtpsSourceTest.java Error:(11, 8) java: static import declarations are not supported in -source 1.3 (use -source 5 or higher to enable static import declarations) Error:(27, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(109, 29) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(110, 21) java: enhanced for loops are not supported in -source 1.3 (use -source 5 or higher to enable for-each loops) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\ftps\EmbeddedFtpsSourceTest.java Error:(31, 2) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(63, 29) java: multi-catch statement is not supported in -source 1.3 (use -source 7 or higher to enable multi-catch statement) Error:(126, 32) java: generics are not supported in -source 1.3 (use -source 5 or higher to enable generics) Error:(207, 43) java: diamond operator is not supported in -source 1.3 (use -source 7 or higher to enable diamond operator) Error:(258, 31) java: enhanced for loops are not supported in -source 1.3 (use -source 5 or higher to enable for-each loops) C:\github\flume-ftp-source-master\flume-ftp-source-master\src\test\java\org\keedio\flume\source\ftp\source\SourceTest.java Error:(20, 8) java: static import declarations are not supported in -source 1.3 (use -source 5 or higher to enable static import declarations) Error:(40, 6) java: annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) Error:(252, 21) java: try-with-resources is not supported in -source 1.3 (use -source 7 or higher to enable try-with-resources)