Interface IJarBuilderExtension


public interface IJarBuilderExtension
Extends IJarBuilder with the following functions:
  • Write a file to the JAR to build
Since:
3.5
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeFile(File file, org.eclipse.core.runtime.IPath destinationPath)
    Add the given file to the archive at the given path
  • Method Details

    • writeFile

      void writeFile(File file, org.eclipse.core.runtime.IPath destinationPath) throws org.eclipse.core.runtime.CoreException
      Add the given file to the archive at the given path
      Parameters:
      file - the file to be written. It is guaranteed, that the file is not a directory.
      destinationPath - the path for the file inside the archive
      Throws:
      org.eclipse.core.runtime.CoreException - thrown when the file could not be written