Thanks guys, the flashout spaces issue was the problem.
Right now I've abandoned eclipse/mtasc anyway, deadlines and all.
But now I know how to get it working, I'll look into using it
properly after this project, and explore Ant a bit more too.
On 2 Apr 2006, at 03:06AM, Chris Allen wrote:
Oh yes, the old Flashout on Macintosh problem; sorry that I didn't
realize that was what you were referring to. I haven't been using
Flashout; I find that Ant just works better for my work flow. Many
others seem to agree. Anyway, if you are interested there are some
excellent Ant utilities for building Flash from as2lib called as2ant
that might be of interest. You can find more information on that
here: http://osflash.org/ant
-Chris
On 4/1/06, Alain Rousseau <[EMAIL PROTECTED]> wrote:
Escaping spaces is fine in the Terminal, but not in Eclipse using
Flashout. That's the issue here, how to define the Class Path in
Eclipse.
I've read a post about it at
http://www.pixelmotive.de/blog/archives/2005/06/fame_on_mac.php
Basically what it says is to create a shell script that "catches the
call to mtasc then echoes the full mtasc command line into a seperate
shell scripts and returns mtasc's output".
Here is a shell script that works for me, you can save it anywhere
and
give it a name with the .sh extension
make it executable like this
chmod a+x locmtasc.sh
and here is the shell script itself
#!/bin/sh
echo "#!/bin/sh" > subc.sh
echo "/usr/local/bin/mtasc $@" >> subc.sh
chmod a+x subc.sh
./subc.sh
exit $?
note that the shell will create a shell file for you, you don't
need to
create an empty one yourself.
once this is done go in the Eclipse Preferences -> Flashout
in the "Location of mtasc.exe" enter the path to your locmtasc.sh :
/Users/username/Documents/workspace/locmtasc.sh
and voilĂ you sould be able to make Flashout work with mtasc
The thing is that Eclipse adds quotes around the Macromedia Class
Path,
but it fails to parse correctly through Flashout. With this shell
script
the problem is solved.
Alain
Regards,
Sam Thorne
Interaction Design
Web: http://www.native.com/
Tel: +44 (0)207 588 7970
Fax: +44 (0)207 588 7971
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com