[mtasc] Bug: Spaces in classpath on OS X

Daniel Wabyick dwabyick at fluid.com
Wed Jun 8 17:53:24 CEST 2005


One thing I have noted on OSX, at least when I used mtasc 1.04 and ASDT 
0.0.7  - . If you cut-and-paste the command-line output from the MTASC 
panel in Eclipse and run it in a bash Terminal window, mtasc compiles it 
correctly. Therefore, I think its a matter of how Java is passing the 
cmdLine string to Runtime.exec(). 

I wonder if it would help to escape spaces *within* each classpath 
entry? I'll have to try that when I get home.



Steve Webster wrote:

> Hi Nicolas,
>
> [Mail crashed when sending this so I'm resending. Sorry if you get a  
> duplicate]
>
>> Quotes should be ok. You don't need to escape spaces.
>
>
> That's what I thought, but I tried quotes both with and without  
> escaping with no joy. FWIW this problem exists on Linux too.
>
>
>> But obviously it depends on your commandline interpreter syntax.
>
>
> Either escaped...
>
> this/is\ a/path\ with\ spaces
>
> ...or quoted...
>
> "this/is a/path with spaces"
>
> ...works fine for every other command in OS X, so I suspect it's a  
> bug in the MTASC commandline interpreter.
>
> Cheers,
>
> Steve
>




More information about the mtasc mailing list