Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-373

Package type specific implementations of install, uninstall and upload are not invoked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.5
    • 1.4
    • Packaging
    • None

    Description

      If a package_as_<type> method returns a Task that defines an implementation of install/uninstall/upload (and maybe other methods) these methods are never invoked. The package method extends each package object with ActsAsArtifact which overrides those methods.

      This can be seen when using the :gem package type. package_as_gem returns a PackageGemTask that delegates those methods to the gem script. When running 'buildr install' with the attached buildfile you can observe that it does not attempt to install the gem. Instead the gem is installed in the local maven repository.

      Attachments

        1. buildfile
          0.2 kB
          Pepijn Van Eeckhoudt
        2. BUILDR-373.txt
          2 kB
          Antoine Toulme

        Activity

          People

            Unassigned Unassigned
            pepijnve Pepijn Van Eeckhoudt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: