cancel
Showing results for 
Search instead for 
Did you mean: 

favicon.ico - amp directory

joshjones
Champ in-the-making
Champ in-the-making
What amp directory should I use for my custom favicon.ico and is it meant to be in both share and alfresco?
2 REPLIES 2

douglascrp
World-Class Innovator
World-Class Innovator
You can put your favicon.ico into <your-project>/share-amp/src/main/amp/web

If you do so, remember to include the lines bellow into file-mapping.properties

include.default=true
/web=/

With this project structure, you will have to use the -force parameter when you are installing the amp file.

Not applicable
When using Alfresco SDK 2.0.0, it does not appear to be possible to replace ico files (in the definition of maven-resources-plugin in alfresco-sdk-parent/pom.xml, ico files are not listed as a nonFilteredFileExtension).

In Alfresco SDK 2.1, replacement of ico files appears to be permitted.

Upgrading to SDK 2.1 is one possible solution - the Alfresco document contains steps for how to do this (http://docs.alfresco.com/5.0/concepts/alfresco-sdk-upgrading-sdkversion-200-210.html).