Sunday, July 23, 2006

Flex 2 Compiler (mxmlc) on OS X - No Spaces in Filenames

The Mac version of mxmlc that ships with the Flex 2 SDK does not support spaces in filenames, or so it seems. This is inconvenient to say the least, since the default name of your hard drive on OS X systems is "Macintosh HD". If you have a space in your filename, mxmlc can't find the file - it thinks that the full path to the file is the part after the last space. I'm presently seeking a workaround, but no amount of escape sequences or quotes seems to help.

Was this post helpful to you? If so, please consider making a small donation to keep this blog going.


Anonymous Brian Deitte said...

bin\mxmlc is just a sh script, so you can look at it and edit it. That's probably where the bug is. Looking at it right now, I'd suggest changing the VMARGS line in the file to have quotes around FLEX_HOME (ie, '$FLEX_HOME').

6:34 PM  
Anonymous Anonymous said...

you could just cd into the directory where your .as file is located then reference it just using its name, Ive been developing using Flex 2 on the mac for many months with complete success in this fashion.

1:40 AM  
Blogger tom said...

Thanks for the tip Brian! I'm not a shell scripter by any stretch of the imagination, but I was able to get this working by modifying the last line in the file from:

java $VMARGS -jar $FLEX_HOME/lib/mxmlc.jar $*


java $VMARGS -jar $FLEX_HOME/lib/mxmlc.jar "$*"

7:15 PM  
Blogger tercumenette said...


1:04 AM  
Anonymous Anonymous said...

夫 浮気
ストーカー 調査
フェイシャル 麻布十番
英語 勉強
税理士 東京
高収入 アルバイト
高収入 アルバイト
結婚式 ウェルカムボード

8:11 AM  
Anonymous Anonymous said...


12:58 AM  
Anonymous Anonymous said...

I like your blog. Thank you. They are really great . Ermunterung ++ .
Some new style Puma Speed is in fashion this year.
chaussure puma is Puma shoes in french . Many Franzose like seach “chaussure sport” by the internet when they need buy the Puma Shoes Or nike max shoes. The information age is really convenient .

By the way ,the nike max ltd is really good NIKE air shoes ,don’t forget buy the puma mens shoes and nike air max ltd by the internet when you need them . Do you know Nike Air Shoes is a best Air Shoes . another kinds of Nike shoes is better . For example , Nike Air Rift is good and Cheap Nike Shoes .the nike shox shoes is fitting to running.

Spring is coming, Do you think this season is not for Ugg Boots? maybe yes .but this season is best time that can buy the cheap ugg boots. Many sellers are selling discounted. Do not miss . Please view my fc2 blog and hair straighteners blog.
.thank you .

I like orange converse shoes ,I like to buy the cheap converse shoes by the internet shop . the puma shoes and the adidas shoes (or addidas shoes) are more on internet shop .i can buy the cheap nike shoes and cheap puma shoes online. It’s really convenient.
Many persons more like Puma basket shoes than nike air rift shoes . the Puma Cat shoes is a kind of Cheap Puma Shoes .
If you want to buy the Cheap Nike Air shoes ,you can buy them online. They are same as the Nike Air shoes authorized shop. Very high-caliber Air shoes and puma cat shoes . the cheap puma shoes as same as other.

polo shirts

ralph lauren polo shirts
chaussure puma

chaussure sport

chaussures puma

puma CAT

ed hardy clothing

ed hardy clothes

ed hardy womens

ed hardy sunglasses

ugg boots

cheap ugg boots

1:37 AM  

Post a Comment

Links to this post:

Create a Link

<< Home