- Create new Roo Project
- persistence setup --provider HIBERNATE --database H2_IN_MEMORY
- flex setup
- Add the required entities and fields
- Now go to command prompt and run mvn eclipse:eclipse
- ex: C:\Documents and Settings\suresh.paleti\Documents\workspace-sts-2.3.3.M2\rooexample>mvn eclipse: eclipse
- Now open eclipse and refresh the project
- In the src/main/webapp/ you should see the swf files if you are not able to see them then clean the project (click on Project > clean...), now you should see the swf files.
- Once you are done go to command prompt and run mvn clean install
- ex: C:\Documents and Settings\suresh.paleti\Documents\workspace-sts-2.3.3.M2\rooexample>mvn clean install
- Now in the target folder you should be able to see the war file. Copy this war and deploy in tomcat webapps folder and start the server.
- Finally go to flash builder perspective, right click on the project and run as > Web Application. That's it you should be able to see the flex application running.
Note: ctrl + R (popup to type roo command)
No comments:
Post a Comment