Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > BOOK: Professional Java Development with the Spring Framework
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 28th, 2006, 10:50 AM
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
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:56 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.