View Single Post
  #1 (permalink)  
Old June 28th, 2006, 10:50 AM
dleal dleal is offline
Registered User
 
Join Date: Oct 2005
Location: Madrid, M, Spain.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dleal Send a message via MSN to dleal Send a message via Yahoo to dleal
Default How to run the chapter 10 (acegi) sample code?

I have downloaded the sample code from Chapter 10, on the documentation is partially explained how to really invoke it.

When I try to run:
maven -Dusername=marissa -Dpassword=koala -Dcommand=findRecordsByDomainName -Ddomain=. run

 __ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2

BUILD FAILED
Goal "run" does not exist in this project.
Total time: 1 seconds
Finished at: Wed Jun 28 17:44:58 CEST 2006

so, the goal run is not defined!!! on project.xml (or its parent)

There is no other indication about how tu run this sample project. Also the sample introduce Maven, which make things more complicated than using Ant like on other samples (boxoffice).

Do we have to install by hand the database and run the script tables.sql, or just Maven does all this job when running?

Any way the run goal was not defined as you can see on the Maven output.

Thanks in advance,

David Leal

Reply With Quote