public class ProjectClassPathSupport extends Object
Modifier and Type | Method and Description |
---|---|
static ClassPathImplementation |
createPropertyBasedClassPathImplementation(File projectFolder,
PropertyEvaluator evaluator,
String[] propertyNames)
Creates new classpath based on the ant property.
|
public static ClassPathImplementation createPropertyBasedClassPathImplementation(File projectFolder, PropertyEvaluator evaluator, String[] propertyNames)
projectFolder
- File
the project folder used to resolve relative pathsevaluator
- PropertyEvaluator
used for obtaining the value of
given property and listening on value changes.propertyNames
- the names of ant properties the classpath will be build on,
can't be or contain null. It can contain duplicates, in this case the duplicated property
is used multiple times. The values of given properties are concatenated into a single path.ClassPathImplementation
based on the given ant properties.