Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-2.0.0.GA
-
Fix Version/s: EE-3.0.0.BETA, EE-3.0.0.GA, EE-2.0.0.GA_P01
-
Component/s: Release
-
Labels:None
-
Environment:ICEfaces EE 2 bundle
-
Workaround Exists:Yes
-
Workaround Description:Run the bundle procedure on a non-Windows machine
Description
The bundle targets will eventually fail when run on a Windows box due to:
[delete] Deleting directory C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\bundle\ICEfaces-EE-2.0.0.Beta-bin\icefaces\lib\myfaces
[delete] Deleting directory C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\bundle\ICEfaces-EE-2.0.0.Beta-bin\icefaces\ace
BUILD FAILED
C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\build.xml:53: The following error occurred while executing this line:
C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\build.xml:183: The following error occurred while executing this line:
C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\icefaces\build.xml:101: The following error occurred while executing this line:
C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\icefaces\build.xml:190: Unable to delete file C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\bundle\ICEfaces-EE-2.0.0.Beta-bin\icefaces\ace\tools\smartsprites\smartsprites-0.3.0-dev.jar
[delete] Deleting directory C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\bundle\ICEfaces-EE-2.0.0.Beta-bin\icefaces\lib\myfaces
[delete] Deleting directory C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\bundle\ICEfaces-EE-2.0.0.Beta-bin\icefaces\ace
BUILD FAILED
C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\build.xml:53: The following error occurred while executing this line:
C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\build.xml:183: The following error occurred while executing this line:
C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\icefaces\build.xml:101: The following error occurred while executing this line:
C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\icefaces\build.xml:190: Unable to delete file C:\svn\repo\icefaces-ee2\trunk\icefaces-ee\bundle\ICEfaces-EE-2.0.0.Beta-bin\icefaces\ace\tools\smartsprites\smartsprites-0.3.0-dev.jar
I've adjusted the line (both trunk and maintenance branch) where we delete the "ace" directory for the ICEfaces binary bundle so that it doesn't fail when it gets an error. This way is should continue to work the same on non-Window machines. For Windows bundles, the "ace" directory will remain behind (but can be removed manually if required).
<delete dir="$
{bundle.dir.bin}/ace" failonerror="false"/>