[mtasc] Bug: Spaces in classpath on OS X

Ralf Bokelberg info at bokelberg.de
Wed Jun 8 12:23:22 CEST 2005


Maybe it helps to define a symlink without spaces?

Cheers,
Ralf.


Steve Webster wrote:
> 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
> 
> 
> As you can see, the spaces in the paths are properly escaped with  
> backslashes.
> 
> 
> I've also tried enclosing the path in quotes, both with and without  
> backslashes:
> 
> 
>  > 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\
> 
> 
>  > 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
> 
> 
> I'm pretty certain this was working before, but I can't be 100% sure.
> 
> Cheers,
> 
> Steve
> 



More information about the mtasc mailing list