Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.1
-
Fix Version/s: EE-2.0.0.GA, 2.0.2
-
Component/s: Bridge, ICE-Components
-
Labels:None
-
Environment:IF 2
Description
When building ICEfaces with uncompressed JavaScript (NO-COMPRESS), the resulting JS causes all kinds of errors in the browser. This used to work until recently, may be related to the recent adoption of YUI-Compressor.
Disabled 'stripjavacomments' Ant filter when 'no-compress=true'. The used to remove comments breaks Prototype code, one of the regular expressions contains '/*' characters which are mistakenly interpreted as JS comments.
With 'no-compress=false' the YUI compressor correctly parses the Prototype code and minifies it as expected.