axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ove Gram Nipen <>
Subject Re: Uploading aar file programatically / or using Ant script
Date Wed, 12 Mar 2008 14:24:30 GMT

On Wed, 2008-03-12 at 14:24 +0100, Milan Kuchtiak wrote:
> Hi,
> Is there any way to upload .aar files from within the java code or using 
> some ant script ?

Yes, we use Ant for this. 

> I know that aar file can be copied to axis2.war(using a simple Ant 
> script) , but this doesn't help when axis2.war is deployed on a remote 
> server.

Just use scp :)

> I am interested in something similar to 
> org.apache.catalina.ant.InstallTask (capability to deploy war file).

This works for me (I run axis2 on tomcat):
<property name="" value="mywebserviceapp" />
<property name="project.version" value="1.0-SNAPSHOT" />
<property name="jar.dir" value="target" />

<property name="" value="" />
<property name="remote.user" value="tomcat" />
<property name="" value="secret" />
<property name="remote.catalina_home" value="${remote.user}:
${}@${}:/path/to/tomcat/apache-tomcat-6.0.14" />
<property name="remote.axis.path"
value="${remote.catalina_home}/webapps/axis2/WEB-INF" />

<target name="remote.deploy">

You need jsch.jar in /usr/share/ant/lib

Hope this helps!

Regards, Ove Gram Nipen
Delfi Data

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message