tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47760] New: Ant deploy task's config attribute not working
Date Fri, 28 Aug 2009 14:46:47 GMT
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: dev@tomcat.apache.org
        ReportedBy: cmohandas@1sync.org


--- Comment #0 from Chitharanjan Mohandas <cmohandas@1sync.org> 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message