Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.7.0
-
None
-
Win platforms, but possible silent failure on others.
Description
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.