A SIP Servlet management task that finds the application name and
ServiceID
for a SAR deployed in the SLEE, and sets Ant properties for use later in the build.
Useful when you don't know the application name or
ServiceID
in advance, but need to
refer to them, e.g. when uninstalling a servlet application.
Ant Parameters
Attribute |
Description |
Required |
connectionrefid |
The id of a previous connect task that will be used to connect
to a SIP Servlet RA entity. |
No. The connection from the last successful
connect task is used by default. |
failonerror |
Default failure case behaviour for this task. If set to 'false' or 'no', the build will continue when this task attempts a redundant action. |
No. Default is false . |
url |
URL of servlet application's deployable unit in the SLEE. |
Yes. |
prefix |
Prefix that will be used to create Ant properties for the deployed application
name and ServiceID , if found. The properties created are:
prefix.app.name - the deployed servlet application name
prefix.service.name - the deployed service's name
prefix.service.vendor - the deployed service's vendor
prefix.service.version - the deployed service's version
|
Yes. |
Example
<resolve url="file:${jars}/proxy.sar" prefix="proxy"/>
<!-- now use ${proxy.*} properties in script -->
<deactivate appname="${proxy.app.name}"/>