Talk:Flex Compiler Shell
From Adobe Labs
| Table of contents |
Welcome!
Welcome to the Flex Compiler Shell discussion page on Adobe Labs. Please enter your comments regarding this technology here. To help identify the author of comments, please create a new section and use ~~~~ at the end of your talk entries to automatically create a signature.
Comments should be added in list format, but feel free to add your comment under an existing comment to follow a thread structure. If you are responding to a thread, please use the H3 style for your subject (=== TEXT ===) so that the page is easier to read.
Nick 8:00, 28 Mar 2007 (PST)
Fcsh won't accept paths of any kind with quotes, so this doesn't work:
mxmlc "C:\Documents And Settings\Administrator\My Documents\Flex Project\HelloWorld.as"
Mxmlc by itself handles quotes just fine. You can work around this by using the old windows "short file names" like C:\PROGRA~1... but of course you have to get those from the system somehow (win32 function GetShortPathName)
Daniel T 12:19, 24 Jan 2007 (PST)
Couple of things I notice: You can't press up-arrow in fcsh to go back through the command history (this is a problem in fdb too).
- If you're on Linux/Mac here's a great tip: http://hackmap.blogspot.com/2008/02/flash-vi-fcsh.html - use `rlwrap fcsh` instead of fcsh
You can't specify the output target directory/filename like you can with mxmlc (just as an anonymous argument after the name of the mxml file) you must use --output
ChivertonT 02:18, 25 Jan 2007 (PST)
One problem: if I want to call fcsh from Textmate Situation: I build flex apps via flex sdk right from TextMate. I use cmd-b to build with Daniels textmate bundle. Now how to call fcsh (again) from outside the terminal?
philmaker August 15, 2007
It is possible to call and use fcsh in a non-interactive manner. However, I should say that Adobe is a software company primarily for creatives and I'm sure they appreciate when you purchase the Flex Builder tool. It has lots of helpful features beyond fcsh. With this product placement out of the way, I have located a collection of scripts which provide an fcsh server and a means to connect to it via a secondary script. I have also tested under Mac OS X 10.4.10. http://blog.vixiom.com/2007/03/27/set-up-eclipse-to-compile-mxml-as3-quasi-flex-builder-for-os-x/#comment-21637 http://www.vim.org/scripts/script.php?script_id=1793
philmaker August 17, 2007
Started work on a project to wrap fcsh to allow its use in an automated fashion - e.g. you don't have to manually interact with the shell. In progress. Your contributions are welcome.
http://code.google.com/p/mac-applescript-devtool/downloads/list
John Ellithorpe 17:13, 29 Mar 2007 (PDT) My configuration requires me to point to a different flex-config.xml file using the -load-config option. There is no ability to load aliases or define functions, so I need to retype the full commands each time.
- Angelo Selvini 10:14, 19 May 2007 (PDT)
- I agree, I have the same problem: different flex-config files and long paths. A configuration file where to define sets of jobs could be very useful.
Jeff Simpson 10:21, 17 Apr 2007 (MST) Great tool! It definitely speeds up development, well sorta. Any chance we could get readline type support? Would make using it from Eclipse as a running console much easier (as opposed to having to type compile <n> everytime).
Ant integration
How can we integrate this with ant, is there or will there be a possibility to do so?
Solution to the command-history problem
this is an implementation of: http://wooledge.org/mywiki/BashFAQ#faq85 the idea is to feed fcsh via fifo which allows you to work in Bash (and it's features) while using fcsh at the same time.
$ mkfifo fcsh.fifo
$ fcsh <fcsh.fifo&
$ exec 3>fcsh.fifo
$ function _fcsh { echo "$@" >&3; }
then you use _fcsh and you're still in Bash.
Samus_ 16:25, 6 Oct 2007 (PDT)
Are there any ways to use fcsh with Ant in Eclipse? sascha/hdrs 21:25, 17 Nov 2007 (PST)
fcsh connector for ant
hi there,
here is an eclipse pugIn which allows you to use fcsh with ant / build.xml.
best regards Saban Ünlü [netTrek]
another wrapper over fcsh on sourceforge
Since iFac is not useful outside eclipse and the license they use do not permit source modifications, i created another wrapper that is available on sourceforge ant that permits you to change the code in any way you want: http://fcshwrapper.blogspot.com/ or http://sourceforge.net/projects/fcshwrapper/
fcsh wrapper for Eclipse
There is another FCSH-Wrapper for Eclipse available: http://blog.bigsource.de/index.php/2008/05/29/eclipse-fcsh-wrapper-plugin/ The plugin runs as an background process in Eclipse. It also have code completion for all compiler tasks and you don't need admin rights.
