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
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25049 | Fri Jul 15 11:28:52 MDT 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/build.xml
MODIFY /icefaces2/trunk/icefaces/build.xml |
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Assignee Priority | P2 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | EE-2.1.0 [ 10262 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | EE-3.0.0.BETA [ 10324 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |
The theory was that, during the bundling process, the smartsprites.jar was added to the classpath to actually execute a process to generate the sprites After Googling a bit, I found this forum entry that likely explains what is going on:
http://www.coderanch.com/t/108053/tools/unable-delete-or-rename-old
"If you use any classpath in any target of your build on your Windows machine,
you should never try to delete any of the jars that are used in these classpaths
at any time later during this Ant build because all the jars remain locked. "
So if the smartsprites.jar is being used on the classpath to actually "do" something, we can't delete it on Windows.