ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: war deploy
Date Tue, 11 May 2004 07:54:53 GMT
The deployment process is not defined in the current j2ee-specs (just in the
newest
proposals: "deployment api"), therefore deployment depends on the container
you have.

In your case you are using Tomcat and you have to do what the tomcat
developers
want you to do. As your coding shows, they provide some Ant tasks to manage
the server - 
including deployment. Detailed questions are IMHO better on the tomcat list,
because
they´ve written the tasks. But you could also find users here :-)

In your posted code you only _define_ the Ant tasks - you haven´t used them.
Where is error? What is the error message?

Jan


> -----Original Message-----
> From: Philippe Valle [mailto:pvalle@eprocess.fr]
> Sent: Tuesday, May 11, 2004 9:49 AM
> To: Ant Users List
> Subject: war deploy
> 
> 
> HI,
> 
> 
> how to deploy WAR file with ant 1.6.1 ( i use tomcat 4.1.29 ) :
> 
> 
> this lines in build.xml file doesnt works :
> 
> <-- Configure the custom Ant tasks for the Manager application -->
>    <taskdef name="deploy"    
> classname="org.apache.catalina.ant.DeployTask"/>
>    <taskdef name="install"   
> classname="org.apache.catalina.ant.InstallTask"/>
>    <taskdef name="list"      
> classname="org.apache.catalina.ant.ListTask"/>
>    <taskdef name="reload"    
> classname="org.apache.catalina.ant.ReloadTask"/>
>    <taskdef name="remove"    
> classname="org.apache.catalina.ant.RemoveTask"/>
>    <taskdef name="resources" 
> classname="org.apache.catalina.ant.ResourcesTask"/>
>    <taskdef name="roles"     
> classname="org.apache.catalina.ant.RolesTask"/>
>    <taskdef name="start"     
> classname="org.apache.catalina.ant.StartTask"/>
>    <taskdef name="stop"      
> classname="org.apache.catalina.ant.StopTask"/>
>    <taskdef name="undeploy"  
> classname="org.apache.catalina.ant.UndeployTask"/>
> 
> 
> Thanks , for sample code .
> 
> Philip
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message