Giter Club home page Giter Club logo

itspage / cyberduck Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iterate-ch/cyberduck

0.0 1.0 0.0 568.85 MB

Cyberduck is a libre FTP, SFTP, WebDAV, Amazon S3, Backblaze B2, Microsoft Azure & OneDrive and OpenStack Swift file transfer client for Mac and Windows.

Home Page: https://cyberduck.io/

License: GNU General Public License v3.0

Java 71.98% C# 9.46% Objective-C 0.63% C 0.07% Shell 0.08% Ruby 0.01% JavaScript 0.01% Makefile 0.01% PowerShell 0.01% Python 0.01% HTML 0.07% Roff 16.48% C++ 0.02% Rich Text Format 1.16%

cyberduck's Introduction

Cyberduck

GitHub commit GitHub license Build Status Codacy Badge Twitter

Libre file transfer client for macOS and Windows. Command line interface (CLI) for Linux, macOS and Windows.

Prerequisites

  • Oracle Java 1.8.0 SDK or later
  • Apache Ant 1.10.1 or later
  • Apache Maven 3.5 or later

macOS

Windows

Chocolatey

choco install adoptopenjdk8 maven bonjour -y
choco install visualstudio2019buildtools -y
choco install wixtoolset -y
choco install visualstudio2019-workload-manageddesktopbuildtools --params "--add Microsoft.Net.Component.4.7.TargetingPack" -y
choco install visualstudio2019-workload-netcorebuildtools -y
choco install visualstudio2019-workload-vctools --params "--add Microsoft.VisualStudio.Component.Windows10SDK.17763 --add Microsoft.VisualStudio.Component.VC.v141.x86.x64" -y

Restart your machine after installing these components.

Additional %PATH%:

  • %ProgramFiles(x86)%\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin
  • %ProgramFiles(x86)%\Windows Kits\10\bin\10.0.17763.0\x64

Building

Run mvn verify -DskipTests -DskipSign to build without running any tests and skip codesign.

Windows

You will run into warnings from MSBuild/WiX that are unrelated to how Cyberduck is built. You may safely ignore them.

Debugging

macOS

Edit setup/app/Info.plist if you want to debug Cyberduck.app or setup/pkg/Info.plist if you want to debugduck respectively. Add -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 to allow to connect to the running application in your IDE by attaching to the remote JVM.

Windows

Due to Visual Studio not being able to handle Java projects it is required to follow these steps for debugging:

  • Run mvn verify -Dconfiguration=debug which ensures that debugging symbols are generated This prevents Visual Studio (or `MSBuild invoked from Maven) from generating optimized assemblies which in turn may prevent debugging.

  • Open the solution in Visual Studio

  • Open a .java file and set a break point. Visual Studio breaks either on or near the line selected.

  • Debugging capabilities include

    • Step Over
    • Step Into
    • Step Out
    • Continue
    • Local/Auto variables
    • Immediate Window

    Go To Symbol is not working due to missing Java support.

Running Tests

After packaging, run mvn test -DskipITs to run unit tests but skip integration tests.

Maven Artifacts (GPL)

Repository Configuration

Maven artifacts are available in a repository hosted on Amazon S3.

  • Use the following Maven configuration in your project POM to reference artifacts from Cyberduck

       <repositories>
           <repository>
               <id>maven.cyberduck.io-release</id>
               <url>http://repo.maven.cyberduck.io.s3.amazonaws.com/releases/</url>
               <layout>default</layout>
               <releases>
                   <enabled>true</enabled>
               </releases>
               <snapshots>
                   <enabled>false</enabled>
               </snapshots>
           </repository>
       </repositories>
    
  • You will need to add the AWS Maven Wagon to your build using

       <build>
           <extensions>
               <extension>
                   <groupId>org.springframework.build</groupId>
                   <artifactId>aws-maven</artifactId>
                   <version>5.0.0.RELEASE</version>
               </extension>
           </extensions>
       </build>
    

Artifacts

  • Protocol implementations

      <dependency>
          <groupId>ch.cyberduck</groupId>
          <artifactId>protocols</artifactId>
          <type>pom</type>
          <version>7.1.0</version>
      </dependency>
    
  • Cocoa Java Bindings (macOS)

      <dependency>
          <groupId>ch.cyberduck</groupId>
          <artifactId>binding</artifactId>
          <version>7.1.0</version>
      </dependency>
    
  • Implementations (macOS) using Launch Services, SystemConfiguration, Foundation, Keychain and other API

      <dependency>
          <groupId>ch.cyberduck</groupId>
          <artifactId>libcore</artifactId>
          <version>${project.version}</version>
      </dependency>
    

cyberduck's People

Contributors

dkocher avatar ylangisc avatar alivedevil avatar dependabot-preview[bot] avatar cyberduck avatar tjcelaya avatar khasdenis avatar sebastiangraf avatar milotype avatar gnicol avatar dependabot-support avatar azure-pipelines[bot] avatar timdream avatar sebdiebln avatar ivanromanko avatar eritbh avatar alex0x08 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.