Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-192

Should be possible to get a nested Archive as a type

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: api, impl-base
    • Labels:
      None

      Description

      It would be helpful to be able to get added items out again without having to result to casting and depending on impl-base.

      e.g:
      EnterpriseArchive ear = ShrinkWrap.create(EnterpriseArchive.class)
      .addModule(ShrinkWrap.create(WebArchive.class, "my.war"));

      WebArchive war = ear.get(WebArchive.class, ArchivePaths.create("/my.war"))

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            dan.j.allen Dan Allen added a comment -

            If we had a content criteria, then getting a nested archive would be simple. However, convenience methods would still be nice.

            Show
            dan.j.allen Dan Allen added a comment - If we had a content criteria, then getting a nested archive would be simple. However, convenience methods would still be nice.
            Show
            aslak Aslak Knutsen added a comment - https://github.com/shrinkwrap/shrinkwrap/pull/4

              People

              • Assignee:
                aslak Aslak Knutsen
                Reporter:
                aslak Aslak Knutsen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development