Bug 51251 - Patch to add version parameter to ant task
Summary: Patch to add version parameter to ant task
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Manager (show other bugs)
Version: trunk
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2011-05-24 01:28 UTC by Eiji Takahashi
Modified: 2011-06-03 22:23 UTC (History)
0 users

add version support (11.75 KB, patch)
2011-05-24 01:28 UTC, Eiji Takahashi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eiji Takahashi 2011-05-24 01:28:35 UTC
Created attachment 27049 [details]
add version support

Add version parameter support to the following ant tasks.
- StartTask
- StopTask
- ReloadTask
- UndeployTask
- SessionsTask (also idle parameter)

Comment 1 Mark Thomas 2011-06-03 22:23:18 UTC
Thanks for the patch.

I modified the patch slightly since the test got path == null that triggered an exception was lost in the refactoring.

The patch has been applied to 7.0.x and will be included in 7.0.15 onwards.