|
Knopflerfish OSGi 2.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.knopflerfish.ant.taskdefs.bundle.BundleClasspathTask
public class BundleClasspathTask
Task that translates the value of the OSGi specified manifest header Bundle-Classpath into either a file set or pattern suitable for use as the includes attribute in a file set that will find all classes and jars that the framework may use given the specified Bundle-Classpath manifest attribute.
Attribute | Description | Required |
BundleClasspath | The bundle class path to convert into an includes
pattern.
If unset, set to empty string, or set to the special empty
value Note: The current value of this property will be overwritten by the derived pattern. |
No. Default value is "." |
propertyName | Name of property that will receive the resulting pattern. | Yes. No default value. |
dir | The directory to use as root directory in the created fileset. | Yes. No default value. |
filesetId | Id of a file set with include patterns based on the given BundleClasspath and base directory given by dir. If dir is not given or non-existing then an empty file set is created. | No. No default value. |
Entry | Pattern |
. | **/*.class |
rxtx | rxtx/**/*.class |
/rxtx | rxtx/**/*.class |
required.jar | required.jar |
xx/required.jar | xx/required.jar |
/xx/required.jar | xx/required.jar |
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
BundleClasspathTask()
|
Method Summary | |
---|---|
void |
execute()
|
void |
setBundleClasspath(java.lang.String s)
Set bundle class path to create a pattern for. |
void |
setDir(java.io.File f)
Set property receiving the file set root directory. |
void |
setFilesetId(java.lang.String s)
Set property receiving the file set id. |
void |
setPropertyName(java.lang.String s)
Set property receiving the bundle class path pattern. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BundleClasspathTask()
Method Detail |
---|
public void setBundleClasspath(java.lang.String s)
public void setPropertyName(java.lang.String s)
public void setDir(java.io.File f)
public void setFilesetId(java.lang.String s)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
|
Knopflerfish OSGi 2.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |