[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-365) FileExistException - Existing WAR cannot be deployed with ShrinkWrap.createFromZipFile

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Tue Oct 2 14:32:02 EDT 2012


     [ https://issues.jboss.org/browse/SHRINKWRAP-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Rubinger closed SHRINKWRAP-365.
--------------------------------------

        Labels:   (was: WAR)
    Resolution: Cannot Reproduce Bug


This case succeeds for me without failure.  Please reopen if a failing case may be provided.
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list