build community version 6.0 from source

cancel
Showing results for 
Search instead for 
Did you mean: 
ogatech
Active Member

build community version 6.0 from source

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
afaust
Master

Re: build community version 6.0 from source

  • 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
Active Member

Re: build community version 6.0 from source

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)

ogatech
Active Member

Re: build community version 6.0 from source

afaust
Master

Re: build community version 6.0 from source

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

jpotts
Professional

Re: build community version 6.0 from source

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

ogatech
Active Member

Re: build community version 6.0 from source

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
Professional

Re: build community version 6.0 from source

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