[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-365) FileExistException - Existing WAR cannot be deployed with ShrinkWrap.createFromZipFile
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Mon Feb 6 20:59:48 EST 2012
[ https://issues.jboss.org/browse/SHRINKWRAP-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664665#comment-12664665 ]
Andrew Rubinger commented on SHRINKWRAP-365:
--------------------------------------------
Can we see a failing test case in the ShrinkWrap suite?
> 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
> Labels: WAR
>
> * 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
More information about the shrinkwrap-issues
mailing list