Hi Clay,
Sorry for the lack of clarity. What I'm trying to do
is deploy a web application, and I get the following
execption. I checked
file:D:/sam/build.xml:79:
java.net.UnknownHostException: D
My deploy task looks like this:
<target name="deploy" description="Deploy web
application"
depends="build">
<echo message="URL is ${url}"/>
<deploy url="${url}" username="${username}"
password="${password}"
path="${path}"
war="file://${build}/hello.war"/>
</target>
I checked the URL- it is fine
(http://localhost:8080/manager)- even tried 127.0.0.1,
still no luck. Interestingly, all other tasks
(install, list, remove) work just fine- surely if it
was a name/IP lookup problem, it would have occured
there too.
tx,
Sam
--- Clay Graham <[EMAIL PROTECTED]> wrote:
> ok, it was hard to follow what you were asking but
> let me just attach my ant directives...
>
> <!-- Configure the context path for this
> application -->
> <property name="projname" value="test" />
> <property name="project_dir"
> value="/home/clay/projects/${projname}" />
> <property name="path" value="/${projname}"/>
> <property name="username" value="tomcat"/>
> <property name="password" value="password"/>
> <property name="build"
> value="${project_dir}/build" />
> <property name="weblib"
> value="${project_dir}/web/WEB-INF/lib" />
> <property name="tomcat_home"
> value="/home/tomcat/jakarta-tomcat-4.1.3" />
>
> <!-- Configure properties to access the Manager
> application -->
> <property name="url"
> value="http://localhost:8080/manager"/>
> <property file="build.properties"/>
> <property file="${user.home}/build.properties"/>
>
> <!-- Configure the custom Ant tasks for the Manager
> application -->
> <path id="classpath">
> <fileset dir="${tomcat_home}/common/lib">
> <include name="*.jar"/>
> </fileset>
> <fileset dir="${weblib}">
> <include name="*.jar"/>
> </fileset>
> </path>
>
> <taskdef name="install"
> classname="org.apache.catalina.ant.InstallTask"/>
>
> <!-- Executable Targets -->
> <target name="install" description="Install web
> application"
> depends="build">
> <install url="${url}" username="${username}"
> password="${password}"
> path="${path}" war="file:${build}"/>
> </target>
>
>
> -----Original Message-----
> From: Sam Ewing [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, July 13, 2002 5:25 PM
> To: [EMAIL PROTECTED]
> Subject: Fwd: Re: deploy manager task in ant
>
> I check the URL.. plus all other tasks
> (install/uninstall) work fine.
>
>
> Note: forwarded message attached.
>
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>