Thursday, February 14, 2008

Deploy Flex App as a WAR file on Tomcat.

1. Build the Flex app, say "HelloWorld".
2. Create a temp directory.
3. Copy everything out of the Flex HelloWorld bin directory to temp.
4. In temp create a META-INF and WEB-INF directory.
5. In temp type: jar cvf HelloWorld.war *
6. Use the Tomcat Manager web application to deploy the HelloWorld.war file.

No comments: