Introduce the notion of "id/idref" in the Cargo Ant tasks

Description

I think it would make sense to refactor the Cargo Ant tasks in the following
way:

<cargo-tomcat5x id="tomcat5x" log="..." homedir="..." [...]>
<zipurlinstaller .../>
</cargo-tomcat5x>

<cargo-tomcat5x idref="tomcat5x" action="start">
<war .../>
</cargo-tomcat5x>

<cargo-tomcat5x idref="tomcat5x" action="stop"/>

Explanations:

1/ Notice the new "id/idref" attributes which is there to identify a Container instance.
2/ using this id, the user does not need any longer to redefine all the attributes when he wishes to stop the container.
3/ Any attribute redefined when using refid will override the default ones.

Status

Assignee

Vincent Massol

Reporter

Vincent Massol

Fix versions

Affects versions

0.3

Priority

Major
Configure