cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing 4.2.f with AMP

bdmc
Champ in-the-making
Champ in-the-making
I have been trying to build an AMP file, using Maven and the 4.2.f SDK, with no apparent success.

Yes, when I do "maven install -Prun" I am able to access the system using "http://localhost:8080/share," but my changed logo image does not appear; I only see the default Alfresco Community logo.

I have been following "https://angelborroy.wordpress.com/2015/04/24/customizing-alfresco-for-demo-purposes/" as recommended, which is intended to customize the Login page, among other things, but none of those changes appear.

In the 4.2.f SDK AllInOne, I have tried adding the changed files shown in that article to both the "share" and "amp" sub-directories, with the same results.  I suspect that I should be doing this in the "amp" sub-directory, in any case.

Is this article intended for Alfresco 5, rather than 4, and the method for doing what I am attempting has changed?


Thank you,
Brian
2 REPLIES 2

gravitonian
Star Collaborator
Star Collaborator
Hi,

The 1.1.1 version of the Alfresco SDK does not come with a Share AMP module. So you would have to add one to the AIO project. Also, the Aikau stuff at the end of the article/blog is not relevant to 4.2.f as it only got Aikau code in menu and title.

I have created a new 1.1.1 SDK project with an extra Share AMP module and implemented the logo and footer customization according to the article. You can access here: https://github.com/gravitonian/all-in-one111-share-amp

bdmc
Champ in-the-making
Champ in-the-making
Martin,

I apologise for the long delay in responding to you.  I have been on the road, and other issues have seemed to take precedence.

Thank you very much for preparing this package for me.  I was using the article/blog as a starting point, but did not need, or want, the Aikau part, anyway.  There are certain customisations, such as Logo and E-Mail text, that we apply to the system every time that we re-install the WAR files, and would like to package those changes in an AMP to make the system easier to update.

I have been working on it today, and think that I am doing things correctly – I started with "mvn clean," and followed with "mvn install," but there is where things seem to break.

It is complaining that there are duplicate definitions of "org.apache.maven.plugins:maven-antrun-plugin" and "org.apache.maven.plugins:maven-resources-plugin." I found those in the solr pom file, ( which we don't need anyway, since we use Lucene ) but they appear to be independent.  One is in "run" and one — hmmm.  They have different "execution" sections, but at the plugin level, they do seem to be the same.  Can you have two different execution sections for the same plugin?  In other words, if I move the second execution section into the first plugin definition, would this work correctly?


Thank you,
Brian