Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.extension

public Class LibFileSet

extends FileSet
Class Inheritance
Imports
org.apache.tools.ant.types.FileSet

LibFileSet represents a fileset containing libraries. Associated with the libraries is data pertaining to how they are to be handled when building manifests.

Field Summary

Modifier and TypeField and Description
private boolean
includeImpl

Flag indicating whether should include the "Implementation-*" attributes in manifest.

private boolean
includeURL

Flag indicating whether should include the "Implementation-URL" attribute in manifest.

private String
urlBase

String that is the base URL for the libraries when constructing the "Implementation-URL" attribute.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv String

Returns:

the urlbase.
getUrlBase
()

Get the urlbase.

pack-priv boolean

Returns:

the includeImpl flag.
isIncludeImpl
()

Get the includeImpl flag.

pack-priv boolean

Returns:

the includeURL flag.
isIncludeURL
()

Get the includeURL flag.

public void
setIncludeImpl(boolean
the flag
includeImpl
)

Flag indicating whether should include the "Implementation-*" attributes in manifest.

public void
setIncludeUrl(boolean
the flag
includeURL
)

Flag indicating whether should include the "Implementation-URL" attribute in manifest.

public void
setUrlBase(String
the base url
urlBase
)

Set the url base for fileset.

Inherited from org.apache.tools.ant.types.FileSet:
clonegetRefisFilesystemOnlyiteratorsize

Field Detail

includeImplback to summary
private boolean includeImpl

Flag indicating whether should include the "Implementation-*" attributes in manifest. Defaults to false.

includeURLback to summary
private boolean includeURL

Flag indicating whether should include the "Implementation-URL" attribute in manifest. Defaults to false.

urlBaseback to summary
private String urlBase

String that is the base URL for the libraries when constructing the "Implementation-URL" attribute. For instance setting the base to "https://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 "https://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

Constructor Detail

LibFileSetback to summary
public LibFileSet()

Method Detail

getUrlBaseback to summary
pack-priv String getUrlBase()

Get the urlbase.

Returns:String

the urlbase.

isIncludeImplback to summary
pack-priv boolean isIncludeImpl()

Get the includeImpl flag.

Returns:boolean

the includeImpl flag.

isIncludeURLback to summary
pack-priv boolean isIncludeURL()

Get the includeURL flag.

Returns:boolean

the includeURL flag.

setIncludeImplback to summary
public void setIncludeImpl(boolean includeImpl)

Flag indicating whether should include the "Implementation-*" attributes in manifest. Defaults to false.

Parameters
includeImpl:boolean

the flag

setIncludeUrlback to summary
public void setIncludeUrl(boolean includeURL)

Flag indicating whether should include the "Implementation-URL" attribute in manifest. Defaults to false.

Parameters
includeURL:boolean

the flag

setUrlBaseback to summary
public void setUrlBase(String urlBase)

Set the url base for fileset.

Parameters
urlBase:String

the base url