[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-411) API inconsistency - allow to delete Class or Package from the Archive

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Fri Jul 27 11:27:07 EDT 2012


     [ https://issues.jboss.org/browse/SHRINKWRAP-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Rubinger updated SHRINKWRAP-411:
---------------------------------------

    Git Pull Request: https://github.com/shrinkwrap/shrinkwrap/pull/58  (was: https://github.com/shrinkwrap/shrinkwrap/pull/58)


Upstream: https://github.com/shrinkwrap/shrinkwrap/commit/1883f1f75344f8c92e838e75eba72a77c6ed01b1
                
> API inconsistency - allow to delete Class or Package from the Archive
> ---------------------------------------------------------------------
>
>                 Key: SHRINKWRAP-411
>                 URL: https://issues.jboss.org/browse/SHRINKWRAP-411
>             Project: ShrinkWrap
>          Issue Type: Enhancement
>          Components: api
>            Reporter: Piotr Nowicki
>            Assignee: Piotr Nowicki
>              Labels: API, archive, class, delete, package
>
> User might want to delete some resources from the created Archive (e.g. because he doesn't have any control over how it was created in the first place.) 
> Right now he can only use a String-based path to the resource he want to delete.
> It seems to be an API inconsistency as he can Archive.add(-) Package or Class objects, but cannot invoke Archive.delete(Archive) / Archive.delete(Package). 
> Example: https://gist.github.com/2989390

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list