ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karsten Wutzke <kwut...@web.de>
Subject Deploys to work/Standalone/localhost... why?
Date Tue, 15 Apr 2003 16:02:17 GMT
Hi all!

Why do the Tomcat 4.1 Ant tasks deploy and install put the context 
directory to <tomcat-root>/work/Standalone/localhost/<context>, at least 
on my machine? Anything misconfigured?

<property name="local.manager.url" value="${local.root.url}/manager"/>
<property name="local.manager.username" value="${manager.username}"/>
<property name="local.manager.password" value="${manager.password}"/>

<property name="webapp.name"         value="basketball"/>
<property name="webapp.context.path" value="/{webapp.name}"/>

<target name="deploy-local" depends="dist,startup-local" 
description="Deploys the web app to local Tomcat.">

   <deploy url="${local.manager.url}"
           username="${local.manager.username}"
           password="${local.manager.password}"
           path="${webapp.context.path}"
           war="file://${dist.file}"/>
</target>

Nothing unusual I'm using... The depends tasks work fine, they create 
the war file which is to be distributed and startup-local starts up 
local Tomcat web server, if it hasn't been started yet.

Can anyone help?

Thanks!
Karsten


Mime
View raw message