Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Current version 3.0 beta 2 Authors: Bill Duenskie Rob Rohan (sponsored by Daemon - http://daemon.com.au) Andy Jarrett Background ============ Some background first (as far as I am aware). Bill Duenskie started the project and got it off the ground and running. He then passed it over for Rob Rohan to run with it who has done an excellent job and got it to 3.0 Beta. This introduced the inclusion of other CF engines via the CFEclipse dictionaries which makes it very easy to manage. I then contacted Rob to find out the current situation and have now taken the reign myself. What does this mean though? First and foremost I am not a TextMate bundle creator (yet) but there are snippets of code lying around which needed to be brought together. My first job, which is what took me down this path, is adding Russ Johnson's (@russ_johnson) coding highlighting/folder for scripted components. I've also added the Railo v3 dictionary from CFEclipse. As I am carrying on Rob's work I am keeping this at version 3.0 but calling it beta 2. My plan for this release is to get highlighting, folding and shortcuts standardised and stable. From there a plan for version 4.0 can be drawn up I think. 欢迎 - Welcome ============ 大家好！Welcome to the Railo Textmate bundle. This bit of code will create a [Textmate][textmate] bundle that contains all the tags, functions, and a few basic templates for the CFML language. The input to this process is an XML dictionary file in the [cfeclipse][cfeclipse] dictionary format. This means that if you happen to have a cfeclipse dictionary, you can use this code to create a compliant Textmate bundle (with a bit of tweaking of course). Building ======== There are a few things you'll need before you can compile the code. The first thing you need is [Apache Ant][ant] (Free). Ant comes pre-installed on Mac OS 10.5 Leopard, so you should have that already. Type "ant" in the terminal to see if you have it. If you do not have it, you'll need to [download][ant] and set it up before you can compile. The second thing you'll need is [Saxon 9][saxon] (Free). [Saxon 9][saxon] is an XSLT 2.0 engine. You can use another XSLT 2.0 engine, but you'll need to do some tweaking. After you've [downloaded][saxon] and setup [Saxon 9][saxon], edit the build.xml file to set the correct path to the Saxon jar file. Once both Ant and Saxon are in place, you can build the build with the following command: $ant build Additionally there are some bash scripts that show examples of how you can build releases using other grammars. The `build` task will break up the dictionary and create the Coldfusion.tmbundle. See the `build.xml` for more information. License ======== Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ [saxon]: http://sourceforge.net/projects/saxon/files/Saxon-B/ "Saxon" [ant]: http://ant.apache.org/ "Apache Ant" [cfeclipse]: http://cfeclipse.org "CFEclipse" [textmate]: http://macromates.com/ "Textmate" [railo]: http://www.getrailo.org/ "Railo"