What do you have on your Mac now? If you copied over the FlexBuilder installation from a Windows machine, you can just take mxmlc and compc from the bin directory of the sdk and copy them into the FlexBuilder bin directory.

 

If you run mxmlc from the bin directory, it will automatically find flex-config.xml. It will also automatically find the frameworks folder for linking. All that’s left to specify is the file to compile. Since the –file-specs argument is the default argument, you can omit it.

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bolo Michelin
Sent: Wednesday, April 05, 2006 2:05 PM
To: [email protected]
Subject: Re: [flexcoders] Flex 2 on Mac OS X

 

Hello Tobias,

i am not sure to understand all :)

>You can avoid the "java –jar" stuff if you download the Flex 2 SDK from labs.adobe.com. They provide shell scripts ("mxmlc" and "compc") that wrap all that stuff up very nicely.

I must dowload The Flex 2 SDK so I delete my folder with my last version of Flex ?

 Also, because the scripts run from the bin/ directory, they will find the default flex-config.xml without you having to specify it on the  command line.

 

Your command would change to:

 

mxmlc helloas3.as

 

Much simpler.


Before it was
java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks -file-specs helloas3.as <http://helloas3.as>

and now only that

 
mxmlc helloas3.as

 

Bolo


 

 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to