class Buildr::Packaging::Java::AarTask

Extends the JarTask to create an AAR file (Axis2 service archive).

Supports all the same options as JarTask, with the addition of :wsdls, :services_xml and :libs.

For example:

package(:aar).with(:libs=>'log4j:log4j:jar:1.1')

filter.from('src/main/axis2').into('target').include('services.xml', '*.wsdl').using('http_port'=>'8080')
package(:aar).wsdls.clear
package(:aar).with(:services_xml=>_('target/services.xml'), :wsdls=>_('target/*.wsdl'))

Attributes

libs[RW]

Artifacts to include under /lib.

services_xml[RW]

Location of services.xml file (defaults to src/main/axis2/services.xml).

wsdls[RW]

WSDLs to include under META-INF (defaults to all WSDLs under src/main/axis2).