Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > BOOK: Professional Adobe Flex 3
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Adobe Flex 3
This is the forum to discuss the Wrox book Professional Adobe Flex 3 by Joseph Balderson, Peter Ent, Jun Heider, Todd Prekaski, Tom Sugden, Andrew Trice, David Hassoun, Joe Berkovitz ; ISBN: 978-0-470-22364-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Adobe Flex 3 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 Display Modes
  #1 (permalink)  
Old July 20th, 2009, 02:04 AM
Registered User
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CairngormStore - README file missing

Hi,

I'm trying to follow the CairgormStore example on Chapter 62. The book mentions that there is a README.txt file that specifies how to set up the project. However, that file is not found anywhere on the project.

I believe a build file (to generate the war file) is also missing.

Regards,
Khoa Tran
Reply With Quote
  #2 (permalink)  
Old July 24th, 2009, 07:46 PM
Joeflash's Avatar
Wrox Author
 
Join Date: May 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks very much for letting us know ktran. I'll get Tom Sugden to upload a fix to the repository ASAP.
__________________
Joseph Balderson, Lead Author, Adobe Professional Flex 3
Reply With Quote
  #3 (permalink)  
Old July 25th, 2009, 02:46 AM
Registered User
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Khoa,

My apologies for the missing file. The instructions that should have been in the README.txt file are below. There is no build file for this example, since the normal Flex Builder build process is used, together with the Servers view for deploying the web application. An alternative approach would be to create a new Blaze DS or LCDS project and copy the Flex and Java source into that if you prefer.

Please let me know if you have any further questions.

Best,
Tom

---

CairngormStore

1. Prerequisites

This project is a combined Flex and Java project, so it is recommended that
the Flex Builder plug-in is installed on-top of Eclipse for Java EE. You also
need an installation of BlazeDS (turnkey distibution recommended) and a
compatible application server, such as Apache Tomcat 5.5 to test the full
example project. Tomcat is included with the turnkey distribution of BlazeDS.

2. Building CairngormStore

The Flex src is contained in the flex_src directory, while the Java src is
contained in the src folder. In order to compile and deploy the project, you
also need to copy the libraries required for BlazeDS from the BlazeDS
distribution into the CairngormStore web application:

Copy the files from:

Code:
BlazeDS/tomcat/webapps/blazeds/WEB-INF/lib/
into:

Code:
CairngormStore/WebContent/WEB-INF/lib/
With these libraries in place, you should be able to build the project using
the normal Flex Builder process.

3. Deploying CairngormStore

When the project is built, a web-application is produced in the WebContent
folder. This folder can be deployed straight into an application server such as
Tomcat or JBoss. The most convenient way to do this is via the Servers view
included with Eclipse for JEE. Follow these steps:

1. Show the Servers view.
2. New > Server
3. Enter Server's hostname: localhost
4. Select server type, for example "Apache/Tomcat 5.5"
5. Enter server name, for example, "Tomcat 5.5 for CairngormStore"
6. If you have not added the server runtime previosly, follow these sub-steps:
6a. Click the Add button
6b. Browse to the server installation directory
6c. Click the Finish button
7. Click Next
8. Select CairngormStore from available projects
9. Click Add
10. Click Finish

4. Running CairngormStore

You can now start and stop the server shown in the Servers view using the
context menu. When the server is started the CairngormStore web-application
will be published. The CairngormStore can then be run by selecting the
CairngormStore.mxml application file and choosing "Run As > Flex Application"
from the context menu.

Last edited by tom.sugden; July 25th, 2009 at 02:56 AM.
Reply With Quote
  #4 (permalink)  
Old September 1st, 2012, 06:49 AM
Registered User
Points: 11, Level: 1
Points: 11, Level: 1 Points: 11, Level: 1 Points: 11, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nice post this is good advice i was also in searching for this problem and thinking to make a thread for this but now i have no need to make any thread because i get the solution....
Reply With Quote
Reply


Thread Tools
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
Readme file instructions - SQL Server 2005 j-parker BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 February 5th, 2007 10:05 AM
Need help please- missing a file !!! _fluffy_ BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 October 10th, 2006 10:58 AM
readme missing rocco50 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 September 8th, 2006 03:26 PM
missing .ocx file for DesignSchemes Jim Shores BOOK: Expert One-on-One Access Application Development 6 July 8th, 2004 06:50 PM
I'm missing the aspx file... lynchnco XSLT 1 March 22nd, 2004 06:40 PM



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


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