Package org.eclipse.tycho
Class BuildOutputDirectory
- java.lang.Object
-
- org.eclipse.tycho.BuildOutputDirectory
-
- All Implemented Interfaces:
BuildDirectory
public class BuildOutputDirectory extends java.lang.Object implements BuildDirectory
Represents the build output directory of a Maven project (aka "target folder").
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
location
private java.io.File
outputDirectory
private java.io.File
testOutputDirectory
-
Constructor Summary
Constructors Constructor Description BuildOutputDirectory(java.io.File location)
BuildOutputDirectory(java.io.File location, java.io.File outputDirectory, java.io.File testOutputDirectory)
BuildOutputDirectory(java.lang.String location)
Deprecated.will be removed in next release!
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getChild(java.lang.String path)
Convenience method for obtaining an file/folder in the build output directory.java.io.File
getLocation()
Returns the location of the build output directory.java.io.File
getOutputDirectory()
java.io.File
getP2AgentDirectory()
java.io.File
getTestOutputDirectory()
-
-
-
Constructor Detail
-
BuildOutputDirectory
@Deprecated public BuildOutputDirectory(java.lang.String location)
Deprecated.will be removed in next release!- Parameters:
location
-
-
BuildOutputDirectory
public BuildOutputDirectory(java.io.File location)
-
BuildOutputDirectory
public BuildOutputDirectory(java.io.File location, java.io.File outputDirectory, java.io.File testOutputDirectory)
-
-
Method Detail
-
getLocation
public java.io.File getLocation()
Returns the location of the build output directory.- Specified by:
getLocation
in interfaceBuildDirectory
- Returns:
- never
null
-
getChild
public java.io.File getChild(java.lang.String path)
Convenience method for obtaining an file/folder in the build output directory.- Specified by:
getChild
in interfaceBuildDirectory
- Returns:
- The file or folder at the given
path
relative to the build output directory.
-
getOutputDirectory
public java.io.File getOutputDirectory()
- Specified by:
getOutputDirectory
in interfaceBuildDirectory
- Returns:
- the directory where compiled application classes are placed.
-
getTestOutputDirectory
public java.io.File getTestOutputDirectory()
- Specified by:
getTestOutputDirectory
in interfaceBuildDirectory
- Returns:
- the directory where compiled test classes are placed.
-
getP2AgentDirectory
public java.io.File getP2AgentDirectory()
- Specified by:
getP2AgentDirectory
in interfaceBuildDirectory
- Returns:
- the directory used for the P2 agent
-
-