[osflash] as2ant unit test task fix for Macintosh

Chris Allen mrchrisallen at gmail.com
Wed Aug 30 12:15:27 EDT 2006


On 8/30/06, Johannes Nel <johannes.nel at gmail.com> wrote:
> we do this by executing a fscommand after all this are completed.
>
Now why didn't I think of that. :-) Do it on the client side. Great
idea, and it will work across platforms. Seems a little cleaner than
this too:

      private void killMacFlashPlayer() throws IOException {
		Commandline command = new Commandline();
		command.setExecutable("killall");
		command.createArgument().setValue("SAFlashPlayer");
		Execute.launch(getProject(), command.getCommandline(), null,
				getProject().getBaseDir(), true);
	}


Going to try that right now.

Thanks!

-Chris



More information about the osflash mailing list