In Per´s lession 1 of his flex development tutorial he showed us a build setup - it is a bit outdated by now as the israfil plugin moved to google code and the sateh repository doesn't exist anymore. It also only contained the flex module and no war sample showing how easy it is to deploy the flex application.
I took the liberty to create my own template consisting of a multimodule build:
- Flex module - looking prettymuch the same as Per´s.
- War module - depending on the flex module wrapping the swf file into a war ready to deploy.
I find the template useful when starting a flexproject from scratch and maybe you will too?
Download the flex-template
For more information about the israfil plugin click here