parent:AlfrescoDev
Installing Alfresco
Installing Alfresco source code
Follow Alfresco's instructions to set up an Alfresco SVN Development Environment.
When I checked Alfresco out, it was r1427 (11 Jan 2008). Use something more recent than that.
I created a directory 'alfresco' in my Eclipse workspace, so when I was finished, I had workspace/alfresco/HEAD/root.
Starting Alfresco
Before you first try to run Alfresco, be sure to configure the repository location. But put that dev-context.xml file in Alfresco/HEAD/root/projects/repository/config/alfresco/extension - it will get copied from there to your tomcat deployment.
Also, you'll want to follow the notes on that page for giving Tomcat more memory. It will need it.
From the Alfresco/HEAD/root dir, use:
ant incremental-tomcat-exploded
and then just start Tomcat.
Actually, if you try this, you'll get an error web-framework-application-context.xml can't be found. You can either copy this into place from the Alfresco sources, or wait a few steps until we've patched the build file to correct this problem. There's no need to start Alfresco yet; it would just be nice to know that so far so good..
A lot of Alfresco logging is via commons-logging, so you'll want to configure that in your tomcat:
- Replace commons-logging-api.jar in bin.
- Create commons-logging.properties in common/classes
- Put commons-logging-1.1.1.jar in common/lib
- Put log4j in common/lib (and common/endorsed ?)
Finishing the install
I imported the first 9 projects into Eclipse in the order specified, from '3rd party' through to 'web-client'.
The build process I've been using uses Ant from the command line - I ignored the bit about running Ant from Eclipse.
