Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5
-
Component/s: Release
-
Labels:None
-
Environment:Operating System: All
Platform: All
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
We now have compressed javascript files, which is a good thing for performance reason. However, it makes it more difficult for debugging and profiling. We have to manually modify the build files avoid minifying the JavaScript files. This takes time and can be error-prone.
A better approach would be to automatically server human-readable / debug versions of all JavaScript files when running in JSF 2 "Development" project-stage. The other project-stages would continue to use minified resource files as they do now.
A better approach would be to automatically server human-readable / debug versions of all JavaScript files when running in JSF 2 "Development" project-stage. The other project-stages would continue to use minified resource files as they do now.
Issue Links
- is duplicated by
-
ICE-1495 Adjusting JavaScript compression
- Closed
Activity
Deryk Sinotte
created issue -
Icefaces Administrator
made changes -
Field | Original Value | New Value |
---|---|---|
issue.field.bugzillaimportkey | 1227 | 12444 |
Ken Fyten
made changes -
Fix Version/s | 1.6 [ 10031 ] |
Ken Fyten
made changes -
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Summary | Allow turning off of compression/obfuscation when building JS (Bridge) code | Make minification of JavaScript configurable |
Salesforce Case | [] | |
Fix Version/s | 3.1.0.BETA2 [ 10336 ] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration] | |
Assignee Priority | P2 | |
Description |
Right now, compression is always on. You can turn it off by commenting out the compression code but it would be nice to have a conditional build property so that when you doing development builds, you can turn all that stuff off and the JS is human-readable. |
We now have compressed javascript files, which is a good thing for performance reason. However, it makes it more difficult for debugging and profiling. We have to manually modify the build files avoid minifying the JavaScript files. This takes time and can be error-prone. A better approach would be to automatically server human-readable / debug versions of all JavaScript files when running in JSF 2 "Development" project-stage. The other project-stages would continue to use minified resource files as they do now. |
Assignee | Mircea Toma [ mircea.toma ] | |
Priority | Minor [ 4 ] | Major [ 3 ] |
Ken Fyten
made changes -
Fix Version/s | 3.1.0.RC1 [ 10337 ] | |
Fix Version/s | 3.1 [ 10312 ] | |
Fix Version/s | 3.1.0.BETA2 [ 10336 ] |
Ken Fyten
made changes -
Link | This issue is duplicated by ICE-6195 [ ICE-6195 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29510 | Thu Jun 14 11:31:16 MDT 2012 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java
MODIFY /icefaces3/trunk/icefaces/compat/core/build.javascript.xml MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js MODIFY /icefaces3/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/application/ExtrasSetup.java MODIFY /icefaces3/trunk/icefaces/core/build.javascript.xml MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/fixjsf.js |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29514 | Thu Jun 14 15:05:21 MDT 2012 | mircea.toma | |
Files Changed | ||||
MODIFY
/icepush/trunk/icepush/core/build.javascript.xml
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29515 | Thu Jun 14 15:12:38 MDT 2012 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/event/BridgeSetup.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29516 | Thu Jun 14 15:13:21 MDT 2012 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/lib/icepush.jar
|
Mircea Toma
made changes -
Comment | [ Should we have un/compressed files in ICEpush library too? ] |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Assignee Priority | P2 | P1 |
Mircea Toma
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #29544 | Tue Jun 19 15:16:30 MDT 2012 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/compat/core/build.javascript.xml
|
Ken Fyten
made changes -
Link | This issue blocks ICE-8250 [ ICE-8250 ] |
Ken Fyten
made changes -
Issue Type | Improvement [ 4 ] | New Feature [ 2 ] |
Salesforce Case | [] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Modified 'core' and 'compat' builds to generate both compressed and uncompressed versions of the JS files. Modified also BridgeSetup and ExtrasSetup to insert the resources corresponding to the uncompressed files while running in Development mode.