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.
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:
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.