Getting started with Spring Web Flow Plugin in 2 minutes

From Clickframes

Requirements

The only requirements for running Clickframes are:

  • Maven version 2.0.9 or higher
  • Java version 1.6

If you don't meet these requirements, see the Java and Maven page.

How-to start a new project using the Clickframes Spring Web Flow Plugin

  • Goto the parent directory where you would like to create your new project
cd ~/workspace/
  • Create a new project by typing the following command. Feel free to change "myprojectname" and "com.mycompany".
mvn archetype:generate -DinteractiveMode=n -DarchetypeArtifactId=clickframes-swfarchetype -DarchetypeGroupId=org.clickframes -DarchetypeRepository=http://nexus.clickframes.org/nexus/content/repositories/releases -DarchetypeVersion=0.9.7 -Dversion=1.0-SNAPSHOT -DgroupId=com.mycompany -DartifactId=myprojectname
  • This will create a new directory called "myprojectname". Go into that directory.
cd myprojectname
  • Generate your application by using the built-in Clickframes Spring Web Flow Plugin.
mvn org.clickframes:clickframes-maven-plugin:generate
  • Start your application using the embedded Jetty container.
mvn jetty:run
  • View your application by pointing your browser to the following URL
http://localhost:8080/myprojectname/