org.carrot2.ant.types
Class ComponentClasspath
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.carrot2.ant.types.ComponentClasspath
public class ComponentClasspath
- extends Task
A custom task that creates and registers a Path under a given id. The path contains classpath files
(JARs and folders) included from this component dependencies in a given profile.
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentClasspath
public ComponentClasspath()
setId
public void setId(String id)
setProfile
public void setProfile(String profile)
- Sets the dependency tracking profile.
createDependencies
public Path createDependencies()
- Crates a new path with a set of dependency files to scan.
setComponentDescriptor
public void setComponentDescriptor(File componentDescriptor)
- Sets component descriptor file.
execute
public void execute()
throws BuildException
- Overrides:
execute in class Task
- Throws:
BuildException
Copyright (c) Dawid Weiss, Stanislaw Osinski