Knopflerfish OSGi 1.3.3

org.knopflerfish.ant.taskdefs.bundle
Class OBRExtractorTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.knopflerfish.ant.taskdefs.bundle.OBRExtractorTask

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"
Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
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 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
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 org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, 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)

addFileset

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

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException

Knopflerfish OSGi 1.3.3