Setup - Windows‎ > ‎

Spring ROO



Spring ROO


Download and unzip spring-roo-1.2.0 from http://s3.amazonaws.com/dist.springframework.org/release/ROO/spring-roo-1.2.0.RELEASE.zip


NOTE: Read through the spring-roo-1.2.0.RELEASE\docs\pdf\spring-roo-docs.pdf



Enter the \spring-tool-suite-3.0.0.RELEASE-e4.2-win32-x86_64\springsource\spring-roo-1.2.0.RELEASE\bin path into the PATH variable of the system environment




Open up a command prompt ...




after installing, go to a command prompt and type "roo",  the above disply shows roo is installed correctly.

Note the ROO version.

before going into the next step, make sure .....

    • mysql database has the mycp schema fully populated as specified in previous chapter <TODO>.
    • the database is accessible by the root user with password as "password", or change the user/password at <your mycp src location>\src\main\resources\META-INF\spring\database.properties



go to the location where you have downloaded the mycp source files and type in roo.

in sometime, you should be able to see that roo is checking the database and updating the local source files and doing database reverse engineering.




then do a perform clean and then a perform package

Now Maven will dwnload all teh needed jar files into your local maven repo and build mycloudportal war file.


if you get some maven dependency issues, you can download those specific jar files and add it manually using the below command.


mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> \

   -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>


below is the list of jars which needs manual import into the local mvn repo since they do not have any publicly accessible repo of their own.


mvn install:install-file -Dfile=./juel-2.1.0.jar -DgroupId=de.odysseus.el -DartifactId=juel -Dversion=2.1.0 -Dpackaging=jar -DgeneratePom=true 

mvn install:install-file -Dfile=./vcloud-1.5.jar -DgroupId=com.vmware -DartifactId=vcloud -Dversion=1.5 -Dpackaging=jar -DgeneratePom=true 

mvn install:install-file -Dfile=./rest-api-schemas-1.5.jar -DgroupId=com.vmware -DartifactId=rest-api-schemas -Dversion=1.5 -Dpackaging=jar -DgeneratePom=true 

mvn install:install-file -Dfile=./vijava-5.0.jar -DgroupId=com.vmware -DartifactId=vijava -Dversion=5.0 -Dpackaging=jar -DgeneratePom=true 

mvn install:install-file -Dfile=./dwr-3.0.jar -DgroupId=org.directwebremoting -DartifactId=dwr -Dversion=3.0 -Dpackaging=jar -DgeneratePom=true 

mvn install:install-file -Dfile=./jbpm-4.4.jar -DgroupId=org.jbpm.jbpm4 -DartifactId=jbpm -Dversion=4.4 -Dpackaging=jar -DgeneratePom=true 

mvn install:install-file -Dfile=./jbpm-jpdl-4.4.jar -DgroupId=org.jbpm.jbpm4 -DartifactId=jbpm-jpdl -Dversion=4.4 -Dpackaging=jar -DgeneratePom=true 

mvn install:install-file -Dfile=./jbpm-pvm-4.4.jar -DgroupId=org.jbpm.jbpm4 -DartifactId=jbpm-pvm -Dversion=4.4 -Dpackaging=jar -DgeneratePom=true 

mvn install:install-file -Dfile=./hqapi1-5.0.0.jar -DgroupId=org.hyperic.hq.hqapi -DartifactId=hqapi1 -Dversion=5.0.0 -Dpackaging=jar -DgeneratePom=true 

mvn install:install-file -Dfile=./hqapi1-tools-5.0.0.jar -DgroupId=org.hyperic.hq.hqapi.tools -DartifactId=hqapi1-tools -Dversion=5.0.0 -Dpackaging=jar -DgeneratePom=true 



Now its time to import the project into STS IDE and start working on the project.








Comments