Hi Joa,
I´ve used apparat for several projects in the past, so first thank you for the nice toolset!
Now i have a problem with the apparat subfeature "reducer" using it from inside of FDT4 (4.4.0.22).
When i select to use reducer with lzma-compression enabled after compiling my swf, it outputs it´s expected messages:
------------------
1091245 bytes written to file E:\project\abc.swf in 5528 ms
[APPARAT] 1 Tasks:
1. reducer -l -i E:\project\abc.swf -o E:\project\abc.swf
[APPARAT] Processing reducer
[APPARAT] Creating LZMA compressed file.
[APPARAT] Compression ratio: 8,92%
[APPARAT] Total bytes: 97340
Launching External SWF Viewer
------------------
When I decompile the swf then, it comes up with all my classes and assets as if the lzma/Matryoshka-wrapping has not been applied.
So i tried to use reducer utilising 7z for comparison and that´s the output:
------------------
1091246 bytes written to file E:\project\abc.swf in 6652 ms
[APPARAT] 1 Tasks:
1. reducer -i E:\project\abc.swf -o E:\project\abc.swf
[APPARAT] Processing reducer
[APPARAT] Compression ratio: 8,92%
[APPARAT] Total bytes: 97341
Launching External SWF Viewer
------------------
As you can see the compression-ratio is exactly the same using both compression methods, lzma and 7z: 8,92%.
With my previously created ant using lzma and seperatly downloaded apparat/scala installation I got this output:
------------------
Buildfile: E:\project\apparat.xml
3. reducer (lzma):
[exec] [INFO] Apparat --
http://apparat.googlecode.com/ [exec] [INFO] Launching tool: Reducer
[exec] [INFO] Creating LZMA compressed file.
[exec] [INFO] Compression ratio: 24,78%
[exec] [INFO] Total bytes: 246270
[exec] [INFO] Completed in 7532ms.
BUILD SUCCESSFUL
Total time: 14 seconds
------------------
Using my last try i got that Matryoshka-magic embedded into my swf.
As i can see the (working) seperatly downloaded versions of apparat and scala (1.0 RC9/2.8.1) are identical to the ones shipped with FDT4.
The not-applied-lzma-effect happens under Windows7/32 and OSX 10.6.7
Do you have a hint for me what´s going on?
Thank you, Sebastian