please share your build script so we can help you. Which operationg
system are you using?
7-Zip on MAC might be problematic if I recall correct and you need so
specify the 7z executable manually using one of the hidden gems[1].
It is also hard to explain why something might get bigger if reducer
does not run, but some kind of TDSI. The 4kb added look like the LZMA
overhead.
The code for the LZMA decoder requires at least 4kb so you should only
use it for big SWF files.
Best,
Joa
[1] http://code.google.com/p/apparat/wiki/HiddenGems
Joa - Thanks I'll look into the hidden gems URL, sounds promising.
Will let you know the results. What you say about the LZMA overhead
makes complete sense. I was just running the "apparat-ant-example"
from googlecode as a test and those files it looks like are small.
Simon - I can confirm that I have the p7zip port in my path and can
run both 7z and 7za from command line. I also have apparat in my PATH
as I can call apparat (or reducer, tdsi, etc) from the command line
too.
I've had problems where eclipse wouldn't pick up my PATH variables on OSX, try in the command line - just a thought.
It still can't find reducer in ANT though...even running the build
from command line. TDSI works. For running reducer, I'm just using the
example ant build file and added the following:
<reducer in="${dir.bin}/example-apparat.swf"
out="${dir.bin}/example-reduced.swf" mergeABC="true" />
Will have to do some more searching...it feels like Eclipse should be
able to pick up the PATH you have set and can access via the
terminal...
On Wed, May 4, 2011 at 11:28 AM, Simon Richardson <stick...@gmail.com> wrote:
> Either add a property file or add a property directly... either way it's annoying!
>
>
<target name="folder">
<exec executable="mkdir">
</exec>
</target>
<target name="apparat">
<exec executable="apparat">
</exec>
</target>