pasterstars.blogg.se

Compile java mac os x
Compile java mac os x







compile java mac os x
  1. COMPILE JAVA MAC OS X HOW TO
  2. COMPILE JAVA MAC OS X MAC OSX
  3. COMPILE JAVA MAC OS X INSTALL
  4. COMPILE JAVA MAC OS X UPDATE
  5. COMPILE JAVA MAC OS X PC

At the top of the second workflow item (Run AppleScript) you will find a cmdLineParams variable declaration that you can update to suite your needs. You can easily customize the command line params used by flCompile (or the other workflows) by double clicking on the workflow file to open it in Automator. To change the subdirectory, see the Customizing flCompile section below.įor more information, view this entry on the gBlog: The httpTest command lets you develop in a subdirectory (“as3/” by default) of your “~user/Sites/” directory and compile and test using the localhost address. Instead, you can turn on “Personal Web Sharing” in the “Sharing” control panel, and use the web server built into OSX to test. The only solution I found was to test content on a web server, which can be a pain if you have to upload via FTP every time. You may have to create the “Workflows/Applications/Finder” directories if they do not exist.Ģ) Make sure it is working by clicking on an AS3 or Flex2 MXML file in the finder, then right clicking (or control clicking) on it and selecting “flCompile” from the Automator submenu.įlCompile and httpTest was added on January 3 in response to a problem in the Mac 8.5 player preventing loads from working properly locally.

COMPILE JAVA MAC OS X INSTALL

Once that’s working, you just need to install the flCompile workflow files:ġ) Move the “flCompile.workflow” and “flCompile and Test.workflow” files into your “Library/Workflows/Applications/Finder” directory. It should give you compiling messages, and generate a “HelloAS3.swf” file in your Home directory. Java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks -file-specs helloas3.as Install the 8.5 player using the dmg file.Ĥ) Verify that everything is working by copying the “HelloAS3.as” included with flCompile to your home directory, and executing the following command in the Terminal: This should allow you to compile AS3 and Flex2 MXML files via the command line. You’ll probably also want to copy the “Install Flash Player 8.5 OSX.dmg” file from the “Player/Version 8.5 alpha 1/Debug” directory in the install directory.ģ) Rename the “Flex Framework 2 Alpha 1” directory on your Mac to “flex”, and move it to your home directory (your user directory ex.

COMPILE JAVA MAC OS X PC

Macromedia doesn’t offer any official support for doing this, so it is a little involved:ġ) Using a PC or VirtualPC (I used the latter), download and install the Flex 2 Alpha (full install) from Ģ) Open the directory it was installed in (usually C:\Program Files\Macromedia\Flex Builder 2 Alpha 1), and copy the “Flex Framework 2 Alpha 1” directory to your MacOSX 10.4 computer. If you selected the “flCompile and Test” command, it will open a prompt asking you if you’d like to launch the compiled SWF – you MUST wait until the compile is done in the Terminal before clicking OK!įirst, you must set things up so that you can compile AS3 and Flex2 MXML files on OSX. The command will launch the terminal and execute a command to begin compiling the file.

compile java mac os x

Once you have installed these workflows (see below), you can simply select an AS3 or MXML file in the finder then right click (or control click) it and select one of the flCompile workflows from the “Automator” submenu.

COMPILE JAVA MAC OS X MAC OSX

The flCompile context menu workflows allow you to compile and test AS3 and Flex2 MXML files in Mac OSX Tiger (10.4) without having to use the command line directly.

compile java mac os x

I have tried my best to make sure they are totally safe, but I am not an AppleScript expert or a command line guru. I take absolutely no responsibility for any problems you experience or damages (direct or indirect, including but not limited to loss of data) caused by using these workflows. Please read the ReadMe file – the contents of which follows: You can download it by clicking here (10kb). It’s still a little rough around the edges, and it’s nowhere near as nice as working in FlexBuilder2, but it works! I also fleshed out the instructions for getting command line compiling working on the Mac. The result is a contextual menu plugin that will compile AS3 and Flex 2 MXML files, then open them in Safari for testing.

compile java mac os x

I’m a Mac user though! Commandlines are for lesser OSes! Refusing to stoop to typing arcane commands into the Terminal, I instead spent my evening learning to use Automator and the rather eccentric AppleScript language to build a solution.

COMPILE JAVA MAC OS X HOW TO

Fortunately, I stumbled upon this page via this blog entry by Robin Hilliard, which explains how to compile ActionScript 3 and Flex 2 on the Macintosh using the command line. There are a lot of things I want to play with in AS 3 and Flex 2, but there’s one problem: I’m using Mac OS X, and FlexBuilder 2 is only available for Windows right now.









Compile java mac os x