Cargo
  1. Cargo
  2. CARGO-75

Extract <zipurlinstaller> from the <cargo-*> tasks

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.3
    • Fix Version/s: None
    • Component/s: Ant
    • Labels:
      None
    • Number of attachments :
      0

      Description

      I would like to propose to move the ZipURLInstaller out of the <cargo-*> tasks. Indeed, the installer is something that should be used before calling the cargo tasks (same as when using the Java API).

      Thus I propose to create a special task for the installer:

      <cargo-installer installURL="..." installDir="..." homeDirProperty="..."/>

      where homeDirProperty points to a property that will hold the location of the installed container home.

        Activity

        Hide
        Arnaud Heritier added a comment -

        We can create a task like this :
        <installer type="zipUrlInstaller" installUrl=".../...zip" installDir="..." id="AAA">
        <proxy host="..." port="..." user="..." password="..." excludeHosts="..."/>
        </installer>

        And in the container we define either a homeDir attribute, an installerRefId attribute or an inner installer element ?

        Show
        Arnaud Heritier added a comment - We can create a task like this : <installer type="zipUrlInstaller" installUrl=".../...zip" installDir="..." id="AAA"> <proxy host="..." port="..." user="..." password="..." excludeHosts="..."/> </installer> And in the container we define either a homeDir attribute, an installerRefId attribute or an inner installer element ?

          People

          • Assignee:
            Unassigned
            Reporter:
            Vincent Massol
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: