Setup the environment
Updated environment setup script
Because new versions of the tools and frameworks we use in the examples keep coming, we decided to create an updated environment setup script. This updated script is a bit larger, because we removed the automatic downloads and switched to an offline mode, with all the tools and frameworks already downloaded. You can choose to download the whole environment at once, but notice this is quite a large file (around 410 mb). You can also choose to download the environment script and the tools and frameworks separately.
Download whole environment at once
Download environment in separate steps
If you want to download the book's environment script and the tools and frameworks separately, be sure to store the zip and jar files of the tools and frameworks in the work/downloads sub-directory of the extracted book's environment script install directory
ESBs
Tools
Libraries
Get your development environment installed
When you extracted the book's large environment script or downloaded the frameworks and tools individually to the work/downloads directory, you should have the following directory structure
Before executing the Ant build file, set the root directory where you want the environment script to execute. Open the prepareResources/prepare.properties file and change the installation.target property to the installation directory of the environment script. Note that you should use a forward slash (/) for both Windows (so c:/osesbinaction) as well as Linux/Unix systems. Also be sure to install Apache Ant 1.7 or later and add the bin directory to your environment path. Now execute the Ant build file from a command prompt, by just executing the ant command and the environment is being prepared for you
To get the Mule and ServiceMix projects loaded in Eclipse, you can choose to open an existing project and go to the workspace/mule-workspace or workspace/servicemix-workspace directory. There you will find respectively the mule and servicemix project, which you can directory load into Eclipse. The classpath is already set in the Ant script, so you are ready to go!
Only get the source code
The source code of the Mule and ServiceMix examples is also available via Google Code. We have a seperate code repository for the Mule and ServiceMix examples:
