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 << Message: Re: deploy manager task in ant >>  << File: 
ATT00008.txt >> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to