how can i install alfresco-share-services in alfresco-platform use source code,cannot find any doc?

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

how can i install alfresco-share-services in alfresco-platform use source code,cannot find any doc?

Jump to solution

i get the code https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/here,and make http://localhost:8080/alfresco  run, but there is no "share" part, so how can i install alfresco-share-services ,so that the "share" part can get visible in the menu. the is question one .

another question ,i get share code https://svn.alfresco.com/repos/alfresco-open-mirror/web-apps/Share/,if question one is solved, how can i hold platform and share together ? just run "share" code on another server ?

if there is any document, tell me please .thank you!

1 Solution

Accepted Solutions
afaust
Master

Re: how can i install alfresco-share-services in alfresco-platform use source code,cannot find any doc?

Jump to solution

As Jan said, you do not need to build the Share Services AMP. It is available from https://artifacts.alfresco.com as a pre-built AMP.

"How to deploy to alfresco.war?" - Well, either use the Alfresco SDK as Jan suggested or use the alfresco-mmt.jar tool to install it manually. See the Alfresco documentation for details on installing an Alfresco Module Package.

View solution in original post

7 Replies
janv
Alfresco Employee

Re: how can i install alfresco-share-services in alfresco-platform use source code,cannot find any doc?

Jump to solution

Hi,

Do you really want to re-build from source ?

You may find it easier to use the Alfresco SDK initially, depending on what you're trying to do ...

Alfresco SDK 3.0 | Alfresco Documentation 

Otherwise, in answer to your question... you can run Share (share.war) & the Content Services Repository (alfresco.war) in separate Tomcat instances (or you can run in a single instance). Either way, you would also need to build the "Share Services" AMP (extension) and deploy to your "alfresco.war".  The trunk code is here:

alfresco-open-mirror - Revision 137931: /web-apps/Share/trunk/share-services 

However, in most cases you may wish to run a well-known tagged version of Share + Share Services AMP, for example:

alfresco-open-mirror - Revision 137931: /web-apps/Share/tags/5.2.e

alfresco-open-mirror - Revision 137931: /web-apps/Share/tags/5.2.e/share-services 

Regards,

Jan

vincentsun
Active Member

Re: how can i install alfresco-share-services in alfresco-platform use source code,cannot find any doc?

Jump to solution

thanks for your help, but the key problem is " how to build the "Share Services" AMP (extension) and deploy to "alfresco.war"." ?

afaust
Master

Re: how can i install alfresco-share-services in alfresco-platform use source code,cannot find any doc?

Jump to solution

As Jan said, you do not need to build the Share Services AMP. It is available from https://artifacts.alfresco.com as a pre-built AMP.

"How to deploy to alfresco.war?" - Well, either use the Alfresco SDK as Jan suggested or use the alfresco-mmt.jar tool to install it manually. See the Alfresco documentation for details on installing an Alfresco Module Package.

vincentsun
Active Member

Re: how can i install alfresco-share-services in alfresco-platform use source code,cannot find any doc?

Jump to solution

you are really so nice, thanks for your answer.  i have the last quesiton, with the share.war(https://svn.alfresco.com/repos/alfresco-open-mirror/web-apps/Share/). where can i use mysql db,such as alfresco.war can be configured in the alfresco-global.properties ?

vincentsun
Active Member

Re: how can i install alfresco-share-services in alfresco-platform use source code,cannot find any doc?

Jump to solution

any suggestions ?Axel Faust 

afaust
Master

Re: how can i install alfresco-share-services in alfresco-platform use source code,cannot find any doc?

Jump to solution

If you take a look at the architecture documentation, you should see that Share does not need a database.

vincentsun
Active Member

Re: how can i install alfresco-share-services in alfresco-platform use source code,cannot find any doc?

Jump to solution

thanks a lot.