In both case, you'll have to install Maven 2.
To do so, download latest Maven 2 release
and install it.
After installation, don't forget to set Maven variables (MAVEN_HOME and PATH).
To check the correct installation, type on command line : mvn --version
Follow theses steps to add SweetDEV RIA to your maven 2 project :
svn checkout https://svn.sourceforge.net/svnroot/sweetdev-ria/sweetdev-ria/trunk/global global,svn checkout https://svn.sourceforge.net/svnroot/sweetdev-ria/sweetdev-ria/trunk/sweetdev-ria-core sweetdev-ria-core,mvn clean install,
To built SweetDEV RIA, you have to check out all source files by using subversion :
svn checkout https://svn.sourceforge.net/svnroot/sweetdev-ria/sweetdev-ria/trunk sweetdev-ria
You have to download JBoss Application Server zip file
and unzip it.
Then, go into JBoss bin directory and launch it by run.bat on Windows or run.sh on Linux / MacOs system.
Then, go back to your sweetdev-ria directory and type : mvn clean install to launch the build process.
Specifics RIA's dependencies or plugins will be downloaded from our maven repository
.
After this step, each SweetDEV RIA project will be built.
Note that SweetDEV RIA Tests web application will be deployed on your JBoss server (by using JMX) to launch client side tests.
Maven will launch Internet Explorer and Firefox to play Selenium and JsUnit tests.
This assume you use Windows and have Firefox installed.
If not, you should install Firefox (in the default directory) or change browsers used for unit testing in last section on SweetDEV-RIA-tests/pom.xml.
Change this line according to your system configuration :
<browsersPath>C://Program Files/Internet Explorer/IEXPLORE.EXE;C://Program Files/Mozilla Firefox/firefox.exe</browsersPath>
The SweetDEV RIA Getting Started project can be directly launch by maven using cargo.
Maven will then download a web application server (Tomcat by default), launch it and deploy that web application.
To use this feature, type mvn clean install cargo:start.
By default, the web server will be downloaded in c:\\tmp\\appservers.
Depending on your needs, you will have to change that in SweetDEV-RIA-tests/pom.xml.
To stop the web server, hit control and c keys.
If you have any technical questions, please use forum to have some support.