Class GnuArchiver

    • Constructor Detail

      • GnuArchiver

        public GnuArchiver​(Tool tool)
    • Method Detail

      • getArchiveOptions

        public<String> getArchiveOptions​(boolean isThinArchive)
        Specified by:
        getArchiveOptions in interface Archiver
      • outputArgs

        public<String> outputArgs​(String outputPath)
        Specified by:
        outputArgs in interface Archiver
      • isArgfileRequired

        public boolean isArgfileRequired()
        Description copied from interface: Archiver
        Whether an argfile is required for a long command line (false means that it is possible to split a long command line into chunks). Eg, ar on *nix allows to add new files to an already created archive, but doesn't accept argfiles. On the contrary, VS lib.exe on windows always overrides the previous archive, but supports argfiles.
        Specified by:
        isArgfileRequired in interface Archiver
        whether @argfile is required for a long command line