OutputDirs
A class for holding mappings from source directories to their output location. This functionality can be accessed only programmatically. The command line compiler uses a single output location, but tools may use this functionality to set output location per source directory.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Add a destination directory for sources found under srcdir. Both directories should exits.
Add a destination directory for sources found under srcdir. Both directories should exits.
Attributes
Return the output directory for the given file.
Return the output directory for the given file.
Attributes
Return the list of source-destination directory pairs.
Return the list of source-destination directory pairs.
Attributes
Set the single output directory. From now on, all files will be dumped in there, regardless of previous calls to 'add'.
Set the single output directory. From now on, all files will be dumped in there, regardless of previous calls to 'add'.
Attributes
Set the single output directory. From now on, all files will be dumped in there, regardless of previous calls to 'add'.
Set the single output directory. From now on, all files will be dumped in there, regardless of previous calls to 'add'.
Attributes
Return the source file path(s) which correspond to the given classfile path and SourceFile attribute value, subject to the condition that source files are arranged in the filesystem according to Java package layout conventions.
Return the source file path(s) which correspond to the given classfile path and SourceFile attribute value, subject to the condition that source files are arranged in the filesystem according to Java package layout conventions.
The given classfile path must be contained in at least one of the specified output directories. If it does not then this method returns Nil.
Note that the source file is not required to exist, so assuming a valid classfile path this method will always return a list containing at least one element.
Also that if two or more source path elements target the same output directory there will be two or more candidate source file paths.