FileExistException - Existing WAR cannot be deployed with ShrinkWrap.createFromZipFile
--------------------------------------------------------------------------------------
Key: SHRINKWRAP-365
URL:
https://issues.jboss.org/browse/SHRINKWRAP-365
Project: ShrinkWrap
Issue Type: Bug
Components: api
Affects Versions: 1.0.0-beta-5
Environment: Windows XP, Maven 3.0.3, Java 1.6.0_29
Reporter: Karsten Ohme
Priority: Minor
* Deploying a Web archive from a ZIP fails
* Code:
{code}
@Deployment(testable=false)
public static WebArchive createTestArchive() throws Exception {
return ShrinkWrap.createFromZipFile(WebArchive.class, new
File("dependency"+File.separatorChar+"test.war"));
}
{code}
* {{test.war}} is the file to use, but the new deployment is being tried to create at the
same location
--
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