Details
Description
And how come we're not smallifying these files, or at least stripping out redundant whitespace?
-
- build.xml
- 12 kB
- Krashan Brahmanjara
-
- build.xml
- 22 kB
- Krashan Brahmanjara
-
Hide
- compressor.jar
- 699 kB
- Krashan Brahmanjara
-
- META-INF/MANIFEST.MF 0.2 kB
- org/mozilla/classfile/ByteCode.class 7 kB
- org/mozilla/.../ClassFileField.class 1 kB
- org/mozilla/.../ClassFileMethod.class 1 kB
- org/mozilla/.../ClassFileWriter.class 25 kB
- org/mozilla/classfile/ConstantPool.class 7 kB
- org/mozilla/.../ExceptionTableEntry.class 0.6 kB
- org/mozilla/.../FieldOrMethodRef.class 1.0 kB
- org/mozilla/javascript/Arguments.class 6 kB
- org/mozilla/.../BaseFunction.class 12 kB
- org/mozilla/.../BeanProperty.class 0.6 kB
- org/mozilla/javascript/Callable.class 0.3 kB
- org/mozilla/javascript/ClassCache.class 3 kB
- org/.../ClassDefinitionException.class 0.5 kB
- org/mozilla/.../ClassShutter.class 0.2 kB
- org/mozilla/.../CompilerEnvirons.class 3 kB
- org/mozilla/javascript/Context.class 36 kB
- org/mozilla/.../ContextAction.class 0.2 kB
- org/.../ContextFactory$Listener.class 0.3 kB
- org/mozilla/.../ContextFactory.class 6 kB
- org/mozilla/.../ContextListener.class 0.4 kB
- org/mozilla/javascript/DToA.class 13 kB
- org/mozilla/javascript/Decompiler.class 14 kB
- org/mozilla/.../DefaultErrorReporter.class 2 kB
- org/mozilla/.../DefiningClassLoader.class 1 kB
- org/mozilla/javascript/Delegator.class 4 kB
- org/mozilla/javascript/EcmaError.class 2 kB
- org/mozilla/.../ErrorReporter.class 0.3 kB
- org/mozilla/.../EvaluatorException.class 1 kB
- org/mozilla/.../FieldAndMethods.class 2 kB
Issue Links
- blocks
-
ICE-2883 Extremal size of ice-extras.js and icefaces-d2d.js files!
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Yes, we need to switch to YUI Compressor ( http://developer.yahoo.com/yui/compressor/ ).
Replace Dojo compressor with YUI compressor (version 2.3.5).
Refactor build file.
icefaces-d2d.js – before=84Kb; after=76Kb
ice-extras.js – before=248Kb; after=200Kb
The problem started somewhere after revision 15853.
At this moment good solution is
- change current /src/bridge/build.xml to /src/bridge/build.xml from revision 15583
- change current /src/bridge/compressor.jar to /src/bridge/compressor.jar from revision 15583
- change current /src/core/build.xml to /src/core/build.xml from revision 15583
After this scripts got correct size
- src\bridge\build\ice-extras.js has 252 943 bytes
- src\bridge\build\icefaces-d2d.js has 84785 bytes
Compressor from revision 15853
Bridge build from revision 15853
Core build from revision 15853
In comment above I suggest to cancel changes in build.xml files from revisions 16024,16025,16026,16060.
These changes was not necessery.and finally results was 3MB javascripts.
Any suggestions on how to best achieve this?