Class BuildOutputDirectory

java.lang.Object
org.eclipse.tycho.BuildOutputDirectory
All Implemented Interfaces:
BuildDirectory

public class BuildOutputDirectory extends Object implements BuildDirectory
Represents the build output directory of a Maven project (aka "target folder").
  • Constructor Details

    • BuildOutputDirectory

      public BuildOutputDirectory(File location)
    • BuildOutputDirectory

      public BuildOutputDirectory(File location, File outputDirectory, File testOutputDirectory)
  • Method Details

    • getLocation

      public File getLocation()
      Returns the location of the build output directory.
      Specified by:
      getLocation in interface BuildDirectory
      Returns:
      never null
    • getChild

      public File getChild(String path)
      Convenience method for obtaining an file/folder in the build output directory.
      Specified by:
      getChild in interface BuildDirectory
      Returns:
      The file or folder at the given path relative to the build output directory.
    • getOutputDirectory

      public File getOutputDirectory()
      Specified by:
      getOutputDirectory in interface BuildDirectory
      Returns:
      the directory where compiled application classes are placed.
    • getTestOutputDirectory

      public File getTestOutputDirectory()
      Specified by:
      getTestOutputDirectory in interface BuildDirectory
      Returns:
      the directory where compiled test classes are placed.
    • getP2AgentDirectory

      public File getP2AgentDirectory()
      Specified by:
      getP2AgentDirectory in interface BuildDirectory
      Returns:
      the directory used for the P2 agent