Andy Gumbrecht created OPENEJB-1964:
---------------------------------------
Summary: The EarUnpackTest fails on win platforms due to file
locking on the 'orange.jar'.
Key: OPENEJB-1964
URL: https://issues.apache.org/jira/browse/OPENEJB-1964
Project: OpenEJB
Issue Type: Bug
Components: deployment
Affects Versions: (trunk/openejb)
Environment: Win platforms, but possible silent failure on others.
Reporter: Andy Gumbrecht
The EarUnpackTest fails on win platforms due to file locking on the
'orange.jar'.
I understand the test to be.
1. Deploy colors.ear which extracts to [apps]/colors/orange.jar
2. Deploy colors.ear which extracts to [apps]/colors/yellow.jar - Here we
detect an existing 'colors' directory and attempt to delete it before
extracting (DeploymentLoader.java line 1614, JarExtractor.java line 85).
I have checked in code which exposes the previously silent failure. The
yellow.jar was simply deployed to the existing directory and the application is
deployed with both jar files. The test assert fails because it only expects one
jar in the app.
--
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