org.osgi.impl.bundle.bindex.ant
Class BindexTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.osgi.impl.bundle.bindex.ant.BindexTask
- All Implemented Interfaces:
- java.lang.Cloneable
public class BindexTask
- extends org.apache.tools.ant.Task
This Ant task is based on the http://bundles.osgi.org/build/jar/bindex.jar
source code
Iterate over a set of given bundles and convert them to resources. After
this, convert an local urls (file systems, JAR file) to relative URLs and
create a ZIP file with the complete content. This ZIP file can be used in an
OSGi Framework to map to an http service or it can be expanded on the web
server's file system.
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 |
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 |
BindexTask
public BindexTask()
setLicenseURL
public void setLicenseURL(java.lang.String license)
setName
public void setName(java.lang.String name)
setQuiet
public void setQuiet(boolean quiet)
setRepositoryFile
public void setRepositoryFile(java.io.File repositoryFile)
setRoot
public void setRoot(java.io.File rootFile)
setUrlTemplate
public void setUrlTemplate(java.lang.String urlTemplate)
addFileset
public void addFileset(org.apache.tools.ant.types.FileSet fs)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Main entry. See -help for options.
- Overrides:
execute
in class org.apache.tools.ant.Task
- Parameters:
args
-
- Throws:
java.lang.Exception
java.lang.Exception
org.apache.tools.ant.BuildException