Ramzi, Use the below link to get the simulator up and running tests thereafter.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Validating+check-ins+for+your+local+changes%2C+using+Simulator Regards, Santhosh On Fri, Dec 19, 2014 at 11:00 PM, Ramzi Youssefi <ryouss...@gmail.com> wrote: > Hello everyone, > > Following this documentation: > http://docs.cloudstack.apache.org/en/latest/developer_guide.html I was > trying to simulate an infrastructure with the simulator but I get the > following error: > > > ryoussefi@callisto:~/Projects/cloudstack$ mvn -Pdeveloper,marvin.setup > -Dmarvin.config=setup/dev/basic.cfg -pl :cloud-marvin integration-test > [INFO] Scanning for projects... > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Apache CloudStack marvin 4.6.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ > cloud-marvin --- > [INFO] Starting audit... > Audit done. > > [INFO] > [INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin --- > [INFO] > [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin > --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ > cloud-marvin --- > [INFO] > [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ > cloud-marvin --- > [INFO] > [INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @ > cloud-marvin --- > Usage: deployAndRun.py [options] > > deployAndRun.py: error: no such option: -c > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 10.415s > [INFO] Finished at: Fri Dec 19 12:49:36 CET 2014 > [INFO] Final Memory: 42M/294M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on > project cloud-marvin: Command execution failed. Process exited with an > error: 2 (Exit value: 2) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > > > I have to say as well that the pip command > > pip install tools/marvin/dist/Marvin-4.6.0-SNAPSHOT.tar.gz > > was run with that compressed file and not with Marvin-0.1.0.tar.gz > > Thanks for your help! > > -- > Ramzi Youssefi > Görlitzer Str. 49 > 01099 Dresden, Germany. > Cell: +49 173 1965465 > Email: ryouss...@gmail.com