FileDocCategorySizeDatePackage
LibFileSet.javaAPI DocApache Ant 1.703309Wed Dec 13 06:16:18 GMT 2006org.apache.tools.ant.taskdefs.optional.extension

LibFileSet

public class LibFileSet extends org.apache.tools.ant.types.FileSet
LibFileSet represents a fileset containing libraries. Asociated with the libraries is data pertaining to how they are to be handled when building manifests.

Fields Summary
private boolean
includeURL
Flag indicating whether should include the "Implementation-URL" attribute in manifest. Defaults to false.
private boolean
includeImpl
Flag indicating whether should include the "Implementation-*" attributes in manifest. Defaults to false.
private String
urlBase
String that is the base URL for the librarys when constructing the "Implementation-URL" attribute. For instance setting the base to "http://jakarta.apache.org/avalon/libs/" and then including the library "excalibur-cli-1.0.jar" in the fileset will result in the "Implementation-URL" attribute being set to "http://jakarta.apache.org/avalon/libs/excalibur-cli-1.0.jar" Note this is only used if the library does not define "Implementation-URL" itself. Note that this also implies includeURL=true
Constructors Summary
Methods Summary
java.lang.StringgetUrlBase()
Get the urlbase.

return
the urlbase.

        return urlBase;
    
booleanisIncludeImpl()
Get the includeImpl flag.

return
the includeImpl flag.

        return includeImpl;
    
booleanisIncludeURL()
Get the includeURL flag.

return
the includeURL flag.

        return includeURL;
    
public voidsetIncludeImpl(boolean includeImpl)
Flag indicating whether should include the "Implementation-*" attributes in manifest. Defaults to false.

param
includeImpl the flag

        this.includeImpl = includeImpl;
    
public voidsetIncludeUrl(boolean includeURL)
Flag indicating whether should include the "Implementation-URL" attribute in manifest. Defaults to false.

param
includeURL the flag

        this.includeURL = includeURL;
    
public voidsetUrlBase(java.lang.String urlBase)
Set the url base for fileset.

param
urlBase the base url

        this.urlBase = urlBase;