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

EarTask: component type cannot be specified for Artifact

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.3
    • Packaging
    • None
    • Windows XP SP2, JRuby 1.1, buildr trunk (rev 645177)

    Description

      Trying to specify component type for Artifact when packaging ear:s fails with:

      undefined method `manifest' for #<Buildr::Artifact:0x1202d8a>

      Example buildfile:

      repositories.remote << "http://repo1.maven.org/maven2"
      define 'myproj' do
      project.version=1
      project.group = "foo"

      define 'this_works' do
      package(:ear).add "log4j:log4j:jar:1.2.14"
      end

      define 'does_not_work' do
      package(:ear).add :ejb => "log4j:log4j:jar:1.2.14"
      end

      end

      Attachments

        Activity

          People

            vic Victor Hugo Borja
            tompa Tomas Carlsson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: