Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Running .app on Mac OSX (a bit O/T)

Running .app on Mac OSX (a bit O/T)

2007-06-12       - By Martin Gainty

Good Afternoon Paul

Trying to get this same scenario working in Flex ActionScript but can't get
any information from Adobe on how to configure ActionScript in Apache
httpd.conf

M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message -----
From: "Paul Barnes-Hoggett" <pbh@(protected)>
To: <user@(protected)>
Sent: Tuesday, June 12, 2007 12:15 PM
Subject: Running .app on Mac OSX


> Hi all,
> I have an ant script that's been working on Win XP, and I'm trying to get
> it working on a Mac.
>
> Basically, I want to run an app (its a swf player) that writes contents
> out
> to a file, then closes. Ant waits till the process has finished, then
> reads
> the file. So, on Win XP, this works:
>
> <target name="runTest" description="runs the test harness"
> depends="compileTest">
>            <exec executable="${debugPlayer}" spawn="no" >
>             <arg line="'${testHarness.swf}'"/>
>            </exec>
> </target>
>
> But from what I have found on a mac, I have to use the 'open' command like
> this:
>
>    <target name="runtestosx" description="runs the test harness">
>            <exec executable="open" spawn="no" >
>                <arg line="${debugPlayer}}"/>
>                 <arg line="'${testHarness.swf}'"/>
>            </exec>
>    </target>
>
> The problem is that the ant script continues when the 'open' command
> completes, not when the app actually closes.
> Does anyone have any suggestions for how I might attack this problem?
> Quite
> new to ANT, so any help would be much appreciated
>
> Thx
>
> PBH
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.