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

Use default file ending for Archives with defined name

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None

    Description

      If the name of an ShrinkWrap archive is defined during creation, the name has to include the correct file ending to ensure correct deployment in the container, e.g.:
      ShrinkWrap.create(EnterpriseArchive.class, "MyArchive.ear");

      In most of the cases the file ending is the default file ending of the specified archive type. In these cases there is no need to specify the obvious and it is just a source of error.

      Suggested change:

      • Archive implementation defines default file ending
      • default file ending is added to the specified archive name by default (if it does not match the end of the specified name)
      • add additional method to support archives with none standard file endings, e.g.: ShrinkWrap.create(Class<T> type, String archiveName, boolean useDefaultFileEnding)

      Attachments

        Activity

          People

            Unassigned Unassigned
            th.janssen Thorben Janssen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: