Knopflerfish OSGi 2.4.0

org.knopflerfish.ant.taskdefs.bundle
Class OBRExtractorTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.knopflerfish.ant.taskdefs.bundle.OBRExtractorTask
All Implemented Interfaces:
java.lang.Cloneable

public class OBRExtractorTask
extends org.apache.tools.ant.Task

Task that analyzes a set of bundle jar files and builds OBR XML documentation from these bundles.

Bundle jar files files are analyzed using the static manifest attributes.

Parameters

Parameters specified as nested elements

fileset

(required)

All jar files must be specified as a fileset. If there exists jar files [prefix]_all-[suffix].jar and [prefix]-[suffix].jar, only [prefix]-_all-[suffix].jar will be included.


Attribute Description Required
baseDir Base directory for scanning for jar files. No.
Default value is "."
baseURL Base URL for generated bundleupdate locations. No.
Default value is ""
outFile File name of generated repository XML file No.
Default value is "repository.xml"
repoName Repository name No.
Default value is "Knopflerfish bundle repository"
externRepoURLs Comma separated list of URLs to external repositories. No.
No default value.
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
OBRExtractorTask()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
           
 void execute()
           
 void setBaseDir(java.lang.String s)
           
 void setBaseURL(java.lang.String s)
           
 void setExternRepoURLs(java.lang.String s)
           
 void setOutFile(java.lang.String s)
           
 void setRepoName(java.lang.String s)
           
 void setRepoXSLURL(java.lang.String s)
           
 
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

OBRExtractorTask

public OBRExtractorTask()
Method Detail

setBaseDir

public void setBaseDir(java.lang.String s)

setBaseURL

public void setBaseURL(java.lang.String s)

setRepoXSLURL

public void setRepoXSLURL(java.lang.String s)

setOutFile

public void setOutFile(java.lang.String s)

setRepoName

public void setRepoName(java.lang.String s)

setExternRepoURLs

public void setExternRepoURLs(java.lang.String s)

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

Knopflerfish OSGi 2.4.0