Book Image

Alfresco 3 Cookbook

Book Image

Alfresco 3 Cookbook

Overview of this book

Alfresco is the renowned and multiple award winning open source Enterprise content management system which allows you to build, design, and implement your very own ECM solutions.You have read a number of tutorials, blogs, and books on Alfresco. Now you're in the real world, trying to use Alfresco, but you’re running into problems with it. This is the book you want. Packed full of solutions that can be instantly applied, this cookbook with its practical based recipes and minimal explanation meets that demand.This Alfresco 3 cookbook boasts a comprehensive selection of recipes covering everything from the basics to the advanced. The book has recipes for quickly installing Alfresco in Windows and Linux and helping you use custom content model, rules, and search. There is also a collection of recipes focused on creating Scripts, Freemarker templates, Web Scripts, and new workflow definitions. Steps to integrate Alfresco with other systems like MS-Office are also included. You will be able to use Alfresco’s File and Email servers. Finally, step-by-step recipes are presented to create an Alfresco build environment and compile the source code. This Alfresco 3 Cookbook is perfect for developers looking to start working on Alfresco quickly, gain complete understanding, write custom implementations, and achieve expertise very easily.
Table of Contents (21 chapters)
Alfresco 3 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Compiling and building Alfresco


Building Alfresco in the default source code necessarily means just running an Ant build script; given that we have prepared our environment properly and met all the prerequisites as desired, it is quite easy to build Alfresco.

Getting ready

Make sure you have properly installed all the prerequisites mentioned in the first recipe. Apart from the optional last step, you must install and configure the rest.

How to do it...

  1. 1. Let's check the deployed application in our Tomcat server. Assuming we have Tomcat installed in the E:\Alfresco Tomcat\apache-tomcat-6.0.18\ folder, the following screenshot shows the default webapps content:

  2. 2. Thus, you can see we have no web applications in the Tomcat server.

  3. 3. Now to build Alfresco open the Windows command prompt.

  4. 4. Move to the folder where the Alfresco source code is downloaded. In my case, I have downloaded the code in the E:\Alfresco Source folder.

  5. 5. Type command ant build-tomcat and press Enter.

  6. 6. Be patient now. If...