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

Tommy Tynjä (JIRA) jira-events at lists.jboss.org
Fri Jul 27 05:20:07 EDT 2012


    [ https://issues.jboss.org/browse/SHRINKWRAP-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708260#comment-12708260 ] 

Tommy Tynjä commented on SHRINKWRAP-411:
----------------------------------------

Looking forward to this, it'll be a nice enhancement to the API.
                
> 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
>              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