bufanliu / apparat

Automatically exported from code.google.com/p/apparat
0 stars 0 forks source link

Reducer Ant Tast Fails #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am not sure how to setup the build.xml file to work with the Reducer.

Here is the build.xml that I am using...
<reducer in="${dir.bin}/swf.swf" out="${dir.bin}/swf.swf">
    <arg m="true"/>
</reducer>

What do you see instead?
"Use setArgument instead of createArg"

What version of the product are you using? On what operating system?
apparat-1.0.RC8-bin.tar.gz

Please provide any additional information below.

Original issue reported on code.google.com by myid...@gmail.com on 16 Nov 2010 at 9:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Use the parameter mergeABC="true =>
<reducer in="${dir.bin}/swf.swf" out="${dir.bin}/swf.swf" mergeABC="true" />

Ant tasks use long named arguments, maybe i will re-add short version but not 
sure.

Patrick.

Original comment by leclech.patrick on 16 Nov 2010 at 11:10

GoogleCodeExporter commented 9 years ago

Original comment by leclech.patrick on 16 Nov 2010 at 11:14

GoogleCodeExporter commented 9 years ago
Thank you for the prompt response.

When I use the mergeABC option on an SWC library, I get the following error 
message from Flex.

"Unable to load SWC C:\Flex\Project.swc"

The message goes away if I disable mergeABC. Does it mean the mergeABC option 
is not compatible with SWC library?

Original comment by myid...@gmail.com on 17 Nov 2010 at 4:44

GoogleCodeExporter commented 9 years ago
This happens at compile time?

Original comment by joaebert on 2 Dec 2010 at 1:03

GoogleCodeExporter commented 9 years ago
Without further explanation we cannot fix this, sorry.

Original comment by joaebert on 1 Feb 2011 at 7:27

GoogleCodeExporter commented 9 years ago
This happens after I process the SWC file with apparat and try to include the 
modified SWC into another project.

As mentioned, the problem goes away if the mergeABC option is disabled.

Original comment by myid...@gmail.com on 31 Mar 2011 at 6:42

GoogleCodeExporter commented 9 years ago
I have added the merge control flow (mergeCF) option to the ant task.

Original comment by leclech.patrick on 31 Mar 2011 at 8:47