Wrox Programmer Forums
BOOK: Professional Java Development with the Spring Framework
This is the forum to discuss the Wrox book Professional Java Development with the Spring Framework by Rod Johnson, Juergen Hoeller, Alef Arendsen, Thomas Risberg, Colin Sampaleanu; ISBN: 9780764574832
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Java Development with the Spring Framework section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 28th, 2006, 10:50 AM
Registered User
Join Date: Oct 2005
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run the sample code rng BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 1 May 4th, 2007 05:18 PM
how to run sample code in book? younguser BOOK: Professional Web Parts and Custom Controls ASP.NET ISBN: 0-7645-7860-X 1 April 17th, 2006 06:06 AM
No joy making the downloaded sample code run RMagruder BOOK: ASP.NET Website Programming Problem-Design-Solution 3 February 5th, 2006 12:57 AM
Chapter 10 Sample Code jramkawsky BOOK: Professional Java Development with the Spring Framework 0 December 3rd, 2005 08:44 AM

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