Exception exporting first entry to Zip file leads to deadlock
-------------------------------------------------------------
Key: SHRINKWRAP-133
URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-133
Project: ShrinkWrap
Issue Type: Bug
Components: impl-base
Affects Versions: 1.0.0-alpha-5
Reporter: German Escobar
If the first entry that we are exporting to the Zip file throws an Exception, the Zip file stills empty and a deadlock occurs. I tried to check if there was at least one entry exported before closing the ZIpInputStream but the deadlock still happens.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Create StringAsset
------------------
Key: SHRINKWRAP-165
URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-165
Project: ShrinkWrap
Issue Type: Feature Request
Components: api
Reporter: Andrew Lee Rubinger
Create the functional equivalent of:
new Asset()
{
@Override
public InputStream openStream()
{
return new ByteArrayInputStream("Some String".getBytes());
}
}
User code should look like:
new StringAsset("string");
new StringAsset("string",Charset);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
create EmptyAsset
-----------------
Key: SHRINKWRAP-166
URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-166
Project: ShrinkWrap
Issue Type: Feature Request
Components: api
Affects Versions: 1.0.0-alpha-9
Reporter: Dan Allen
Priority: Minor
Create EmptyAsset merely as a convenience of creating descriptors which have no content.
For example:
addManifestResource(new EmptyAsset(), "beans.xml")
rather than
addManifestResource(new ByteArrayAsset(new byte[0]), "beans.xml")
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira