https://issues.apache.org/bugzilla/show_bug.cgi?id=47760

           Summary: Ant deploy task's config attribute not working
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Chitharanjan Mohandas <[email protected]> 2009-08-28 
07:46:37 PDT ---
I am trying to deploy a war into a remote tomcat instance. I am using the ant
task DeployTask. 
The undeploy woks just fine. It deletes the exploaded war directory under the
webapps and also the context descriptor under
$CATALINA_BASE/conf/Catalina/localhost/pr.xml
When the deploy task executes, it tries to deploy the webapp, however the
context xml descriptor pr.xml does not get copied over.

If I have the context xml fragment in server.xml, then I cannot use Undeploy or
Deploy tasks.

We need this feature to deploy the webapps to all our environments.


 <target name="install" description="Install application in Tomcat">
      <available property="present"
               file="build/pr.xml"
               />
    <echo>present:${present}</echo>
        <deploy url="${tomcat.manager.url}"
            username="${tomcat.username}"
            password="${tomcat.password}"
            path="/${webapp.name}"
        config="build/pr.xml"
            war="../${dist.dir}/lib/${app.name}.war"/>
   </target>

regds,
Chiths

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to