[mtasc] feature request: compile a single class

Ralf Bokelberg info at bokelberg.de
Mon Jun 6 22:52:43 CEST 2005


Hi Daniel,
this is very easy.
All we have to do is filtering the classname in the generation phase. 
I'll post it at http://osflash.org/doku.php?id=mtaschacks

Cheers,
Ralf.

Daniel Fischer wrote:

> hi nicolas,
> 
> i'd like to request a way to have MTASC compile a single class and
> ignore all others (without having to specify an -exclude file). in
> this mode, it should use the imported classes only to check syntax,
> but not actually compile those.
> 
> why? it would allow me to set up a more "traditional" build system,
> where single classes are recompiled once the source changes, but not
> any earlier, and thereafter "link" them together with swfmill.
> 
> i can see we might run into trouble with the ordering of the classes
> in the final swf-- what are your thoughts about that? if it's only
> about assigning unique ids to the sprites (and the actual order doesnt
> matter), that is solved with swfmill's swf import.
> 
> -dan
> --
> MTASC : no more coffee break while compiling



More information about the mtasc mailing list