-
Feature Request
-
Resolution: Done
-
Major
-
1.0.0-alpha-9
-
None
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;