[mtasc] Re: Exclude - what does it really do

John Grden neoriley at gmail.com
Mon Jan 30 15:33:38 CET 2006


I found this from Till:

by Till Schneidereit
<http://www.nabble.com/forum/Search.jtp?user=12790> 2005-07-18
12:22   Reply <http://www.nabble.com/forum/Reply.jtp?post=429458> | View
Threaded<http://www.nabble.com/util/Redirect.jtp?url=http%3A%2F%2Fwww.nabble.com%2FMTASC-exclude---entire-package-content-t154258.html%23a429458>

> I think it would be useful to offer this in the next version.  This way
you
> could also get rid of the -mx flag and a user could accomplish the same
thing
> like this:
> -*exclude* "mx.*"

Well, not exactly. AFAIKT, the -mx flag works like a combination of your -*
exclude* "mx.*" and a special version of -keep, that keeps only classes in
the mx package.

It would be nice if one could supply a list of classes or packages not to
remove from the swf (or recompile) as a parameter to -keep, though. This
way, -mx could be simulated by
-*exclude* "mx.*" -keep "mx.*"
(or whatever similar syntax, a one-entry-per-line file would work best, I
suppose)

cheers,
till

Is that possible in the 1.11 release?  Or something similar?  Without
something like this, I can't use mCom components or Xray in the library etc

On 1/30/06, John Grden <neoriley at gmail.com> wrote:
>
> in reading the explanation on the main site for MTASC, I'm not sure I'm
> using it correctly.
>
> I want to preserve a component's classes that are already compiled with
> the SWF, while updating all the other classes in the SWF.
>
> I was thinking that Exclude would leave that package intact with this
> syntax in a text file:
>
> com.blitzagency.xray.*
>
> here's the cmd line:
>
> mtasc -swf panel.swf -mx -cp "D:/DEV_Source/classes" -cp
> "D:/DEV_Source/classes/com/blitzagency/util" -cp
> "D:/DEV_Source/classes/com/blitzagency/flash/extensions/mtasc" -cp
> "C:/Documents and Settings/John/Local Settings/Application
> Data/Macromedia/Flash 8/en/Configuration/Classes" -exclude
> "D:/DEV_Deploy/classExcludes.txt" Main.as
>
> the swf compiles fine, the Xray component IS in the compiled swf, but it's
> classes are not present (confirmed with ASV).  So, i'm thinking I've
> confused the usage of -exclude.
>
> What should I be using to preserve those classes if not -exclude?
>
> Thanks for your help,
>
> --
> John Grden - Blitz




--
John Grden - Blitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/mtasc/attachments/20060130/2efe4674/attachment-0003.htm


More information about the mtasc mailing list