p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional Java Development with the Spring Framework (http://p2p.wrox.com/forumdisplay.php?f=181)
-   -   How to run the chapter 10 (acegi) sample code? (http://p2p.wrox.com/showthread.php?t=44594)

dleal June 28th, 2006 10:50 AM

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



All times are GMT -4. The time now is 04:04 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.