[shrinkwrap-issues] [JBoss JIRA] Resolved: (SHRINKWRAP-179) Container.setXX methods should support the new Package construct
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Thu Apr 7 20:37:33 EDT 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Rubinger resolved SHRINKWRAP-179.
----------------------------------------
Fix Version/s: 1.0.0-alpha-13
(was: 1.0.0-beta-1)
Resolution: Done
Upstream: https://github.com/shrinkwrap/shrinkwrap/pull/11
> Container.setXX methods should support the new Package construct
> ----------------------------------------------------------------
>
> Key: SHRINKWRAP-179
> URL: https://issues.jboss.org/browse/SHRINKWRAP-179
> Project: ShrinkWrap
> Issue Type: Feature Request
> Components: api, impl-base
> Affects Versions: 1.0.0-alpha-9
> Reporter: Aslak Knutsen
> Assignee: Davide D'Alto
> Fix For: 1.0.0-alpha-13
>
>
> We support this construct for adding, Container.addXX(Package, Name) adds a Named resource inside a Package
> Container.setXX() methods should support the same.
> example:
> * @param resourcePackage The package of the resource
> * @param resourceName The name of the resource inside resoucePackage
> T addManifestResource(Package resourcePackage, String resourceName) throws IllegalArgumentException;
> T addManifestResource(Package resourcePackage, String resourceName, String target) throws IllegalArgumentException;
> T addManifestResource(Package resourcePackage, String resourceName, ArchivePath target) throws IllegalArgumentException;
> addManifestResource(org.test.MyClass.class.getPackage(), "myclass.resources") -> org/test/myclass.resources
> Set should have the same capabilities:
> T setManifest(String resourceName) throws IllegalArgumentException;
> T setManifest(Package resourcePackage, String resourceName) throws IllegalArgumentException;
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list