cancel
Showing results for 
Search instead for 
Did you mean: 

build community version 6.0 from source

ogatech
Champ on-the-rise
Champ on-the-rise

Hello,

I want to build community version 6.0 from source code : 

Including Activiti, Platform, Share, Repository etc. and Tomcat, MySQL Configuration

What is the best document to follow for the sequence of steps?

7 REPLIES 7

afaust
Legendary Innovator
Legendary Innovator
  • Locate the various source code repositories (generally found on GitHub either in the Alfresco or Activiti organisations)
  • Prepare your development environment based on any documentation that these projects may include
  • Use Git to checkout the source code
  • Figure out and switch to the correct branch / tag that you want to build (each project has its own versioning, there is no global "6.0" tag anywhere)
  • Use Maven (or another build tool if required by the specific project) to execute the build
  • Deploy, test and pray that you've done everything correctly

While being open source means you "can" technically build Alfresco from source, little effort has been put into making it an easy exercise, especially given how the various sub-projects have now been modularised. There is no step-by-step documentation anywhere for building the entire platform / portfolio, so you will have to figure out a couple of details yourself.

ogatech
Champ on-the-rise
Champ on-the-rise

dreadful scenario!!

It would be helpful to point out the git hub repositories from both these organizations which are needed for a browser based system(excluding mobile and api)

jpotts
World-Class Innovator
World-Class Innovator

I am curious as to why you feel you need to build from source.

ogatech
Champ on-the-rise
Champ on-the-rise

Thanks for asking Jeff. We need to learn and get some idea of complexity.

Otherwise, can we do some of our own customization without building from source?

jpotts
World-Class Innovator
World-Class Innovator

Yes, the best practice is to do customizations using the public extension points. This does not require you to build the Alfresco code at all. The easiest way to do this is via the Maven-based SDK. Here is a tutorial: Getting Started with the Alfresco Maven SDK | ECMArchitect | Alfresco Developer Tutorials 

ogatech
Champ on-the-rise
Champ on-the-rise

afaust
Legendary Innovator
Legendary Innovator

No - that blog post is not intended to build the entire Alfresco platform from source. It focuses primarily on extensions / custom installations.