https://issues.apache.org/bugzilla/show_bug.cgi?id=55035
Bug ID: 55035
Summary: Deploy ROOT webapp with version through text manager
using Ant
Product: Tomcat 7
Version: 7.0.40
Hardware: PC
OS: All
Status: NEW
Severity: major
Priority: P2
Component: Manager
Assignee: [email protected]
Reporter: [email protected]
Currently Ant "deploy" task does not support separate parameter "version" and,
thanks to URLEncoder, there is no workaround for that.
But for apps with not empty context it's possible to define version using ##,
like setting path to "/someContext#someVersion".
For apps with empty context we receive error:
Case #1:
<deploy url="{tomcat.manager}/text" username="${username}",
password="${password}" path="/ROOT##12345" war="${pathtowar}" />
Result:
Failed to deploy application at context path /ROOT##12345
Case #1:
<deploy url="{tomcat.manager}/text" username="${username}",
password="${password}" path="/##12345" war="${pathtowar}" />
Result:
Failed to deploy application at context path /##12345
--
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]