- 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 Summary
Constructors Constructor Description BuildOutputDirectory(File location)BuildOutputDirectory(File location, File outputDirectory, File testOutputDirectory)BuildOutputDirectory(String location)Deprecated.will be removed in next release!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetChild(String path)Convenience method for obtaining an file/folder in the build output directory.FilegetLocation()Returns the location of the build output directory.FilegetOutputDirectory()FilegetP2AgentDirectory()FilegetTestOutputDirectory()
-
-
-
Constructor Detail
-
BuildOutputDirectory
@Deprecated public BuildOutputDirectory(String location)
Deprecated.will be removed in next release!- Parameters:
location-
-
BuildOutputDirectory
public BuildOutputDirectory(File location)
-
-
Method Detail
-
getLocation
public File getLocation()
Returns the location of the build output directory.- Specified by:
getLocationin interfaceBuildDirectory- Returns:
- never
null
-
getChild
public File getChild(String path)
Convenience method for obtaining an file/folder in the build output directory.- Specified by:
getChildin interfaceBuildDirectory- Returns:
- The file or folder at the given
pathrelative to the build output directory.
-
getOutputDirectory
public File getOutputDirectory()
- Specified by:
getOutputDirectoryin interfaceBuildDirectory- Returns:
- the directory where compiled application classes are placed.
-
getTestOutputDirectory
public File getTestOutputDirectory()
- Specified by:
getTestOutputDirectoryin interfaceBuildDirectory- Returns:
- the directory where compiled test classes are placed.
-
getP2AgentDirectory
public File getP2AgentDirectory()
- Specified by:
getP2AgentDirectoryin interfaceBuildDirectory- Returns:
- the directory used for the P2 agent
-
-