1004029365 / apparat

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

Feature request: Merge SWC files #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Would it be terribly complicated to add a new feature to Apparat that is able 
to merge two or more swc files into one?
I've been googling around a bit and there doesn't seem to be any tools out 
there capable of doing so.

The functionality would be similar to ILMerge for .NET: 
http://www.codeproject.com/KB/dotnet/mergingassemblies.aspx

I guess the merging would have to take into account classes that appear in 
multiple swc's, so it's not just a matter of merging the all of the ABC files.

Would this be feasible, and would you consider adding this?

Thanks for your time!

cheers,

Roland Zwaga

Original issue reported on code.google.com by ihatelivelyids on 12 Sep 2011 at 10:57

GoogleCodeExporter commented 8 years ago
Hi Roland,

what about the reducer tool which can already merge ABC files inside a single 
SWC. In fact you can use the exact same code to build a small script which 
merges multiple SWC files into one.

Does that work for you?

Original comment by joaebert on 13 Sep 2011 at 2:23

GoogleCodeExporter commented 8 years ago
Hey Joa,

aha, I wasn't aware of this reducer functionality, I'll give it a shot when I 
find the time. Thanks for the tip!

cheers,

Roland

Original comment by ihatelivelyids on 18 Sep 2011 at 5:44

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I am interested in this feature too but don't see the doc on reducer.  Do you 
have an example of script that merges multiple SWC into one?  Thanks!

Original comment by lauren...@gmail.com on 8 Nov 2011 at 4:56

GoogleCodeExporter commented 8 years ago
Perhaps it would be useful for someone. 
compc from FlexSDK(4.5) with option "-compiler.include-libraries" already can 
merge swc files.
Example:
   compc -compiler.include-libraries=MonsterDebugger-2.5.1.swc,robotlegs-framework-1.3.0.swc -o lib.swc
Good luck!
Eugene

Original comment by Nitro.bin on 18 Nov 2011 at 5:21