[mtasc] Bug: Spaces in classpath on OS X

Nicolas Cannasse ncannasse at motion-twin.com
Wed Jun 8 11:56:56 CEST 2005


> Hi Nicolas,
> 
> Not sure if this is a new bug or if I've just never tried to use  
> MTASC this way before, but I'm having problems with paths with spaces  
> in them being used with the -cp switch.
> 
> The following command results in a class not found error:
> 
>  > mtasc -mx -main -swf TreeTest.swf \
>  > -cp ~/Library/Application\ Support/Macromedia/Flash\ MX\ 2004/en/ 
> Configuration/Classes \
>  > TreeTest.as
> 
> (unknown) : type error class not found : Support.Macromedia.Flash

Quotes should be ok. You don't need to escape spaces.
But obviously it depends on your commandline interpreter syntax.

Nicolas



More information about the mtasc mailing list