BuildPaths instead, which handles flavoured and unflavoured BuildTargets in the paths the same way as RE/ModernBuildRules do.@Deprecated public class BuildTargetPaths extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static Path | getAnnotationPath(ProjectFilesystem filesystem,
                 BuildTarget target,
                 String format)Deprecated.  Return a path to a file in the buck-out/annotation/ directory. | 
| static ForwardRelativePath | getBasePath(ProjectFilesystem filesystem,
           BuildTarget target,
           String format)Deprecated.  Return a relative path to a file. | 
| static ForwardRelativePath | getBasePathForBaseName(ProjectFilesystem filesystem,
                      BuildTarget target)Deprecated.  Return a relative path for all targets in a package of a  BuildTarget. | 
| static Path | getGenPath(ProjectFilesystem filesystem,
          BuildTarget target,
          String format)Deprecated.  Return a relative path to a file in the buck-out/gen/ directory. | 
| static Path | getGenPathForBaseName(ProjectFilesystem filesystem,
                     BuildTarget target)Deprecated.  A folder where all targets in the file of target are created. | 
| static Path | getScratchPath(ProjectFilesystem filesystem,
              BuildTarget target,
              String format)Deprecated.  Return a path to a file in the buck-out/bin/ directory. | 
public static Path getScratchPath(ProjectFilesystem filesystem, BuildTarget target, String format)
format will be prepended with
 the BuckPaths.getScratchDir() and the target base path, then formatted with the target
 short name.target - The BuildTarget to scope this path to.format - String.format(java.lang.String, java.lang.Object...) string for the path name. It should contain one "%s", which
     will be filled in with the rule's short name. It should not start with a slash.Path under buck-out/bin, scoped to the base path of target.public static Path getAnnotationPath(ProjectFilesystem filesystem, BuildTarget target, String format)
format will be prepended
 with the BuckPaths.getAnnotationDir() and the target base path, then formatted with the
 target short name.target - The BuildTarget to scope this path to.format - String.format(java.lang.String, java.lang.Object...) string for the path name. It should contain one "%s", which
     will be filled in with the rule's short name. It should not start with a slash.Path under buck-out/annotation, scoped to the base path of
     target.public static Path getGenPath(ProjectFilesystem filesystem, BuildTarget target, String format)
format will be
 prepended with the BuckPaths.getGenDir() and the target base path, then formatted with
 the target short name.target - The BuildTarget to scope this path to.format - String.format(java.lang.String, java.lang.Object...) string for the path name. It should contain one "%s", which
     will be filled in with the rule's short name. It should not start with a slash.Path under buck-out/gen, scoped to the base path of target.public static Path getGenPathForBaseName(ProjectFilesystem filesystem, BuildTarget target)
public static ForwardRelativePath getBasePath(ProjectFilesystem filesystem, BuildTarget target, String format)
format will be prepended with the target base path,
 then formatted with the target short name.
 This is portion of the path returned by, e.g., getGenPath(ProjectFilesystem,
 BuildTarget, String)
target - The BuildTarget to scope this path to.format - String.format(java.lang.String, java.lang.Object...) string for the path name. It should contain one "%s", which
     will be filled in with the rule's short name. It should not start with a slash.Path scoped to the base path of target.public static ForwardRelativePath getBasePathForBaseName(ProjectFilesystem filesystem, BuildTarget target)
BuildTarget.