Posted on Jun 10, 2008
I wanted to start playing with the new LiveCycle DS 2.6 functionality
and I wanted to integrate 2.6 with Coldfusion 8. What I found on Adobe
labs wasnt really clear enough to me on how to install 2.6 into CF
8.01, maybe it was just me but I like things explained fairly throughly in
terms of instructions. I found some good resources after googling last
night and decided I would just combine what I found on my blog for
others as a reference. So grab a beer, sit back and relax, because its
really easy to do if you know "exactly" what to do.
You can download the below instructions here as a PDF file.
Step 16: Unzip the Flex 3 Compiler Module for ColdFusion 8 ZIP file that you downloaded in Step 3 into the ColdFusion wwwroot directory (for standalone Windows in the default location, that is C:/ColdFusion8/wwwroot). Overwrite the existing files (which you have backed up)
Step 17: Copy the new "fds" SWC libraries from the lcds.war file (temp/lcds/WEB-INF/flex/libs) to the ColdFusion WEB-INF/flex/libs directory:
- Copy the temp/lcds/WEB-INF/flex/libs/fds.swc file to the ColdFusion8/wwwroot/WEB-INF/flex/libs directory.
- Copy the temp/lcds/WEB-INF/flex/libs/player/playerfds.swc file to the ColdFusion8/wwwroot/WEB-INF/flex/libs directory.
- Copy the temp/lcds/WEB-INF/flex/locale/en_US/fds_rb.swc file over the ColdFusion8/wwwroot/WEB-INF/flex/locale/en_US/fds_rb.swc file.
Step 18: Unzip the latest Flex 3 SDK in a new folder (create this folder) called 3.0.1.1732 in your Flex 3 SDK install directory. (Mine was: C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks)
Step 19: Open up Flex Builder 3 or Eclipse (if your using the plugin version). If compiling in Flex Builder you should update the SDK at least to revision 1173 that you already downloaded in Step 4. Now go to: Window > Preferences > Flex > Installed Flex SDKs and add the new extracted SDK and name it Flex 3.0.1.1732
Step 20: Restart ColdFusion.
Step 21: Write some code and test it, you can use the Flex Builder 3 Wizards to do something rather quickly. Just make sure you compile the Flex App using the new SDK we installed in Step 19.
If you want to revert back to LC DS 2.5 in CF 8 just open your backup and overwrite the 2.6 files, make sure you delete the three new Flex messaging files we added in Step 12 and to overwrite the cfgatewateyadapter.jar file with your backed up one. (Dont forget to shutdown CF first before you do any of this)
References:
http://labs.adobe.com/wiki/index.php/LiveCycle_Data_Services:Integrating_with_ColdFusion_8
http://www.adobe.com/support/coldfusion/downloads_updates.html
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3
http://labs.adobe.com/downloads/livecycle_dataservices2_6.html
http://www.onflexwithcf.org/index.cfm/ColdFusion
Loading comments...