I blogged about Cairngen a few hours back and I have that up and running now. Following are instruction to get that running:
- Down the project from Google project
- You need to some additional JARs as well:
- Mozilla Rhino (JavaScript libraries)
- Jacarta BSF
- One of the blogs also called out that you may need commons-logging-1.1.1.jar (through I already had that in my classpath
- To provide the details, of the code generation, you would need to modify the project.properties files.
- Now you can run the ant build -> ant main, which will provide you with the basic setup of the folders
- When you are ready to generate files, you can use one of the following targets:
- create-multiple-sequence-exclude-delegate: Generates the commands with-out the business delegate layer
- create-multiple-sequence-include-delegate: Generates the business delegate layer as well
My reviews on the library/tool:
Positives
- Nice to have in your arsenal as provides you with most of the plumbing;
- Fast and easy to get up and running
Deltas
- Having to mention the command/events in the properties file is not going to scale for larger enterprise based solutions
- Same project/folder can not be used with different Flex applications. Though you can set up different projects, but needs plumbing there. There can be quick ways to manage that in Ant
- Not having a GUI is a turn-off for me. You can not link
Hi,
Cairngen seems to be a great tool. However, if you’re looking for a Flex/Cairngorm code generator, you may also be interested in my FCG application. You can find it there :
http://www.dehats.com/drupal/?q=node/7
I looked at FCG and i find that this is still an infant. Are there any collaborative development opportunities?